Merge "Fail to boot vm in network with az-hint specified"
This commit is contained in:
@@ -84,6 +84,9 @@ class TricirclePlugin(plugin.Ml2Plugin):
|
|||||||
elif network_type == t_constants.NT_SHARED_VLAN:
|
elif network_type == t_constants.NT_SHARED_VLAN:
|
||||||
network['provider:network_type'] = 'vlan'
|
network['provider:network_type'] = 'vlan'
|
||||||
|
|
||||||
|
# remove az_hint from network
|
||||||
|
network.pop('availability_zone_hints', None)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _adapt_port_body_for_client(port):
|
def _adapt_port_body_for_client(port):
|
||||||
port.pop('port_security_enabled', None)
|
port.pop('port_security_enabled', None)
|
||||||
|
|||||||
Reference in New Issue
Block a user