Fixed bug with regards to subnet lookups. 91/56091/1 opnfv-6.0.0 opnfv-6.1.0
authorspisarski <s.pisarski@cablelabs.com>
Tue, 17 Apr 2018 14:24:18 +0000 (08:24 -0600)
committerSteven Pisarski <s.pisarski@cablelabs.com>
Thu, 19 Apr 2018 22:08:39 +0000 (22:08 +0000)
commit4edc3d87392cf78c3f046217543fb76380413306
treeb138f146044ca1ff457ff25ac065bbdaeda6d320
parent844c049771c5b66eb7bd77e6f18f321674689d54
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