Use neutron to create floating IPs. 89/36389/4
authorspisarski <s.pisarski@cablelabs.com>
Thu, 22 Jun 2017 18:43:09 +0000 (12:43 -0600)
committerspisarski <s.pisarski@cablelabs.com>
Thu, 22 Jun 2017 20:28:08 +0000 (14:28 -0600)
commitc7ba89444d160cb81656a49cb93416ee5013aa8f
tree0f46d74f98e17e256c3e1eb9a592c3bcc29044e8
parentdbfb9c4e94e500592a8b93f42b7b87230d0af311
Use neutron to create floating IPs.

This patch moves the floating IP creation out of nova and into neutron.
Other changes include the use of domain objects for VM and Floating IP
instances, addition of new nova_utils tests to exercise the create
server functionality, and more PEP8 compliance.

JIRA: SNAPS-92

Change-Id: I16c12b26b56008901633e90ae307586ad2045f9b
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
12 files changed:
requirements.txt
snaps/domain/test/vm_inst_tests.py [new file with mode: 0644]
snaps/domain/vm_inst.py [new file with mode: 0644]
snaps/openstack/create_instance.py
snaps/openstack/tests/create_instance_tests.py
snaps/openstack/tests/openstack_tests.py
snaps/openstack/utils/neutron_utils.py
snaps/openstack/utils/nova_utils.py
snaps/openstack/utils/tests/neutron_utils_tests.py
snaps/openstack/utils/tests/nova_utils_tests.py
snaps/provisioning/tests/ansible_utils_tests.py
snaps/test_suite_builder.py