Chapter 22. Meta-data
The following sections describe the XIV Command Line Interface (XCLI) for
meta-data handling.
The sections are listed as follows:
v metadata_set(Sets a meta-data of an object.)
v metadata_delete(Deletes a meta-data of an object.)
v metadata_list(Lists a meta-data of an object.)
Setting Meta Data
Sets a meta-data of an object.
metadata_set
object_type=Object
name=Name key=Key value=Value
Parameters:
Name Type Description Mandatory
object_
type
Enumeration Type of object. Available
values: cg, cluster, dest,
destgroup, host,
performanceclass, pool,
rule, schedule, smsgw,
smtpgw, target, user,
user_group, vol.
Y
name Object name Name of object Y
key String Metadata key. Y
value String Metadata value Y
This command sets a new metadata key-value for the specified object. Value will
override previous value if one exists.
Value can be an empty string. There can be up to 16 values, each limited to 128
bytes.
Access Control:
User Category Permission Condition
Storage administrator Allowed N/A
Storage integration administrator Allowed N/A
481