]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Minor fix in delete_port
authorSumit Naiksatam <snaiksat@cisco.com>
Mon, 29 Aug 2011 09:14:05 +0000 (02:14 -0700)
committerSumit Naiksatam <snaiksat@cisco.com>
Mon, 29 Aug 2011 09:14:05 +0000 (02:14 -0700)
quantum/plugins/cisco/ucs/cisco_ucs_inventory.py

index cf441af1ee705b58bc66876c6f7e6c33053a45e7..ccc409a2c723fd8617b60f6e7bb99f7be8d09408 100644 (file)
@@ -623,7 +623,6 @@ class UCSInventory(L2NetworkDeviceInventoryBase):
         port_id = args[2]
         rsvd_info = self._get_rsvd_blade_intf_by_port(tenant_id, port_id)
         if not rsvd_info:
-            raise exc.PortNotFound(net_id=net_id, port_id=port_id)
             LOG.warn("UCSInventory: Port not found: net_id: %s, port_id: %s" %
                      (net_id, port_id))
             return {const.DEVICE_IP: []}