NSX|V3: admin utility get ports to skip Qos read

The extend for the Qos causes an exception. This is not needed when
reading from the admin utility.

Change-Id: If732494921cc1d94ed91968b105668dd04cda36f
This commit is contained in:
Gary Kotton 2017-07-16 09:59:12 +03:00
parent 0ac0c85ae7
commit 382fc397fe
1 changed files with 5 additions and 0 deletions

View File

@ -120,6 +120,11 @@ class NsxV3PluginWrapper(plugin.NsxV3Plugin):
# skip getting the Qos policy ID because get_object calls
# plugin init again on admin-util environment
def _extend_get_port_dict_binding(self, context, port):
self._extend_port_dict_binding(context, port)
# skip getting the Qos policy ID because get_object calls
# plugin init again on admin-util environment
def delete_network(self, network_id):
return super(NsxV3PluginWrapper, self).delete_network(
self.context, network_id)