]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: do not raise on missing router during migration step
authorarmando-migliaccio <armamig@gmail.com>
Mon, 28 Apr 2014 21:18:06 +0000 (14:18 -0700)
committerArmando Migliaccio <armamig@gmail.com>
Mon, 19 May 2014 14:50:56 +0000 (14:50 +0000)
commit5e843850527ede7a56fcc24753f87c1e9e3e8bed
treea3e13c8e5c6ddd4186b69ee4a5bb4f9b1466b802
parentc6a567a3e56a78f892254546d11cbdb50aa4dfb5
NSX: do not raise on missing router during migration step

Return None for missing router rather raising NotFound exception;
this is what the client code was expected to handle in the first
place.

Closes-bug: 1313918

Change-Id: I573770a69d0170b027fc990c29aaa87b1fc8eccc
neutron/plugins/vmware/dhcp_meta/migration.py
neutron/tests/unit/vmware/test_dhcpmeta.py