このコンテンツは選択した言語では利用できません。
Chapter 37. host
This chapter describes the commands under the host
command.
37.1. host list リンクのコピーリンクがクリップボードにコピーされました!
Usage:
List hosts
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--zone <zone> | Only return hosts in the availability zone |
Value | Summary |
---|---|
-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |
37.2. host set リンクのコピーリンクがクリップボードにコピーされました!
Usage:
openstack host set [-h] [--enable | --disable] [--enable-maintenance | --disable-maintenance] <host>
openstack host set [-h] [--enable | --disable]
[--enable-maintenance | --disable-maintenance]
<host>
Set host properties
Value | Summary |
---|---|
<host> | Host to modify (name only) |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
--enable | Enable the host |
--disable | Disable the host |
--enable-maintenance | Enable maintenance mode for the host |
--disable-maintenance | Disable maintenance mode for the host |
37.3. host show リンクのコピーリンクがクリップボードにコピーされました!
Usage:
Display host details
Value | Summary |
---|---|
<host> | Name of host |
Value | Summary |
---|---|
-h, --help | Show this help message and exit |
Value | Summary |
---|---|
-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | the output format, defaults to table |
-c COLUMN, --column COLUMN | specify the column(s) to include, can be repeated |
--sort-column SORT_COLUMN | specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
Value | Summary |
---|---|
--max-width <integer> | Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
--fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
--print-empty | Print empty table if there is no data to show. |
Value | Summary |
---|---|
--noindent | Whether to disable indenting the json |
Value | Summary |
---|---|
--quote {all,minimal,none,nonnumeric} | when to include quotes, defaults to nonnumeric |