69.84. 共享服务器采用
采用不是由 Manila 处理的共享服务器(仅限管理员)。
使用方法:
openstack share server adopt [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
[--driver-options <key=value>]
[--share-network-subnet <share-network-subnet>]
[--wait]
<host> <share-network> <identifier>
openstack share server adopt [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
[--driver-options <key=value>]
[--share-network-subnet <share-network-subnet>]
[--wait]
<host> <share-network> <identifier>
| value | Summary |
|---|---|
| <host> | 后端名称为 "<node_hostname>@<backend_name>"。 |
| <share-network> | 共享服务器在其中分配网络的网络。 |
| <identifier> | 驱动程序所需的特定于驱动程序的共享服务器标识符来管理共享服务器。 |
| value | Summary |
|---|---|
| -h, --help | 显示帮助信息并退出 |
| --driver-options <key=value> | 一个或多个特定于驱动程序的 key=value 对,可能需要管理共享服务器(可选,Default=None)。 |
| --share-network-subnet <share-network-subnet> | 共享服务器在其中具有网络分配的网络子网。如果未指定,则使用默认子网。适用于 microversion >= 2.51 (可选,Default=None)。 |
| --wait | 等待共享服务器被采用 |
| value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | 输出格式,默认为 table |
| -c COLUMN, --column COLUMN | 指定要包含的列,可以重复显示多个列 |
| value | Summary |
|---|---|
| --noindent | 是否禁用对 json 的缩进 |
| value | Summary |
|---|---|
| --prefix PREFIX | 在所有变量名称中添加前缀 |
| value | Summary |
|---|---|
| --max-width <integer> | 最大显示宽度,即 <1 来禁用。您还可以使用 CLIFF_MAX_TERM_WIDTH 环境变量,但参数具有优先权。 |
| --fit-width | 将表与显示宽度匹配。如果 --max 宽度大于 0,则表示表示。将环境变量 CLIFF_FIT_WIDTH=1 设置为 always 启用 |
| --print-empty | 如果没有要显示数据,则打印空表。 |