From 054f0a16db6057f0d40dca7262dd537a9a68de6a Mon Sep 17 00:00:00 2001 From: Shih-Hao Li Date: Thu, 17 Nov 2016 14:01:49 -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 069bfe068c..4006af1e63 100644 --- a/vmware_nsx/shell/admin/plugins/nsxv3/resources/networks.py +++ b/vmware_nsx/shell/admin/plugins/nsxv3/resources/networks.py @@ -20,6 +20,7 @@ from vmware_nsx.db import db as nsx_db 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 vmware_nsxlib.v3 import exceptions as nsx_exc @@ -54,7 +55,7 @@ def list_missing_networks(resource, event, trigger, **kwargs): pass else: try: - admin_utils.get_connected_nsxlib().logical_switch.get(nsx_id) + utils.get_connected_nsxlib().logical_switch.get(nsx_id) except nsx_exc.ResourceNotFound: networks.append({'name': net['name'], 'neutron_id': neutron_id,