OpenStack resource provider inventory allocation service
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nested-perfload.yaml 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # This is a single compute with two numa nodes, to show some nested.
  2. #
  3. # This should be updated to represent something closer to a real
  4. # and expected nested topology. If changes are made here that impact
  5. # the number of total resource providers, then $PROVIDER_TOPOLOGY_COUNT
  6. # in gate/perfload-nested-runner.sh should be updated.
  7. defaults:
  8. request_headers:
  9. accept: application/json
  10. content-type: application/json
  11. openstack-api-version: placement latest
  12. x-auth-token: $ENVIRON['TOKEN']
  13. tests:
  14. - name: create one compute node
  15. POST: /resource_providers
  16. data:
  17. uuid: $ENVIRON['CN_UUID']
  18. name: $ENVIRON['CN_UUID']
  19. - name: set compute node inventory
  20. PUT: /resource_providers/$ENVIRON['CN_UUID']/inventories
  21. data:
  22. resource_provider_generation: 0
  23. inventories:
  24. DISK_GB:
  25. total: 20480
  26. - name: set compute node traits
  27. PUT: /resource_providers/$ENVIRON['CN_UUID']/traits
  28. data:
  29. resource_provider_generation: 1
  30. traits:
  31. - COMPUTE_VOLUME_MULTI_ATTACH
  32. - name: create numa 1
  33. POST: /resource_providers
  34. data:
  35. uuid: $ENVIRON['N1_UUID']
  36. name: numa 1-$ENVIRON['N1_UUID']
  37. parent_provider_uuid: $ENVIRON['CN_UUID']
  38. - name: set numa 1 inventory
  39. PUT: /resource_providers/$ENVIRON['N1_UUID']/inventories
  40. data:
  41. resource_provider_generation: 0
  42. inventories:
  43. VCPU:
  44. total: 16
  45. MEMORY_MB:
  46. total: 16777216
  47. - name: set numa 1 traits
  48. PUT: /resource_providers/$ENVIRON['N1_UUID']/traits
  49. data:
  50. resource_provider_generation: 1
  51. traits:
  52. - HW_CPU_X86_AVX2
  53. - name: create numa 2
  54. POST: /resource_providers
  55. data:
  56. uuid: $ENVIRON['N2_UUID']
  57. name: numa 2-$ENVIRON['N2_UUID']
  58. parent_provider_uuid: $ENVIRON['CN_UUID']
  59. - name: set numa 2 inventory
  60. PUT: /resource_providers/$ENVIRON['N2_UUID']/inventories
  61. data:
  62. resource_provider_generation: 0
  63. inventories:
  64. VCPU:
  65. total: 16
  66. MEMORY_MB:
  67. total: 16777216
  68. - name: set numa 2 traits
  69. PUT: /resource_providers/$ENVIRON['N2_UUID']/traits
  70. data:
  71. resource_provider_generation: 1
  72. traits:
  73. - HW_CPU_X86_SSE