
Add a new shim API extension definition called port-resource-request-groups. This extension indicates that Neutron supports the new format of resource_request, that allows to request multiple groups of resources and traits from the same RP subtree. Related-Bug: #1922237 See-Also: https://review.opendev.org/785236 Change-Id: Idbfa3998930374b8de1e65d586ab54f85707c713
22 lines
637 B
JSON
22 lines
637 B
JSON
{
|
|
"request_groups": [
|
|
{
|
|
"id": "1e4f3958-c0c9-4dec-82fa-ed2dc1c5cb34",
|
|
"required": ["CUSTOM_VNIC_TYPE_NORMAL"],
|
|
"resources": {
|
|
"NET_PACKET_RATE_KILOPACKET_PER_SEC": 1000
|
|
}
|
|
},
|
|
{
|
|
"id": "b20bb47f-5d6d-45a6-8fe7-2c1b44f0db73",
|
|
"required": ["CUSTOM_PHYSNET_PUBLIC", "CUSTOM_VNIC_TYPE_NORMAL"],
|
|
"resources": {
|
|
"NET_BW_EGR_KILOBIT_PER_SEC": 2000
|
|
}
|
|
}
|
|
],
|
|
"same_subtree": [
|
|
"1e4f3958-c0c9-4dec-82fa-ed2dc1c5cb34",
|
|
"b20bb47f-5d6d-45a6-8fe7-2c1b44f0db73"
|
|
]
|
|
} |