Merge "Use value_specs for port_security_enabled flag"

This commit is contained in:
Jenkins 2015-10-14 00:07:08 +00:00 committed by Gerrit Code Review
commit 0773f4e1a1

View File

@ -152,7 +152,7 @@ class DeviceHeat(abstract_driver.DeviceAbstractDriver):
port_dict = { port_dict = {
'type': 'OS::Neutron::Port', 'type': 'OS::Neutron::Port',
'properties': { 'properties': {
'port_security_enabled': False 'value_specs': {'port_security_enabled': False}
} }
} }
port_dict['properties'].setdefault('fixed_ips', []) port_dict['properties'].setdefault('fixed_ips', [])