summaryrefslogtreecommitdiffstats
path: root/aai-core/src/test/resources/payloads/templates/hpa.json
blob: 167082372769f10784fc2b03c8c05833bf0412bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
{
  "cloud-owner": "${cloud-owner}",
  "cloud-region-id": "${cloud-region-id}",
  "cloud-type": "openstack-pike",
  "owner-defined-type": "OUrR8kI6Br",
  "cloud-region-version": "Nyr",
  "identity-url": "JHqvA1M",
  "cloud-zone": "Y5UfJUM",
  "complex-name": "QLP",
  "sriov-automation": false,
  "tenants": {
    "tenant": [
      {
        "tenant-id": "${tenant-id}",
        "tenant-name": "yhgVBcv3Pr",
        "tenant-context": "De4NNayqFBO",
        "vservers": {
          "vserver": [
            {
              "vserver-id": "${vserver-id}",
              "vserver-name": "P3SJ347Uyv",
              "vserver-name2": "1dHd",
              "prov-status": "PR04shorWQ",
              "vserver-selflink": "v7dU8H",
              "in-maint": false,
              "is-closed-loop-disabled": true,
              "volumes": {
                "volume": [
                  {
                    "volume-id": "61cbb17e-8e5f-4545-a8ea-13a0e9c9871f-vk250x",
                    "volume-selflink": "mYkfJ9rGv"
                  },
                  {
                    "volume-id": "d98083a6-b235-4e54-b19b-2ebfa1604246-vk250x",
                    "volume-selflink": "69RRsreL4"
                  }
                ]
              },
              "l-interfaces": {
                "l-interface": [
                  {
                    "interface-name": "top-linterface",
                    "interface-role": "3W1FAJGSQ",
                    "v6-wan-link-ip": "WugWw3N",
                    "selflink": "Of4j0pU",
                    "interface-id": "eoW",
                    "macaddr": "XNbbIy33",
                    "network-name": "ZETDv5sGhiS",
                    "management-option": "qR3RyCxgEU",
                    "interface-description": "ksuRPpWDEH7",
                    "is-port-mirrored": false,
                    "in-maint": false,
                    "prov-status": "20Q0ZE6n5iB0",
                    "is-ip-unnumbered": false,
                    "allowed-address-pairs": "KjPXyH",
                    "vlans": {
                      "vlan": [
                        {
                          "vlan-interface": "8d225c33-7494-4173-939f-0e1e8741344d-vk250x",
                          "vlan-id-inner": 884,
                          "vlan-id-outer": 992,
                          "speed-value": "RyFPm",
                          "speed-units": "ZrckmLff7b",
                          "vlan-description": "zjAeUFgeagpf",
                          "backdoor-connection": "gANMvUquB",
                          "vpn-key": "l0rV7bb2Sc",
                          "orchestration-status": "WVnLpbzIx",
                          "in-maint": false,
                          "prov-status": "tYMRi6df",
                          "is-ip-unnumbered": false,
                          "l3-interface-ipv4-address-list": [
                            {
                              "l3-interface-ipv4-address": "2e7d62a5-ff93-446f-9fa3-b4ba585e742b-vk250x",
                              "l3-interface-ipv4-prefix-length": 640,
                              "vlan-id-inner": 652,
                              "vlan-id-outer": 868,
                              "is-floating": true,
                              "neutron-network-id": "dJ8Fqs4ZTRn",
                              "neutron-subnet-id": "HC6ji9DO8"
                            }
                          ],
                          "l3-interface-ipv6-address-list": [
                            {
                              "l3-interface-ipv6-address": "818cd2e5-8dac-4a49-aa2e-4f97d4e98594-vk250x",
                              "l3-interface-ipv6-prefix-length": 910,
                              "vlan-id-inner": 116,
                              "vlan-id-outer": 661,
                              "is-floating": true,
                              "neutron-network-id": "vSpYqFg5Tfe",
                              "neutron-subnet-id": "bqkOUZSlVF"
                            },
                            {
                              "l3-interface-ipv6-address": "915a8e5d-9d39-4f99-a350-c48f48ac8f46-vk250x",
                              "l3-interface-ipv6-prefix-length": 593,
                              "vlan-id-inner": 554,
                              "vlan-id-outer": 762,
                              "is-floating": false,
                              "neutron-network-id": "b7PM",
                              "neutron-subnet-id": "u51Ma93"
                            }
                          ]
                        }
                      ]
                    },
                    "sriov-vfs": {
                      "sriov-vf": [
                        {
                          "pci-id": "01ca7dbe-e270-4545-a045-72e9e3fcb44b-vk250x",
                          "vf-vlan-filter": "f9YNFlqrfHi",
                          "vf-mac-filter": "HQhFdXpL1v",
                          "vf-vlan-strip": true,
                          "vf-vlan-anti-spoof-check": false,
                          "vf-mac-anti-spoof-check": false,
                          "vf-mirrors": "SqknCX",
                          "vf-broadcast-allow": true,
                          "vf-unknown-multicast-allow": false,
                          "vf-unknown-unicast-allow": false,
                          "vf-insert-stag": true,
                          "vf-link-status": "MsSX9hug4u1",
                          "neutron-network-id": "f4jq6yFxVVtC"
                        }
                      ]
                    },
                    "l-interfaces": {
                      "l-interface": [
                        {
                          "interface-name": "nested-linterface1",
                          "interface-role": "ZjOYJKIE4j9W1",
                          "v6-wan-link-ip": "63RKRTd",
                          "selflink": "5xF",
                          "interface-id": "akNmnDyijrHla",
                          "macaddr": "XLZCof4",
                          "network-name": "yJt",
                          "management-option": "FJ6qVt",
                          "interface-description": "fCHE1Glz",
                          "is-port-mirrored": false,
                          "in-maint": false,
                          "prov-status": "vuTb",
                          "is-ip-unnumbered": false,
                          "allowed-address-pairs": "5Lzn9"
                        },
                        {
                          "interface-name": "nested-linterface2",
                          "interface-role": "ZjOYJKIE4j9W1",
                          "v6-wan-link-ip": "63RKRTd",
                          "selflink": "5xF",
                          "interface-id": "akNmnDyijrHla",
                          "macaddr": "XLZCof4",
                          "network-name": "yJt",
                          "management-option": "FJ6qVt",
                          "interface-description": "fCHE1Glz",
                          "is-port-mirrored": false,
                          "in-maint": false,
                          "prov-status": "vuTb",
                          "is-ip-unnumbered": false,
                          "allowed-address-pairs": "5Lzn9"
                        }
                      ]
                    },
                    "l3-interface-ipv4-address-list": [
                      {
                        "l3-interface-ipv4-address": "fc25fa49-ec46-43f5-bd39-c1c9067d2962-vk250x",
                        "l3-interface-ipv4-prefix-length": 339,
                        "vlan-id-inner": 644,
                        "vlan-id-outer": 701,
                        "is-floating": true,
                        "neutron-network-id": "IEpYVl",
                        "neutron-subnet-id": "7uWdipdgtC4Qc"
                      },
                      {
                        "l3-interface-ipv4-address": "402d29fe-baf4-47e3-9208-e12a75e25349-vk250x",
                        "l3-interface-ipv4-prefix-length": 370,
                        "vlan-id-inner": 971,
                        "vlan-id-outer": 142,
                        "is-floating": false,
                        "neutron-network-id": "sRi62ZY3IrKkq",
                        "neutron-subnet-id": "PeV5RhIfV2Ib7"
                      }
                    ],
                    "l3-interface-ipv6-address-list": [
                      {
                        "l3-interface-ipv6-address": "c9befce1-5617-4525-b217-105a57f6bd59-vk250x",
                        "l3-interface-ipv6-prefix-length": 333,
                        "vlan-id-inner": 275,
                        "vlan-id-outer": 324,
                        "is-floating": true,
                        "neutron-network-id": "em6Lc6ovvWsdx",
                        "neutron-subnet-id": "pyx4f"
                      },
                      {
                        "l3-interface-ipv6-address": "18aa594c-143b-4564-ac0c-72144aecbb66-vk250x",
                        "l3-interface-ipv6-prefix-length": 350,
                        "vlan-id-inner": 893,
                        "vlan-id-outer": 37,
                        "is-floating": false,
                        "neutron-network-id": "lhiR1",
                        "neutron-subnet-id": "kdfoiCb7JYBuh"
                      }
                    ]
                  }
                ]
              }
            }
          ]
        }
      }
    ]
  },
  "flavors": {
    "flavor": [
      {
        "flavor-id": "${flavor-id1}",
        "flavor-name": "flavor-numa-cpu-topology-instruction-set",
        "flavor-vcpus": 64,
        "flavor-ram": 65536,
        "flavor-disk": 1048576,
        "flavor-ephemeral": 128,
        "flavor-swap": "0",
        "flavor-is-public": false,
        "flavor-selflink": "pXtX",
        "flavor-disabled": false,
        "hpa-capabilities": {
          "hpa-capability": [
            {
              "hpa-capability-id": "${hpa-capability-id1}",
              "hpa-feature": "basicCapabilities",
              "hpa-version": "v1",
              "architecture": "generic",
              "hpa-feature-attributes": [
                {
                  "hpa-attribute-key": "numVirtualCpu",
                  "hpa-attribute-value": "{value:4}"
                },
                {
                  "hpa-attribute-key": "virtualMemSize",
                  "hpa-attribute-value": "{value:4, unit:\"GB\" }"
                }
              ]
            },
            {
              "hpa-capability-id": "${hpa-capability-id2}",
              "hpa-feature": "cpuTopology",
              "hpa-version": "v1",
              "architecture": "generic",
              "hpa-feature-attributes": [
                {
                  "hpa-attribute-key": "numCpuSockets",
                  "hpa-attribute-value": "{value:6}"
                },
                {
                  "hpa-attribute-key": "numCpuCores",
                  "hpa-attribute-value": "{value:8}"
                },
                {
                  "hpa-attribute-key": "numCpuThreads",
                  "hpa-attribute-value": "{value:8}"
                }
              ]
            },
            {
              "hpa-capability-id": "${hpa-capability-id3}",
              "hpa-feature": "numa",
              "hpa-version": "v1",
              "architecture": "generic",
              "hpa-feature-attributes": [
                {
                  "hpa-attribute-key": "numaNodes",
                  "hpa-attribute-value": "{value:2}"
                },
                {
                  "hpa-attribute-key": "numaCpu-0",
                  "hpa-attribute-value": "{value:2}"
                },
                {
                  "hpa-attribute-key": "numaCpu-1",
                  "hpa-attribute-value": "{value:4}"
                },
                {
                  "hpa-attribute-key": "numaMem-0",
                  "hpa-attribute-value": "{value:2, unit:\"GB\" }"
                },
                {
                  "hpa-attribute-key": "numaMem-1",
                  "hpa-attribute-value": "{value:4, unit:\"GB\" }"
                }
              ]
            },
            {
              "hpa-capability-id": "${hpa-capability-id4}",
              "hpa-feature": "cpuInstructionSetExtensions",
              "hpa-version": "v1",
              "architecture": "Intel64",
              "hpa-feature-attributes": [
                {
                  "hpa-attribute-key": "instructionSetExtensions",
                  "hpa-attribute-value": "{value:{['AAA', 'BBB', 'CCC', 'DDD']}}"
                }
              ]
            }
          ]
        }
      },
      {
        "flavor-id": "${flavor-id2}",
        "flavor-name": "flavor-cpu-pinning-ovsdpdk-instruction-set",
        "flavor-vcpus": 32,
        "flavor-ram": 131072,
        "flavor-disk": 2097152,
        "flavor-ephemeral": 128,
        "flavor-swap": "0",
        "flavor-is-public": false,
        "flavor-selflink": "pXtX",
        "flavor-disabled": false,
        "hpa-capabilities": {
          "hpa-capability": [
            {
              "hpa-capability-id": "${hpa-capability-id5}",
              "hpa-feature": "basicCapabilities",
              "hpa-version": "v1",
              "architecture": "generic",
              "hpa-feature-attributes": [
                {
                  "hpa-attribute-key": "numVirtualCpu",
                  "hpa-attribute-value": "{value:8}"
                },
                {
                  "hpa-attribute-key": "virtualMemSize",
                  "hpa-attribute-value": "{value:16, unit:\"GB\" }"
                }
              ]
            },
            {
              "hpa-capability-id": "${hpa-capability-id6}",
              "hpa-feature": "cpuPinning",
              "hpa-version": "v1",
              "architecture": "generic",
              "hpa-feature-attributes": [
                {
                  "hpa-attribute-key": "logicalCpuThreadPinningPolicy",
                  "hpa-attribute-value": "{value:\"prefer\"}"
                },
                {
                  "hpa-attribute-key": "logicalCpuPinningPolicy",
                  "hpa-attribute-value": "{value:\"dedicated\"}"
                }
              ]
            },
            {
              "hpa-capability-id": "${hpa-capability-id7}",
              "hpa-feature": "ovsDpdk",
              "hpa-version": "v1",
              "architecture": "generic",
              "hpa-feature-attributes": [
                {
                  "hpa-attribute-key": "dataProcessingAccelerationLibrary",
                  "hpa-attribute-value": "{value:\"v18.02\"}"
                }
              ]
            },
            {
              "hpa-capability-id": "${hpa-capability-id8}",
              "hpa-feature": "cpuInstructionSetExtensions",
              "hpa-version": "v1",
              "architecture": "generic",
              "hpa-feature-attributes": [
                {
                  "hpa-attribute-key": "instructionSetExtensions",
                  "hpa-attribute-value": "{value:{['A11', 'B22']}}"
                }
              ]
            }
          ]
        }
      }
    ]
  },
  "group-assignments": {
    "group-assignment": [
      {
        "group-id": "30c1bb60-1b71-4b46-910f-d33c7905a779-vk250x",
        "group-type": "bRh",
        "group-name": "hg11sdvW",
        "group-description": "df3w60RR"
      }
    ]
  },
  "snapshots": {
    "snapshot": [
      {
        "snapshot-id": "26c013f4-c119-4ddd-89cf-e9b2729f87e5-vk250x",
        "snapshot-name": "0J3q8ZjyPGH",
        "snapshot-architecture": "wMu9Tvile",
        "snapshot-os-distro": "2Vv4Pqzu",
        "snapshot-os-version": "Vim0fyf404YVW",
        "application": "oxkCtHUk",
        "application-vendor": "tTpXkD",
        "application-version": "aOqn",
        "snapshot-selflink": "GCapKV9Tq",
        "prev-snapshot-id": "Imnj21xW5Hez"
      },
      {
        "snapshot-id": "ee2e8769-2dcf-4a3c-90bd-a0ba91c97f13-vk250x",
        "snapshot-name": "zRh94rw3pc1",
        "snapshot-architecture": "FxVDY",
        "snapshot-os-distro": "QZnKXjI5LDBSi",
        "snapshot-os-version": "u0Bl2moOJ7bb",
        "application": "dlXZPm9B7",
        "application-vendor": "89tls6",
        "application-version": "c05X",
        "snapshot-selflink": "rmExWmnDIZu3",
        "prev-snapshot-id": "5chZxlmHfhe"
      }
    ]
  },
  "images": {
    "image": [
      {
        "image-id": "691210f6-f3f2-488f-993c-a9c9570fb71f-vk250x",
        "image-name": "GsPzYlduuWk",
        "image-architecture": "vNdK4fYJf",
        "image-os-distro": "ZxYe",
        "image-os-version": "SVBBpHEc",
        "application": "GgBxi1zv8h2KG",
        "application-vendor": "x6NtDNUj",
        "application-version": "VOZYqE04K9",
        "image-selflink": "gOzbbHZtkuh",
        "metadata": {
          "metadatum": [
            {
              "metaname": "b9565dfa-ed1f-4d35-90c6-bb56a48d9b2a-vk250x",
              "metaval": "nyq5IHmI"
            }
          ]
        }
      },
      {
        "image-id": "1f00c00a-9ab7-44a0-9961-bcf5f806fef8-vk250x",
        "image-name": "WChNCg3ThQ1Of",
        "image-architecture": "oL2m4nUPPG6j",
        "image-os-distro": "kf7",
        "image-os-version": "DxTTyv4S16e",
        "application": "Y0dytCJ2ouDk",
        "application-vendor": "F7E7a",
        "application-version": "8wkd3Cy",
        "image-selflink": "5N5A",
        "metadata": {
          "metadatum": [
            {
              "metaname": "a5c4c98f-0b36-4f70-a235-5135e8e644f1-vk250x",
              "metaval": "vupk3k29rdN"
            },
            {
              "metaname": "e6084e48-df73-4854-a2be-522087b5f6a3-vk250x",
              "metaval": "l9VaEeP"
            }
          ]
        }
      }
    ]
  },
  "dvs-switches": {
    "dvs-switch": [
      {
        "switch-name": "b01222d9-f9f9-493d-8ee0-9ab7c095d5a0-vk250x",
        "vcenter-url": "NNtc"
      },
      {
        "switch-name": "7abed153-9fb5-4c05-87aa-ead0feb35b16-vk250x",
        "vcenter-url": "YSS"
      }
    ]
  },
  "oam-networks": {
    "oam-network": [
      {
        "network-uuid": "af2371f8-0fa6-4d4d-90c8-9c5d3ba3e01e-vk250x",
        "network-name": "cVevT9o20HAs4",
        "cvlan-tag": 560,
        "ipv4-oam-gateway-address": "F565rGb",
        "ipv4-oam-gateway-address-prefix-length": 540
      }
    ]
  },
  "availability-zones": {
    "availability-zone": [
      {
        "availability-zone-name": "9761e922-fd2a-4c96-9a13-4e62e1daccdc-vk250x",
        "hypervisor-type": "qijdeI",
        "operational-status": "C0KkUiJ"
      }
    ]
  },
  "vip-ipv4-address-list": [
    {
      "vip-ipv4-address": "08b4a6c1-c702-4449-8791-caaa5341c6d9-vk250x",
      "vip-ipv4-prefix-length": 185,
      "vlan-id-inner": 969,
      "vlan-id-outer": 414,
      "is-floating": true,
      "neutron-network-id": "S7r90cEZ",
      "neutron-subnet-id": "2NwjH"
    }
  ],
  "vip-ipv6-address-list": [
    {
      "vip-ipv6-address": "f01dbad0-10c5-491c-a6e5-d972c9b99f56-vk250x",
      "vip-ipv6-prefix-length": 365,
      "vlan-id-inner": 326,
      "vlan-id-outer": 927,
      "is-floating": true,
      "neutron-network-id": "ULEl0",
      "neutron-subnet-id": "eyt9"
    }
  ]
}