Mac learning extension description

Change-Id: Id6a129a18bcd12af5d5580860d9e9cf57a9fdbb8
This commit is contained in:
Mykola Yakovliev 2018-07-18 14:53:57 -05:00 committed by Mykola Yakovliev
parent 05392ceffb
commit baf4789b14
3 changed files with 37 additions and 0 deletions

View File

@ -609,6 +609,13 @@ mac_address-query:
in: query
required: false
type: string
mac_learning_enabled-query:
description: |
Filter the list result by the mac_learning_enabled state of the resource,
which is enabled (``true``) or disabled (``false``).
in: query
required: false
type: boolean
max_burst_kbps-query:
description: |
Filter the list result by the maximum burst size (in kilobits).
@ -3569,6 +3576,20 @@ mac_address-request-put:
in: body
required: false
type: string
mac_learning_enabled:
description: |
A boolean value that indicates if MAC Learning is enabled on the
associated port.
in: body
required: false
type: boolean
mac_learning_enabled-request:
description: |
A boolean value that indicates if MAC Learning is enabled on the
associated port.
in: body
required: false
type: boolean
max_burst_kbps:
description: |
The maximum burst size (in kilobits). Default is ``0``.

View File

@ -117,6 +117,12 @@ The ``standard-attr-tag`` adds Tag support for resources with
standard attributes by adding the ``tags`` attribute
allowing consumers to associate tags with resources.
Mac learning extension
======================
The ``mac_learning_enabled`` extension extends neutron ports providing the
ability to enable MAC learning on the associated port via the
```mac_learning_enabled``` attribute.
Show port details
=================
@ -180,6 +186,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- mac_learning_enabled: mac_learning_enabled
Response Example
----------------
@ -250,6 +257,7 @@ Request
- port_security_enabled: port_security_enabled-request
- qos_policy_id: qos_policy_id-port-request
- security_groups: port-security_groups-request
- mac_learning_enabled: mac_learning_enabled-request
Request Example
---------------
@ -300,6 +308,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- mac_learning_enabled: mac_learning_enabled
Response Example
----------------
@ -393,6 +402,7 @@ Request
- not-tags: not-tags-query
- not-tags-any: not-tags-any-query
- fields: fields
- mac_learning_enabled: mac_learning_enabled-query
Response Parameters
-------------------
@ -431,6 +441,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- mac_learning_enabled: mac_learning_enabled
Response Example
----------------
@ -485,6 +496,7 @@ Request
- security_groups: port-security_groups-request
- tags: tags
- tenant_id: project_id-request
- mac_learning_enabled: mac_learning_enabled-request
Request Example
---------------
@ -535,6 +547,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- mac_learning_enabled: mac_learning_enabled
Response Example
----------------
@ -587,6 +600,7 @@ Request
- qos_policy_id: qos_policy_id-port-request
- security_groups: port-security_groups-request
- tenant_id: project_id-request
- mac_learning_enabled: mac_learning_enabled-request
Request Example
---------------
@ -631,6 +645,7 @@ Response Parameters
- tags: tags
- tenant_id: project_id
- updated_at: updated_at_resource
- mac_learning_enabled: mac_learning_enabled
Response Example
----------------

View File

@ -38,6 +38,7 @@
"id": "46d4bfb9-b26e-41f3-bd2e-e6dcc1ccedb2",
"ip_allocation": "immediate",
"mac_address": "fa:16:3e:23:fd:d7",
"mac_learning_enabled": false,
"name": "",
"network_id": "a87cc70a-3e15-4acf-8205-9b711a3531b7",
"port_security_enabled": false,