blob: 94469711794c014163728e982b588754d147844b [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001/flavors/110/os-extra_specs:
2 get:
3 body: '{"extra_specs": {"hw:cpu_policy": "dedicated", "hw:mem_page_size":
4 "large", "hw:cpu_sockets": "2", "hw:cpu_threads": "8", "hw:numa_mem.1":
5 "2048", "hw:numa_mem.0": "2048", "hw:capabilities:cpu_info:features":
6 "avx,acpi", "aggregate_instance_extra_specs:storage": "local_image", "hw:numa_nodes":
7 "2", "hw:numa_cpus.0": "0,1", "hw:numa_cpus.1": "2,3,4,5", "hw:cpu_cores":
8 "4", "hw:cpu_thread_policy": "prefer", "pci_passthrough:alias": "sriov-vf-intel-8086-15b3:4"}}'
9 content_type: application/json
10 status_code: 200
11/flavors/111/os-extra_specs:
12 get:
13 body: '{"extra_specs": {"aggregate_instance_extra_specs:storage": "local_image"}}'
14 content_type: application/json
15 status_code: 200
16/flavors/112/os-extra_specs:
17 get:
18 body: '{"extra_specs": {"hw:cpu_policy": "dedicated", "hw:cpu_thread_policy":
19 "isolate", "aggregate_instance_extra_specs:storage": "local_image"}}'
20 content_type: application/json
21 status_code: 200
22/flavors/113/os-extra_specs:
23 get:
24 body: '{"extra_specs": {"hw:cpu_cores": "8", "hw:cpu_threads": "16",
25 "aggregate_instance_extra_specs:storage": "local_image", "hw:cpu_sockets":
26 "2"}}'
27 content_type: application/json
28 status_code: 200
29/flavors/114/os-extra_specs:
30 get:
31 body: '{"extra_specs": {"aggregate_instance_extra_specs:storage": "local_image",
32 "hw:mem_page_size": "small"}}'
33 content_type: application/json
34 status_code: 200
35/flavors/115/os-extra_specs:
36 get:
37 body: '{"extra_specs": {"hw:numa_mem.1": "1024", "hw:numa_mem.0": "1024",
38 "aggregate_instance_extra_specs:storage": "local_image", "hw:numa_nodes":
39 "2", "hw:numa_cpus.0": "0,1", "hw:numa_cpus.1": "2,3"}}'
40 content_type: application/json
41 status_code: 200
42/flavors/116/os-extra_specs:
43 get:
44 body: '{"extra_specs": {"hw:capabilities:cpu_info:features": "avx,aes",
45 "aggregate_instance_extra_specs:storage": "local_image"}}'
46 content_type: application/json
47 status_code: 200
48/flavors/117/os-extra_specs:
49 get:
50 body: '{"extra_specs": {"aggregate_instance_extra_specs:storage": "local_image",
51 "pci_passthrough:alias": "sriov-vf-intel-8086-15b3:6"}}'
52 content_type: application/json
53 status_code: 200
54/flavors/detail:
55 get:
56 body: '{"flavors": [{"name": "f.small", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/100",
57 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/100",
58 "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
59 "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
60 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "100"}, {"name":
61 "onap.hpa.all", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/110",
62 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/110",
63 "rel": "bookmark"}], "ram": 4096, "OS-FLV-DISABLED:disabled": false,
64 "vcpus": 6, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
65 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "110"}, {"name":
66 "onap.hpa.basic", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/111",
67 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/111",
68 "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
69 "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
70 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "111"}, {"name":
71 "onap.hpa.cpupinning", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/112",
72 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/112",
73 "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
74 "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
75 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "112"}, {"name":
76 "onap.hpa.cputopology", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/113",
77 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/113",
78 "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
79 "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
80 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "113"}, {"name":
81 "onap.hpa.hugepage", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/114",
82 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/114",
83 "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
84 "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
85 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "114"}, {"name":
86 "onap.hpa.numa", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/115",
87 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/115",
88 "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
89 "vcpus": 4, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
90 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "115"}, {"name":
91 "onap.hpa.instruction", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/116",
92 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/116",
93 "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
94 "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
95 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "116"}, {"name":
96 "onap.hpa.passthrough", "links": [{"href": "http://nova:8080/v2.1/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/117",
97 "rel": "self"}, {"href": "http://nova:8080/b8f5d85bbcd84af28d7caa62d39f05c7/flavors/117",
98 "rel": "bookmark"}], "ram": 2048, "OS-FLV-DISABLED:disabled": false,
99 "vcpus": 2, "swap": "", "os-flavor-access:is_public": true, "rxtx_factor":
100 1.0, "OS-FLV-EXT-DATA:ephemeral": 0, "disk": 0, "id": "117"}]}'
101 content_type: application/json
102 status_code: 200
103/os-availability-zone/detail:
104 get:
105 body: '{"availabilityZoneInfo": [{"zoneState": {"available": true}, "hosts":
106 {"controller-0": {"nova-conductor": {"available": true, "active": true,
107 "updated_at": "2018-04-27T16:05:25.272674"}, "nova-consoleauth": {"available":
108 true, "active": true, "updated_at": "2018-04-27T16:05:21.875274"}, "nova-scheduler":
109 {"available": true, "active": true, "updated_at": "2018-04-27T16:05:25.286846"}}},
110 "zoneName": "internal"}, {"zoneState": {"available": false}, "hosts":
111 null, "zoneName": "nova"}]}'
112 content_type: application/json
113 status_code: 200
114/os-hypervisors/detail:
115 get:
116 body: '{
117 "hypervisors": [{
118 "status": "disabled",
119 "service": {
120 "host": "compute-0",
121 "disabled_reason": null,
122 "id": 11
123 },
124 "vcpus_used": 0.0,
125 "hypervisor_type": "QEMU",
126 "id": 1,
127 "local_gb_used": 0,
128 "state": "down",
129 "hypervisor_hostname": "compute-0",
130 "host_ip": "192.168.204.162",
131 "memory_mb": 51562,
132 "current_workload": 0,
133 "vcpus": 42,
134 "free_ram_mb": 51562,
135 "running_vms": 0,
136 "free_disk_gb": 1740,
137 "hypervisor_version": 2010000,
138 "disk_available_least": 1740,
139 "local_gb": 1833,
140 "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}}",
141 "memory_mb_used ": 0
142 }]
143}'
144 content_type: application/json
145 status_code: 200
146/os-hypervisors/detail?hypervisor_hostname_pattern=controller-0:
147 get:
148 body: '{
149 "hypervisors": [{
150 "status": "disabled",
151 "service": {
152 "host": "compute-0",
153 "disabled_reason": null,
154 "id": 11
155 },
156 "vcpus_used": 0.0,
157 "hypervisor_type": "QEMU",
158 "id": 1,
159 "local_gb_used": 0,
160 "state": "down",
161 "hypervisor_hostname": "compute-0",
162 "host_ip": "192.168.204.162",
163 "memory_mb": 51562,
164 "current_workload": 0,
165 "vcpus": 42,
166 "free_ram_mb": 51562,
167 "running_vms": 0,
168 "free_disk_gb": 1740,
169 "hypervisor_version": 2010000,
170 "disk_available_least": 1740,
171 "local_gb": 1833,
172 "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}}",
173 "memory_mb_used ": 0
174 }]
175}'
176 content_type: application/json
177 status_code: 200