Fixed bug with regards to subnet lookups. 17/55917/6
authorspisarski <s.pisarski@cablelabs.com>
Tue, 17 Apr 2018 14:24:18 +0000 (08:24 -0600)
committerspisarski <s.pisarski@cablelabs.com>
Thu, 19 Apr 2018 21:20:51 +0000 (15:20 -0600)
commitf65dbaef830fe7121173fdb83e5e4dde09b11a8a
treefa2c1a7bdc5fdc10b28c8ba722ff324267e9444a
parentbd658dbe250e93a9fa4405b99ecdb2ad1a7029b6
Fixed bug with regards to subnet lookups.
Neutron returns all subnets regardless of visibility which cause problems
within routers if there is another subnet with the same name attached to
a different network.

JIRA: SNAPS-304

In addition, this patch contains two other minor fixes.
  launch_utils.py - raise an exception when the creator is not properly instantiated
  network.py - allow fixed IPs to be none.

Change-Id: Ib343074d925be4592a713727a03d5b531890eada
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
21 files changed:
examples/complex-network/deploy-complex-network.yaml
examples/external-network/deploy-ext-net.yaml
examples/inst-w-volume/deploy-vm-with-volume.yaml
examples/simple/deploy-simple.yaml
examples/two-network/deploy-two-net-centos.yaml
examples/two-network/deploy-two-net-ubuntu.yaml
snaps/config/network.py
snaps/config/router.py
snaps/config/tests/router_tests.py
snaps/openstack/create_instance.py
snaps/openstack/create_router.py
snaps/openstack/tests/create_instance_tests.py
snaps/openstack/tests/create_network_tests.py
snaps/openstack/tests/create_stack_tests.py
snaps/openstack/tests/openstack_tests.py
snaps/openstack/utils/launch_utils.py
snaps/openstack/utils/neutron_utils.py
snaps/openstack/utils/tests/neutron_utils_tests.py
snaps/openstack/utils/tests/nova_utils_tests.py
snaps/openstack/utils/tests/settings_utils_tests.py
snaps/provisioning/tests/ansible_utils_tests.py