NSX|V3: improve trandparent VLAN support
The NSX currently does not support trunking for DHCP and metadata ports. When a network and subnet are create we will not create these if transparent VLAN is set on the network. Change-Id: I7f8c4c81ba5074c58e61d31b08e0af66ef43accb
This commit is contained in:
parent
5ef3c29977
commit
8965202777
@ -1015,6 +1015,12 @@ class NsxV3Plugin(agentschedulers_db.AZDhcpAgentSchedulerDbMixin,
|
||||
nsx_id)
|
||||
|
||||
def _is_ddi_supported_on_network(self, context, network_id):
|
||||
# NSX current does not support transparent VLAN ports for
|
||||
# DHCP and metadata
|
||||
if cfg.CONF.vlan_transparent:
|
||||
net = self.get_network(context, network_id)
|
||||
if net.get('vlan_transparent') is True:
|
||||
return False
|
||||
return (self.nsxlib.feature_supported(
|
||||
nsxlib_consts.FEATURE_VLAN_ROUTER_INTERFACE) or
|
||||
self._is_overlay_network(context, network_id))
|
||||
|
Loading…
x
Reference in New Issue
Block a user