NSX|V3: fix trunk initialization

The following broke the driver:
1. Commit 20097d44bf686c74c3dea236b730af51162f9408
2. Commit baef191d1f

Now the service plugin successfully starts!

A Fugato!

Change-Id: I0d2e2c6bf9e2d2d07abe6c86716db174693d1262
This commit is contained in:
Gary Kotton 2017-06-26 03:56:10 -07:00
parent 659ea71520
commit 75128cb2b7
2 changed files with 2 additions and 1 deletions

View File

@ -17,4 +17,4 @@
VIF_TYPE_DVS = 'dvs'
# NSXv3 CORE PLUGIN PATH
VMWARE_NSX_V3_PLUGIN_NAME = 'vmware_nsx.plugin.NsxV3Plugin'
VMWARE_NSX_V3_PLUGIN_NAME = 'vmware_nsxv3'

View File

@ -173,6 +173,7 @@ class NsxV3TrunkDriver(base.DriverBase):
SUPPORTED_SEGMENTATION_TYPES,
agent_type=None, can_trunk_bound_port=False)
@registry.receives(trunk_consts.TRUNK_PLUGIN, [events.AFTER_INIT])
def register(self, resource, event, trigger, **kwargs):
super(NsxV3TrunkDriver, self).register(
resource, event, trigger, **kwargs)