From 3ec59dfaf650e2c3773f41b30b8495dc2eac6c60 Mon Sep 17 00:00:00 2001 From: Shih-Hao Li Date: Thu, 17 Nov 2016 14:57:12 -0800 Subject: [PATCH] NSXv3: Fix a package import Change-Id: I139aa07db70c1ab17e00d94387347dce5621d978 --- vmware_nsx/shell/admin/plugins/nsxv3/resources/networks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vmware_nsx/shell/admin/plugins/nsxv3/resources/networks.py b/vmware_nsx/shell/admin/plugins/nsxv3/resources/networks.py index 87f3ca99ff..0d197c6b68 100644 --- a/vmware_nsx/shell/admin/plugins/nsxv3/resources/networks.py +++ b/vmware_nsx/shell/admin/plugins/nsxv3/resources/networks.py @@ -21,6 +21,7 @@ from vmware_nsx.nsxlib.v3 import exceptions as nsx_exc from vmware_nsx.shell.admin.plugins.common import constants from vmware_nsx.shell.admin.plugins.common import formatters from vmware_nsx.shell.admin.plugins.common import utils as admin_utils +from vmware_nsx.shell.admin.plugins.nsxv3.resources import utils from vmware_nsx.shell import resources as shell from neutron.callbacks import registry @@ -54,7 +55,7 @@ def list_missing_networks(resource, event, trigger, **kwargs): pass else: try: - admin_utils.get_connected_nsxlib().get_logical_switch(nsx_id) + utils.get_connected_nsxlib().get_logical_switch(nsx_id) except nsx_exc.ResourceNotFound: networks.append({'name': net['name'], 'neutron_id': neutron_id,