Merge "Add "hardware_offload_type" attribute to "port""
This commit is contained in:
commit
8b92fed92a
@ -112,6 +112,9 @@ class Port(_base.NetworkResource, tag.TagMixin):
|
||||
extra_dhcp_opts = resource.Body('extra_dhcp_opts', type=list)
|
||||
#: IP addresses for the port. Includes the IP address and subnet ID.
|
||||
fixed_ips = resource.Body('fixed_ips', type=list)
|
||||
#: The type of hardware offload this port will request when attached to the
|
||||
# network backend.
|
||||
hardware_offload_type = resource.Body('hardware_offload_type')
|
||||
#: Read-only. The ip_allocation indicates when ports use deferred,
|
||||
# immediate or no IP allocation.
|
||||
ip_allocation = resource.Body('ip_allocation')
|
||||
|
@ -34,6 +34,7 @@ EXAMPLE = {
|
||||
'dns_name': '12',
|
||||
'extra_dhcp_opts': [{'13': 13}],
|
||||
'fixed_ips': [{'14': '14'}],
|
||||
'hardware_offload_type': None,
|
||||
'id': IDENTIFIER,
|
||||
'ip_allocation': 'immediate',
|
||||
'mac_address': '16',
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Add ``hardware_offload_type`` attribute to ``port`` resource. Users
|
||||
can set this attribute to a valid value defined in
|
||||
``neutron_lib.constants.VALID_HWOL_TYPES``, set "None" or leave it
|
||||
undefined.
|
Loading…
Reference in New Issue
Block a user