NSXv3: Fix a package import
Change-Id: I139aa07db70c1ab17e00d94387347dce5621d978
This commit is contained in:
parent
381cc6b0b8
commit
3ec59dfaf6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue