NSX: Fix router-interface-delete returns 404 when router not in nsx
Previously, if one would run router-interface-delete and the router
was not found in NSX. Neutron would raise a 404 error and remove the interface
from the database. In this case it would be better if we did not raise
a 404 error as the caller shouldn't be aware that the backend is out of sync.
Reviewed: https:/ /review. openstack. org/80177 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=c57f1132122 0a21af10d884c87 ab989dc7dc2e69
Committed: https:/
Submitter: Jenkins
Branch: master
commit c57f11321220a21 af10d884c87ab98 9dc7dc2e69
Author: Aaron Rosen <email address hidden>
Date: Wed Mar 12 22:22:53 2014 -0700
NSX: Fix router- interface- delete returns 404 when router not in nsx
Previously, if one would run router- interface- delete and the router
was not found in NSX. Neutron would raise a 404 error and remove the interface
from the database. In this case it would be better if we did not raise
a 404 error as the caller shouldn't be aware that the backend is out of sync.
Closes-bug: #1291690
Change-Id: I2400f8b31817e6 dd4bc8aa08f07e1 613fc2deeae