11.52. 裸机节点创建
使用 baremetal 服务注册新节点
使用方法:
| value | Summary |
|---|---|
| -h, --help | 显示帮助信息并退出 |
| --chassis-uuid <chassis> | 此节点所属的机箱的 UUID。 |
| --driver <driver> | 用于控制节点的驱动程序 [必需]。 |
| --driver-info <key=value> | 驱动程序使用的键/值对,如带外管理凭证。可多次指定。 |
| --property <key=value> | 键/值对描述节点的物理特性。这会导出到 Nova,并由调度程序使用。可多次指定。 |
| --extra <key=value> | 记录任意键/值 metadata. 可以多次指定。 |
| --uuid <uuid> | 节点的唯一 uuid。 |
| --name <name> | 节点的唯一名称。 |
| --bios-interface <bios_interface> | 节点驱动程序使用的 BIOS 接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --boot-interface <boot_interface> | 节点的驱动程序使用的引导接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --console-interface <console_interface> | 节点驱动程序使用的控制台接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --deploy-interface <deploy_interface> | 部署由节点驱动程序使用的接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --inspect-interface <inspect_interface> | 检查节点驱动程序使用的接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --management-interface <management_interface> | 节点的驱动程序使用的管理界面。这仅在指定的 --driver 是硬件类型时才有效。 |
| --network-interface <network_interface> | 用于切换节点用于清理/置备网络的网络接口。 |
| --power-interface <power_interface> | 节点驱动程序使用的电源接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --raid-interface <raid_interface> | 节点驱动程序使用的 RAID 接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --rescue-interface <rescue_interface> | 节点的驱动程序使用的救援接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --storage-interface <storage_interface> | 节点驱动程序使用的存储接口。 |
| --vendor-interface <vendor_interface> | 节点的驱动程序使用的供应商接口。这仅在指定的 --driver 是硬件类型时才有效。 |
| --resource-class <resource_class> | 用于将节点映射到 nova 类别的资源类 |
| --conductor-group <conductor_group> | 节点将属于的编排器组 |
| --automated-clean | 为节点启用自动清理 |
| --owner <owner> | 节点的所有者。 |
| --description <description> | 节点的描述。 |
| 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 | 如果没有要显示数据,则打印空表。 |