aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/multicloud-ocata/generic_sim/nova/responses.yml
blob: 94469711794c014163728e982b588754d147844b (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
/flavors/110/os-extra_specs:
  get:
    body: '{"extra_specs": {"hw:cpu_policy": "dedicated", "hw:mem_page_size":
      "large", "hw:cpu_sockets": "2", "hw:cpu_threads": "8", "hw:numa_mem.1":
      "2048", "hw:numa_mem.0": "2048", "hw:capabilities:cpu_info:features":
      "avx,acpi", "aggregate_instance_extra_specs:storage": "local_image", "hw:numa_nodes":
      "2", "hw:numa_cpus.0": "0,1", "hw:numa_cpus.1": "2,3,4,5", "hw:cpu_cores":
      "4", "hw:cpu_thread_policy": "prefer", "pci_passthrough:alias": "sriov-vf-intel-8086-15b3:4"}}'
    content_type: application/json
    status_code: 200
/flavors/111/os-extra_specs:
  get:
    body: '{"extra_specs": {"aggregate_instance_extra_specs:storage": "local_image"}}'
    content_type: application/json
    status_code: 200
/flavors/112/os-extra_specs:
  get:
    body: '{"extra_specs": {"hw:cpu_policy": "dedicated", "hw:cpu_thread_policy":
      "isolate", "aggregate_instance_extra_specs:storage": "local_image"}}'
    content_type: application/json
    status_code: 200
/flavors/113/os-extra_specs:
  get:
    body: '{"extra_specs": {"hw:cpu_cores": "8", "hw:cpu_threads": "16",
      "aggregate_instance_extra_specs:storage": "local_image", "hw:cpu_sockets":
      "2"}}'
    content_type: application/json
    status_code: 200
/flavors/114/os-extra_specs:
  get:
    body: '{"extra_specs": {"aggregate_instance_extra_specs:storage": "local_image",
      "hw:mem_page_size": "small"}}'
    content_type: application/json
    status_code: 200
/flavors/115/os-extra_specs:
  get:
    body: '{"extra_specs": {"hw:numa_mem.1": "1024", "hw:numa_mem.0": "1024",
      "aggregate_instance_extra_specs:storage": "local_image", "hw:numa_nodes":
      "2", "hw:numa_cpus.0": "0,1", "hw:numa_cpus.1": "2,3"}}'
    content_type: application/json
    status_code: 200
/flavors/116/os-extra_specs:
  get:
    body: '{"extra_specs": {"hw:capabilities:cpu_info:features": "avx,aes",
      "aggregate_instance_extra_specs:storage": "local_image"}}'
    content_type: application/json
    status_code: 200
/flavors/117/os-extra_specs:
  get:
    body: '{"extra_specs": {"aggregate_instance_extra_specs:storage": "local_image",
      "pci_passthrough:alias": "sriov-vf-intel-8086-15b3:6"}}'
    content_type: application/json
    status_code: 200
/flavors/detail:
  get:
    body: '{"flavors": [{"name": "f.small", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/100",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/100",
      "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "100"}, {"name":
      "onap.hpa.all", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/110",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/110",
      "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 6, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "110"}, {"name":
      "onap.hpa.basic", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/111",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/111",
      "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "111"}, {"name":
      "onap.hpa.cpupinning", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/112",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/112",
      "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "112"}, {"name":
      "onap.hpa.cputopology", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/113",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/113",
      "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "113"}, {"name":
      "onap.hpa.hugepage", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/114",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/114",
      "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "114"}, {"name":
      "onap.hpa.numa", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/115",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/115",
      "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "115"}, {"name":
      "onap.hpa.instruction", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/116",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/116",
      "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "116"}, {"name":
      "onap.hpa.passthrough", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/117",
      "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/117",
      "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
      "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
      1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "117"}]}'
    content_type: application/json
    status_code: 200
/os-availability-zone/detail:
  get:
    body: '{"availabilityZoneInfo": [{"zoneState": {"available": true}, "hosts":
      {"controller-0": {"nova-conductor": {"available": true, "active": true,
      "updated_at": "2018-04-27T16:05:25.272674"}, "nova-consoleauth": {"available":
      true, "active": true, "updated_at": "2018-04-27T16:05:21.875274"}, "nova-scheduler":
      {"available": true, "active": true, "updated_at": "2018-04-27T16:05:25.286846"}}},
      "zoneName": "internal"}, {"zoneState": {"available": false}, "hosts":
      null, "zoneName": "nova"}]}'
    content_type: application/json
    status_code: 200
/os-hypervisors/detail:
  get:
    body: '{
	"hypervisors": [{
		"status": "disabled",
		"service": {
			"host": "compute-0",
			"disabled_reason": null,
			"id": 11
		},
		"vcpus_used": 0.0,
		"hypervisor_type": "QEMU",
		"id": 1,
		"local_gb_used": 0,
		"state": "down",
		"hypervisor_hostname": "compute-0",
		"host_ip": "192.168.204.162",
		"memory_mb": 51562,
		"current_workload": 0,
		"vcpus": 42,
		"free_ram_mb": 51562,
		"running_vms": 0,
		"free_disk_gb": 1740,
		"hypervisor_version": 2010000,
		"disk_available_least": 1740,
		"local_gb": 1833,
		"cpu_info": "{\"vendor\": \"Intel\", \"model\": \"IvyBridge\", \"arch\": \"x86_64\", \"features\": [\"pge\", \"avx\", \"xsaveopt\", \"clflush\", \"sep\", \"syscall\",\"tsc-deadline\",\"dtes64\",\"msr\",\"fsgsbase\",\"xsave\",\"vmx\",\"erms\",\"xtpr\",\"cmov\",\"smep\",\"pcid\",\"est\",\"pat\",\"monitor\",\"smx\",\"pbe\",\"lm\",\"tsc\",\"nx\",\"fxsr\",\"tm\",\"sse4.1\",\"pae\",\"sse4.2\",\"pclmuldq\",\"acpi\",\"vme\",\"popcnt\",\"mmx\",\"osxsave\",\"cx8\",\"mce\",\"de\",\"rdtscp\",\"ht\",\"dca\",\"lahf_lm\",\"pdcm\",\"mca\",\"pdpe1gb\",\"a    pic\",\"sse\",\"f16c\",\"pse\",\"ds\",\"invtsc\",\"pni\",\"tm2\",\"aes\",\"sse2\",\"ss\",\"ds_cpl\",\"arat\",\"ssse3\",\"fpu\",\"cx16\",\"pse36\",\"mtrr\",\"rdrand\",\"x2apic\"],\"topology\": {\"cores\": 12,\"cells\": 2,\"threads\": 2,\"sockets\": 1}}",
		"memory_mb_used ": 0
	}]
}'
    content_type: application/json
    status_code: 200
/os-hypervisors/detail?hypervisor_hostname_pattern=controller-0:
  get:
    body: '{
	"hypervisors": [{
		"status": "disabled",
		"service": {
			"host": "compute-0",
			"disabled_reason": null,
			"id": 11
		},
		"vcpus_used": 0.0,
		"hypervisor_type": "QEMU",
		"id": 1,
		"local_gb_used": 0,
		"state": "down",
		"hypervisor_hostname": "compute-0",
		"host_ip": "192.168.204.162",
		"memory_mb": 51562,
		"current_workload": 0,
		"vcpus": 42,
		"free_ram_mb": 51562,
		"running_vms": 0,
		"free_disk_gb": 1740,
		"hypervisor_version": 2010000,
		"disk_available_least": 1740,
		"local_gb": 1833,
		"cpu_info": "{\"vendor\": \"Intel\", \"model\": \"IvyBridge\", \"arch\": \"x86_64\", \"features\": [\"pge\", \"avx\", \"xsaveopt\", \"clflush\", \"sep\", \"syscall\",\"tsc-deadline\",\"dtes64\",\"msr\",\"fsgsbase\",\"xsave\",\"vmx\",\"erms\",\"xtpr\",\"cmov\",\"smep\",\"pcid\",\"est\",\"pat\",\"monitor\",\"smx\",\"pbe\",\"lm\",\"tsc\",\"nx\",\"fxsr\",\"tm\",\"sse4.1\",\"pae\",\"sse4.2\",\"pclmuldq\",\"acpi\",\"vme\",\"popcnt\",\"mmx\",\"osxsave\",\"cx8\",\"mce\",\"de\",\"rdtscp\",\"ht\",\"dca\",\"lahf_lm\",\"pdcm\",\"mca\",\"pdpe1gb\",\"a    pic\",\"sse\",\"f16c\",\"pse\",\"ds\",\"invtsc\",\"pni\",\"tm2\",\"aes\",\"sse2\",\"ss\",\"ds_cpl\",\"arat\",\"ssse3\",\"fpu\",\"cx16\",\"pse36\",\"mtrr\",\"rdrand\",\"x2apic\"],\"topology\": {\"cores\": 12,\"cells\": 2,\"threads\": 2,\"sockets\": 1}}",
		"memory_mb_used ": 0
	}]
}'
    content_type: application/json
    status_code: 200