]> 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)
committerThomas Goirand <thomas@goirand.fr>
Mon, 9 Jun 2014 15:06:55 +0000 (23:06 +0800)
commit1ef65cea7b15357eba5a03dcbe9bdf44a2679b46
tree8384c53c42216730264730c408c835b30fe9585a
parentb035fa6538e945cd19d2c9d5eb85cb01c0b4d42f
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
(cherry picked from commit 5e843850527ede7a56fcc24753f87c1e9e3e8bed)
neutron/plugins/vmware/dhcp_meta/migration.py
neutron/tests/unit/vmware/test_dhcpmeta.py