diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-09-27 10:29:30 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-09-27 12:50:28 -0700 |
commit | 2d3d8dcf6ef1bd2a161c69d561c629c5ec3f59c4 (patch) | |
tree | 652fd47a183c291e96c6721f550a5f63464f6e66 /test/csit/scripts/multicloud-pike/generic_sim/nova | |
parent | e161173e279a73134dda4c2f429605d6c9ee1fe7 (diff) |
Move CSIT to integration/csit repo
To facilite branching of CSIT tests, all CSIT test
code and scripts are relocated to the integration/csit
repo.
Change-Id: I6777cd414e43dbf2bfa6215f7e50849e1a6a2e59
Issue-ID: INT-671
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'test/csit/scripts/multicloud-pike/generic_sim/nova')
-rw-r--r-- | test/csit/scripts/multicloud-pike/generic_sim/nova/responses.yml | 177 |
1 files changed, 0 insertions, 177 deletions
diff --git a/test/csit/scripts/multicloud-pike/generic_sim/nova/responses.yml b/test/csit/scripts/multicloud-pike/generic_sim/nova/responses.yml deleted file mode 100644 index 944697117..000000000 --- a/test/csit/scripts/multicloud-pike/generic_sim/nova/responses.yml +++ /dev/null @@ -1,177 +0,0 @@ -/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 |