Browse Source

Adapt to changed resource class names

Before the final merge of the minimum bandwidth resource classes
they got renamed in Nova and Placement. So we have to adapt.

This change retroactively updates the spec.

Change-Id: Ia347c71381ec2fd82a1b197f5d0fbed69a70ad70
Partial-Bug: #1578989
See-Also: I996bf705b14b564106426a2e57299638fb178750
See-Also: https://review.openstack.org/616194
changes/11/617711/1
Bence Romsics 7 months ago
parent
commit
2af53625e7
1 changed files with 14 additions and 14 deletions
  1. 14
    14
      specs/rocky/minimum-bandwidth-allocation-placement-api.rst

+ 14
- 14
specs/rocky/minimum-bandwidth-allocation-placement-api.rst View File

@@ -204,8 +204,8 @@ Figure: resource_request in the port
204 204
         "device_id": "5e3898d7-11be-483e-9732-b2f5eccd2b2e",
205 205
         "resource_request": {
206 206
             "resources": {
207
-                "NET_BANDWIDTH_INGRESS_KILOBITS_PER_SECOND": 1000,
208
-                "NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND": 1000 },
207
+                "NET_BW_IGR_KILOBIT_PER_SEC": 1000,
208
+                "NET_BW_EGR_KILOBIT_PER_SEC": 1000 },
209 209
             "required": ["CUSTOM_PHYSNET_NET0", "CUSTOM_VNIC_TYPE_NORMAL"]}
210 210
     }}
211 211
 
@@ -324,15 +324,15 @@ Figure: networking RP model
324 324
    |             |       uuid = uuid5(hostname:br0)
325 325
    |             |         traits: CUSTOM_PHYSNET_1, CUSTOM_VNIC_TYPE_NORMAL
326 326
    |             |         inventory:
327
-   |             |         {NET_BANDWIDTH_INGRESS_KILOBITS_PER_SECOND: 10000,
328
-   |             |          NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND: 10000}
327
+   |             |         {NET_BW_IGR_KILOBIT_PER_SEC: 10000,
328
+   |             |          NET_BW_EGR_KILOBIT_PER_SEC: 10000}
329 329
    |             |
330 330
    |             +------+Physical network interface RP,
331 331
    |                     uuid = uuid5(hostname:br1)
332 332
    |                       traits: CUSTOM_PHYSNET_2, CUSTOM_VNIC_TYPE_NORMAL
333 333
    |                       inventory:
334
-   |                       {NET_BANDWIDTH_INGRESS_KILOBITS_PER_SECOND: 10000,
335
-   |                        NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND: 10000}
334
+   |                       {NET_BW_IGR_KILOBIT_PER_SEC: 10000,
335
+   |                        NET_BW_EGR_KILOBIT_PER_SEC: 10000}
336 336
    |
337 337
    +-------+Network agent RP (for LinuxBridge agent), uuid = agent_uuid
338 338
    |             +
@@ -341,8 +341,8 @@ Figure: networking RP model
341 341
    |                     uuid = uuid5(hostname:virbr0)
342 342
    |                       traits: CUSTOM_PHYSNET_1, CUSTOM_VNIC_TYPE_NORMAL
343 343
    |                       inventory:
344
-   |                       {NET_BANDWIDTH_INGRESS_KILOBITS_PER_SECOND: 10000,
345
-   |                        NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND: 10000}
344
+   |                       {NET_BW_IGR_KILOBIT_PER_SEC: 10000,
345
+   |                        NET_BW_EGR_KILOBIT_PER_SEC: 10000}
346 346
    |
347 347
    +-------+Network agent RP (for SRIOV agent), uuid = agent_uuid
348 348
                  +
@@ -352,24 +352,24 @@ Figure: networking RP model
352 352
                  |         traits: CUSTOM_PHYSNET_2, CUSTOM_VNIC_TYPE_DIRECT
353 353
                  |         inventory:
354 354
                  |         {VF: 8, # VF resource is out of scope
355
-                 |          NET_BANDWIDTH_INGRESS_KILOBITS_PER_SECOND: 10000,
356
-                 |          NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND: 10000}
355
+                 |          NET_BW_IGR_KILOBIT_PER_SEC: 10000,
356
+                 |          NET_BW_EGR_KILOBIT_PER_SEC: 10000}
357 357
                  |
358 358
                  +------+Physical network interface RP,
359 359
                  |       uuid = uuid5(hostname:eth1)
360 360
                  |         traits: CUSTOM_PHYSNET_2, CUSTOM_VNIC_TYPE_DIRECT
361 361
                  |         inventory:
362 362
                  |         {VF: 8, # VF resource is out of scope
363
-                 |          NET_BANDWIDTH_INGRESS_KILOBITS_PER_SECOND: 10000,
364
-                 |          NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND: 10000}
363
+                 |          NET_BW_IGR_KILOBIT_PER_SEC: 10000,
364
+                 |          NET_BW_EGR_KILOBIT_PER_SEC: 10000}
365 365
                  |
366 366
                  +------+Physical network interface RP,
367 367
                          uuid = uuid5(hostname:eth2)
368 368
                            traits: CUSTOM_PHYSNET_3, CUSTOM_VNIC_TYPE_DIRECT
369 369
                            inventory:
370 370
                            {VF: 8, # VF resource is out of scope
371
-                            NET_BANDWIDTH_INGRESS_KILOBITS_PER_SECOND: 10000,
372
-                            NET_BANDWIDTH_EGRESS_KILOBITS_PER_SECOND: 10000}
371
+                            NET_BW_IGR_KILOBIT_PER_SEC: 10000,
372
+                            NET_BW_EGR_KILOBIT_PER_SEC: 10000}
373 373
 
374 374
 Custom traits will be used to indicate which physical network a given
375 375
 Physical network interface RP is connected to, as previously described.

Loading…
Cancel
Save