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-ocata/generic_sim/glance | |
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-ocata/generic_sim/glance')
-rw-r--r-- | test/csit/scripts/multicloud-ocata/generic_sim/glance/responses.yml | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/test/csit/scripts/multicloud-ocata/generic_sim/glance/responses.yml b/test/csit/scripts/multicloud-ocata/generic_sim/glance/responses.yml deleted file mode 100644 index d8422352b..000000000 --- a/test/csit/scripts/multicloud-ocata/generic_sim/glance/responses.yml +++ /dev/null @@ -1,73 +0,0 @@ -/v2/images: - get: - body: '{"images": [{"status": "active", "schema": "/v2/schemas/image", - "virtual_size": null, "description": "", "tags": [], "container_format": - "bare", "created_at": "2018-04-21T06:12:13Z", "disk_format": "raw", - "updated_at": "2018-04-21T06:12:24Z", "visibility": "public", "id": - "660709df-e90b-471f-ac57-d8c2555e573d", "owner": "b8f5d85bbcd84af28d7caa62d39f05c7", - "protected": false, "min_ram": 0, "file": "/v2/images/660709df-e90b-471f-ac57-d8c2555e573d/file", - "checksum": "683f86920d4c922cb5c55d99d646b895", "min_disk": 0, "size": - 1697597440, "self": "/v2/images/660709df-e90b-471f-ac57-d8c2555e573d", "store": - "file", "name": "tis4-centos-guest"}], "first": "/v2/images", "schema": - "/v2/schemas/images"}' - content_type: application/json - status_code: 200 -/v2/schemas/image: - get: - body: '{"additionalProperties": {"type": "string"}, "name": "image", - "links": [{"href": "{self}", "rel": "self"}, {"href": "{file}", - "rel": "enclosure"}, {"href": "{schema}", "rel": "describedby"}], - "properties": {"container_format": {"enum": [null, "ami", "ari", "aki", - "bare", "ovf", "ova", "docker"], "type": ["null", "string"], "description": - "Format of the container"}, "min_ram": {"type": "integer", "description": - "Amount of ram (in MB) required to boot image."}, "ramdisk_id": {"pattern": - "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", - "type": ["null", "string"], "description": "ID of image stored in Glance - that should be used as the ramdisk when booting an AMI-style image.", "is_base": - false}, "locations": {"items": {"required": ["url", "metadata"], "type": - "object", "properties": {"url": {"type": "string", "maxLength": - 255}, "metadata": {"type": "object"}}}, "type": "array", "description": - "A set of URLs to access the image file kept in external store"}, "file": - {"readOnly": true, "type": "string", "description": "An image file - url"}, "owner": {"type": ["null", "string"], "description": "Owner - of the image", "maxLength": 255}, "id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", - "type": "string", "description": "An identifier for the image"}, "size": - {"readOnly": true, "type": ["null", "integer"], "description": "Size - of image file in bytes"}, "os_distro": {"type": "string", "description": - "Common name of operating system distribution as specified in https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html", - "is_base": false}, "self": {"readOnly": true, "type": "string", "description": - "An image self url"}, "disk_format": {"enum": [null, "ami", "ari", - "aki", "vhd", "vhdx", "vmdk", "raw", "qcow2", "vdi", "iso", - "ploop"], "type": ["null", "string"], "description": "Format of the - disk"}, "os_version": {"type": "string", "description": "Operating - system version as specified by the distributor", "is_base": false}, "direct_url": - {"readOnly": true, "type": "string", "description": "URL to access - the image file kept in external store"}, "schema": {"readOnly": true, "type": - "string", "description": "An image schema url"}, "status": {"readOnly": - true, "enum": ["queued", "saving", "active", "killed", "deleted", - "pending_delete", "deactivated"], "type": "string", "description": - "Status of the image"}, "tags": {"items": {"type": "string", "maxLength": - 255}, "type": "array", "description": "List of strings related to the - image"}, "kernel_id": {"pattern": "^([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}$", - "type": ["null", "string"], "description": "ID of image stored in Glance - that should be used as the kernel when booting an AMI-style image.", "is_base": - false}, "visibility": {"enum": ["community", "public", "private", - "shared"], "type": "string", "description": "Scope of image accessibility"}, - "updated_at": {"readOnly": true, "type": "string", "description": - "Date and time of the last image modification"}, "min_disk": {"type": - "integer", "description": "Amount of disk space (in GB) required to boot - image."}, "virtual_size": {"readOnly": true, "type": ["null", "integer"], - "description": "Virtual size of image in bytes"}, "instance_uuid": {"type": - "string", "description": "Metadata which can be used to record which instance - this image is associated with. (Informational only, does not create an instance - snapshot.)", "is_base": false}, "name": {"type": ["null", "string"], - "description": "Descriptive name for the image", "maxLength": 255}, "checksum": - {"readOnly": true, "type": ["null", "string"], "description": "md5 - hash of image contents.", "maxLength": 32}, "created_at": {"readOnly": - true, "type": "string", "description": "Date and time of image registration"}, - "protected": {"type": "boolean", "description": "If true, image will - not be deletable."}, "architecture": {"type": "string", "description": - "Operating system architecture as specified in https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html", - "is_base": false}}}' - content_type: application/json - status_code: 200 |