diff options
author | Steven Pisarski <s.pisarski@cablelabs.com> | 2017-07-25 13:22:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-07-25 13:22:36 +0000 |
commit | 63ee8af859678fdf7b82225d5bf40bddef90c0b3 (patch) | |
tree | df2420bdd10fe8347c2dbb57680eeae374588803 | |
parent | d336b42e1476f05dedad3f6e6653f73987154c87 (diff) | |
parent | 98e6113ce22c22808da9c68c8d3fdc3bc9a7c374 (diff) |
Merge "Added validation router is attached to the external network."
-rw-r--r-- | snaps/openstack/utils/tests/neutron_utils_tests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/snaps/openstack/utils/tests/neutron_utils_tests.py b/snaps/openstack/utils/tests/neutron_utils_tests.py index e0e68f6..82bb42e 100644 --- a/snaps/openstack/utils/tests/neutron_utils_tests.py +++ b/snaps/openstack/utils/tests/neutron_utils_tests.py @@ -318,7 +318,10 @@ class NeutronUtilsRouterTests(OSComponentTestCase): self.neutron, self.os_creds, self.net_config.router_settings) validate_router(self.neutron, self.net_config.router_settings.name, True) - # TODO - Add validation that the router gatway has been set + + ext_net = neutron_utils.get_network(self.neutron, self.ext_net_name) + self.assertEqual( + self.router.external_gateway_info['network_id'], ext_net.id) def test_create_router_empty_name(self): """ |