Merge "api-ref: Add port-resource-request extension"
This commit is contained in:
commit
61e2a98ed0
|
@ -4257,6 +4257,17 @@ port:
|
|||
in: body
|
||||
required: true
|
||||
type: object
|
||||
port-resource:
|
||||
description: |
|
||||
Expose Placement resources (i.e.: ``minimum-bandwidth``) and
|
||||
traits (i.e.: ``vnic-type``, ``physnet``) requested by a port to
|
||||
Nova and Placement. A ``resource_request`` object contains a
|
||||
``required`` key for the traits (generated from the ``vnic_type``
|
||||
and the ``physnet``) required by the port, and a ``resources`` key
|
||||
for ``ingress`` and ``egress minimum-bandwidth`` need for the port.
|
||||
in: body
|
||||
required: false
|
||||
type: object
|
||||
port-security_groups:
|
||||
description: |
|
||||
The IDs of security groups applied to the port.
|
||||
|
|
|
@ -80,6 +80,13 @@ The extension defines several attributes whose names have a prefix
|
|||
``binding:`` including ``binding:host_id``, ``binding:vnic_type``,
|
||||
``binding:vif_type``, ``binding:vif_details``, and ``binding:profile``.
|
||||
|
||||
Port resource request
|
||||
=====================
|
||||
|
||||
The port resource request extension (``port-resource-request``) allows
|
||||
administrative users (including Nova) to retrieve the Placement resources and
|
||||
traits needed by a port by introducing the ``resource_request`` to ``port`` resources.
|
||||
|
||||
Port security
|
||||
=============
|
||||
|
||||
|
@ -181,6 +188,7 @@ Response Parameters
|
|||
- project_id: project_id
|
||||
- revision_number: revision_number
|
||||
- qos_policy_id: qos_policy_id-port-response
|
||||
- resource_request: port-resource
|
||||
- security_groups: port-security_groups
|
||||
- status: port-status
|
||||
- tags: tags
|
||||
|
@ -303,6 +311,7 @@ Response Parameters
|
|||
- project_id: project_id
|
||||
- revision_number: revision_number
|
||||
- qos_policy_id: qos_policy_id-port-response
|
||||
- resource_request: port-resource
|
||||
- security_groups: port-security_groups
|
||||
- status: port-status
|
||||
- tags: tags
|
||||
|
@ -436,6 +445,7 @@ Response Parameters
|
|||
- project_id: project_id
|
||||
- revision_number: revision_number
|
||||
- qos_policy_id: qos_policy_id-port-response
|
||||
- resource_request: port-resource
|
||||
- security_groups: port-security_groups
|
||||
- status: port-status
|
||||
- tags: tags
|
||||
|
@ -542,6 +552,7 @@ Response Parameters
|
|||
- project_id: project_id
|
||||
- revision_number: revision_number
|
||||
- qos_policy_id: qos_policy_id-port-response
|
||||
- resource_request: port-resource
|
||||
- security_groups: port-security_groups
|
||||
- status: port-status
|
||||
- tags: tags
|
||||
|
|
|
@ -60,6 +60,10 @@
|
|||
"tenant_id": "d6700c0c9ffa4f1cb322cd4a1f3906fa",
|
||||
"updated_at": "2016-03-08T20:19:41",
|
||||
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
|
||||
"port_security_enabled": true
|
||||
"port_security_enabled": true,
|
||||
"resource_request": {
|
||||
"required": ["CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
|
||||
"resources": {"NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND": 1000}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,6 +49,10 @@
|
|||
"tags": ["tag1,tag2"],
|
||||
"tenant_id": "7e02058126cc4950b75f9970368ba177",
|
||||
"updated_at": "2016-03-08T20:19:41",
|
||||
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae"
|
||||
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
|
||||
"resource_request": {
|
||||
"required": ["CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
|
||||
"resources": {"NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND": 1000}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -47,6 +47,10 @@
|
|||
"tenant_id": "522eda8d23124b25bf03fe44f1986b74",
|
||||
"updated_at": "2016-03-08T20:19:41",
|
||||
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
|
||||
"port_security_enabled": false
|
||||
"port_security_enabled": false,
|
||||
"resource_request": {
|
||||
"required": ["CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
|
||||
"resources": {"NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND": 1000}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,6 +43,10 @@
|
|||
"tenant_id": "",
|
||||
"updated_at": "2016-03-08T20:19:41",
|
||||
"qos_policy_id": "29d5e02e-d5ab-4929-bee4-4a9fc12e22ae",
|
||||
"resource_request": {
|
||||
"required": ["CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
|
||||
"resources": {"NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND": 1000}
|
||||
},
|
||||
"tags": ["tag1,tag2"],
|
||||
"tenant_id": ""
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue