Removing all references to validate_gateway_excluded

Why? RM9134. We've decided to follow upstream's example
and allow gateway_ip for subnets to exist inside of the
allocation pool.
This commit is contained in:
insequent
2014-09-18 04:47:13 +00:00
parent 56964584f8
commit 8c61076a2d
7 changed files with 0 additions and 85 deletions

View File

@@ -124,17 +124,6 @@ class TestQuarkCreateRoutes(test_quark_plugin.TestQuarkPlugin):
self.plugin.create_route(self.context,
dict(route=create_route))
def test_create_route_gateway_conflict_raises(self):
subnet = dict(id=2, ip_policy=[], cidr="192.168.0.0/24")
create_route = dict(id=1, cidr="192.168.0.0/24", gateway="192.168.0.1",
subnet_id=subnet["id"])
with self._stubs(create_route=create_route, find_routes=[],
subnet=subnet):
with self.assertRaises(
exceptions.GatewayConflictWithAllocationPools):
self.plugin.create_route(self.context,
dict(route=create_route))
def test_create_route_no_gateway_raises(self):
subnet = dict(id=2, ip_policy=[], cidr="192.168.0.0/24")
create_route = dict(id=1, cidr="192.168.0.0/24",