]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Raise exception for network delete with subnets presents
authorMarga Millet <millet@cisco.com>
Fri, 1 Aug 2014 17:41:45 +0000 (10:41 -0700)
committerMarga Millet <millet@cisco.com>
Tue, 12 Aug 2014 19:03:31 +0000 (12:03 -0700)
commit89fb8b633b1ae34d0b56d73ee115462f4acc9540
treede2122626813d6e524d830d4fc817307966420eb
parentbce9d2483fa0db5c7581c5f2bc759eb20fd42882
Raise exception for network delete with subnets presents

N1kv plugin should raise an exception during network delete
if there is a subnet that is tied to that network.

Changed the order of the Assert arguments since now it's encoraged to have <expected_value, actual_value> now.

Change-Id: I92f177af0e2a2fbc460e0d668989ce590b7d1cb2
Closes-Bug: 1336107
neutron/plugins/cisco/n1kv/n1kv_neutron_plugin.py
neutron/tests/unit/cisco/n1kv/test_n1kv_plugin.py