]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NVP plugin: return 409 if wrong router interface info on remove
authorSalvatore Orlando <salv.orlando@gmail.com>
Sat, 9 Mar 2013 00:30:39 +0000 (01:30 +0100)
committerSalvatore Orlando <salv.orlando@gmail.com>
Sat, 9 Mar 2013 00:30:39 +0000 (01:30 +0100)
commit4cf7deb940ea02042e6d95ca48cb250230969e4c
tree2b02fae79653acca229a642d200b32534fc638dd
parent6bb31ed9f1a9291b9940473ebafb338f96ab3b84
NVP plugin: return 409 if wrong router interface info on remove

Bug 1152167

Raise an exception causing a 409 error to be returned if port_id or
subnet_id specified in request body do not exist before further
processing the operation (which will cause a 500 error to be
returned to the user)

Change-Id: I347dd86da87ce5b1e57e139e4c21d4533a456cbc
quantum/plugins/nicira/nicira_nvp_plugin/QuantumPlugin.py