NSX-V3 Add vlan transparent warnings on init
Plugin init should not fail in case vlan transparent is configured while not supported by the backend. Issue a warning instead. Change-Id: Ie91d581ef74f2b8f9e8014c36d520b106aab3e9b
This commit is contained in:
parent
527eca9f73
commit
28c87c28f9
@ -301,9 +301,8 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
|||||||
if self.nsxlib.feature_supported(nsxlib_consts.FEATURE_TRUNK_VLAN):
|
if self.nsxlib.feature_supported(nsxlib_consts.FEATURE_TRUNK_VLAN):
|
||||||
self.supported_extension_aliases.append("vlan-transparent")
|
self.supported_extension_aliases.append("vlan-transparent")
|
||||||
else:
|
else:
|
||||||
raise NotImplementedError(
|
LOG.warning("Current NSX version %s doesn't support "
|
||||||
_("Current NSX version %s doesn't support "
|
"transparent vlans", self.nsxlib.get_version())
|
||||||
"transparent vlans") % self.nsxlib.get_version())
|
|
||||||
|
|
||||||
# Register NSXv3 trunk driver to support trunk extensions
|
# Register NSXv3 trunk driver to support trunk extensions
|
||||||
self.trunk_driver = trunk_driver.NsxV3TrunkDriver.create(self)
|
self.trunk_driver = trunk_driver.NsxV3TrunkDriver.create(self)
|
||||||
|
Loading…
Reference in New Issue
Block a user