Enhancements to the SNAPS orchestrator/launcher 45/49745/1
authorspisarski <s.pisarski@cablelabs.com>
Thu, 28 Dec 2017 23:09:48 +0000 (16:09 -0700)
committerspisarski <s.pisarski@cablelabs.com>
Thu, 28 Dec 2017 23:09:48 +0000 (16:09 -0700)
commitfd6271827bbd82fca4b5b7939da404809e82ae64
tree2ff8736aa7423e98225b322db51f5d116e62ceb7
parent58ae4e51e160ee243e2761e5bdaf42508d6097dc
Enhancements to the SNAPS orchestrator/launcher

Added support for more Ansible substitution values extracted
from OpenStack instances (i.e. subnet broadcast address, router
external IP for gateway configuration, CIDR IP, netmask, etc.)

Removed most try/except blocks to ensure processing does not
continue when a problem should arise

Added the ability to know when cloud-init has completed

Removed nic configuration from OpenStackVmInstance as userdata/
cloud-init/cloud-config should be performing that functionality

Fixed some logging messages

Misc launcher bug fixes

Change-Id: I73e7607ee158cce3d16f9c1c1fc7c32ef5899a1d
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
19 files changed:
docs/how-to-use/IntegrationTests.rst
examples/launch.py
snaps/openstack/create_flavor.py
snaps/openstack/create_image.py
snaps/openstack/create_instance.py
snaps/openstack/tests/create_instance_tests.py
snaps/openstack/tests/openstack_tests.py
snaps/openstack/utils/launch_utils.py [new file with mode: 0644]
snaps/provisioning/ansible_pb/__init__.py [deleted file]
snaps/provisioning/ansible_pb/centos-network-setup/__init__.py [deleted file]
snaps/provisioning/ansible_pb/centos-network-setup/playbooks/__init__.py [deleted file]
snaps/provisioning/ansible_pb/centos-network-setup/playbooks/configure_host.yml [deleted file]
snaps/provisioning/ansible_pb/centos-network-setup/templates/ifcfg-interface [deleted file]
snaps/provisioning/ansible_pb/ubuntu-network-setup/__init__.py [deleted file]
snaps/provisioning/ansible_pb/ubuntu-network-setup/playbooks/__init__.py [deleted file]
snaps/provisioning/ansible_pb/ubuntu-network-setup/playbooks/configure_host.yml [deleted file]
snaps/provisioning/ansible_pb/ubuntu-network-setup/templates/ethN.cfg [deleted file]
snaps/provisioning/tests/ansible_utils_tests.py
snaps/test_suite_builder.py