EVS

The SDK interfaces based on the EVS v2 API are as follows. Invocation example: conn.evs.create_volume_()

Interface

Method

API

Volume Operations

create_volume(**data)

POST /v2/{project_id}/cloudvolumes

Link

update_volume(volume_id, **data)

PUT /v2/{project_id}/cloudvolumes/{volume_id}

Link

get_volume(volume_id)

GET /v2/{project_id}/cloudvolumes/{volume_id}

Link

resize_volume(self, volume_id, **data)

POST /v2/{project_id}/cloudvolumes/{volume_id}/action

Link

volumes(self, **query)

GET /v2/{project_id}/cloudvolumes/detail

Link

Job Operations

get_job(self, job_id)

GET /v1/{project_id}/jobs/{job_id}

Link

The SDK interfaces based on the EVS v2.1 API are as follows.

Invocation example: conn.evs.create_volume_ext()

Interface

Method

API

Volume Operations

create_volume_ext(self, **attrs)

POST /v2.1/{project_id}/cloudvolumes

Link

resize_volume_ext(self, volume_id, **data)

POST /v2.1/{project_id}/cloudvolumes/{volume_id}/action

Link

The SDK interfaces based on the Cinder v2 API are as follows.

Invocation example: conn.block_store.create_volume()

Interface

Method

API

Snapshot Operations

get_snapshot(self, snapshot)

GET /v2/{project_id}/snapshots/{snapshot_id}

Link

snapshots(self, details=True, **query)

GET /v2/{project_id}/snapshots/detail

Link

create_snapshot(self, **attrs)

POST /v2/{project_id}/snapshots

Link

delete_snapshot(self, snapshot, ignore_missing=True)

DELETE /v2/{project_id}/snapshots/{snapshot_id}

Link

Type Operations

get_type(self, type)

GET /v2/{project_id}/types/{volume_type_id}

Link

types(self)

GET /v2/{project_id}/types

Link

Volume Operations

get_volume(self, volume)

GET /v2/{project_id}/volumes/{volume_id}

Link

volumes(self, details=True, **query)

GET /v2/{project_id}/volumes/detail

Link

create_volume(self, **attrs)

POST /v2/{project_id}/volumes

Link

delete_volume(self, volume, ignore_missing=True, cascade=False)

DELETE /v2/{project_id}/volumes/{volume_id}

Link