Merge "added support for binding:profile parameter in create_port/update_port"

This commit is contained in:
Zuul 2019-03-19 14:57:24 +00:00 committed by Gerrit Code Review
commit d43b552f7d
1 changed files with 3 additions and 2 deletions

View File

@ -7857,7 +7857,7 @@ class _OpenStackCloudMixin(_normalize.Normalizer):
'subnet_id', 'ip_address', 'security_groups',
'allowed_address_pairs', 'extra_dhcp_opts',
'device_owner', 'device_id', 'binding:vnic_type',
'port_security_enabled')
'binding:profile', 'port_security_enabled')
def create_port(self, network_id, **kwargs):
"""Create a port
@ -7925,7 +7925,8 @@ class _OpenStackCloudMixin(_normalize.Normalizer):
@_utils.valid_kwargs('name', 'admin_state_up', 'fixed_ips',
'security_groups', 'allowed_address_pairs',
'extra_dhcp_opts', 'device_owner', 'device_id',
'binding:vnic_type', 'port_security_enabled')
'binding:vnic_type', 'binding:profile',
'port_security_enabled')
def update_port(self, name_or_id, **kwargs):
"""Update a port