XStor Block Primary Storage

AddBlockPrimaryStorage

Adds a Block primary storage. For example,
AddBlockPrimaryStorage vendorName=XStor metadata={'ip':'127.0.0.1', 'port':8443, 'username':'test', 'password':'password'} name=PS1 zoneUuid=baddf3cf5a4f43d090ceb6cf49e008c6

Parameters

Name Description Optional Valid Values Starting Version
vendorName The storage vendor name. 4.6.0
metadata The storage metadata. 4.6.0
url Unused. 4.6.0
name The name of the Block primary storage. 4.6.0
description The detailed description of the Block primary storage. Yes 4.6.0
type The primary storage type. The type here is Block. Yes 4.6.0
zoneUuid The zone UUID. 4.6.0
resourceUuid The resource UUID. Yes 4.6.0
tagUuids The tag UUID list. Yes 4.6.0
userTags The user tags. For more information, see CreateUserTag. Yes 4.6.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 4.6.0
timeout Yes

GetBlockPrimaryStorageMetadata

Ges the metadata of the Block primary storage. For example,
GetBlockPrimaryStorageMetadata vendorName=XStor metadata={'ip':'127.0.0.1', 'port':8443, 'username':'test', 'password':'password'}'

Parameters

Name Description Optional Valid Values Starting Version
vendorName The storage vendor name. 4.6.0
metadata The storage metadata. 4.6.0
userTags The user tags. For more information, see CreateUserTag. Yes 4.6.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 4.6.0
timeout Yes

QueryBlockPrimaryStorage

Queries a Block primary storage. For example,
QueryBlockPrimaryStorage

Primitive Field of Query

See Block Primary Storage Inventory.

Nested and Expanded Fields of Query

Name Description Optional Valid Values Starting Version
cluster See Cluster Inverntory. 4.6.0
zone See Zone Inventory. 4.6.0
volume See Volume Inventory. 4.6.0
volumeSnapshot 4.6.0
CLI Command Manual | 4.8.38 | ZStack Cloud · ZCF | ZStack Resource Center