This command modifies a block host.
Usage
blockhost modify --id ID [--name NAME] [--tags TAGS]
Required Parameters
| Specifies which block host to modify. |
Options
| Specifies the host name. |
| Adds specified key-value pairs to tag the host, for the purpose of categorizing and organizing block hosts. Specify For example: |
Example
vcli: admin> blockhost modify --id 2 --tags team=coolguys,owner=bg
vcli: admin> blockhost show --id 2
+-------------+----------------------------------------------------------------------+
| Id | 2 |
| Tenant-id | 1 |
| Name | blockhost1 |
| Nqn | nqn.2014-08.org.nvmexpress:uuid:4c4c4544-004e-3310-804d-c6c04f4b3234 |
| Tags | {} |
| Tenant-name | default |
+-------------+----------------------------------------------------------------------+
vcli: admin> blockhost modify --id 2 --tags "team=coolguys,owner=bg"
vcli: admin> blockhost show --id 2
+-------------+----------------------------------------------------------------------+
| Id | 2 |
| Tenant-id | 1 |
| Name | blockhost1 |
| Nqn | nqn.2014-08.org.nvmexpress:uuid:4c4c4544-004e-3310-804d-c6c04f4b3234 |
| Tags | {'team': 'coolguys', 'owner': 'bg'} |
| Tenant-name | default |
+-------------+----------------------------------------------------------------------+