11.70. 裸机节点集
设置裸机属性
使用方法:
| value | Summary |
|---|---|
| <node> | 节点的 name 或 uuid。 |
| value | Summary |
|---|---|
| -h, --help | 显示帮助信息并退出 |
| --instance-uuid <uuid> | 将 node 的 instance uuid 设置为 <uuid> |
| --name <name> | 设置节点的名称 |
| --chassis-uuid <chassis UUID> | 为节点设置机箱 |
| --driver <driver> | 为节点设置驱动程序 |
| --bios-interface <bios_interface> | 为节点设置 bios 接口 |
| --reset-bios-interface | 将 bios 接口重置为其硬件类型 default |
| --boot-interface <boot_interface> | 为节点设置引导接口 |
| --reset-boot-interface | 将引导接口重置为其硬件类型默认 |
| --console-interface <console_interface> | 为节点设置控制台接口 |
| --reset-console-interface | 将控制台界面重置为其硬件类型默认 |
| --deploy-interface <deploy_interface> | 为节点设置部署接口 |
| --reset-deploy-interface | 将部署接口重置为其硬件类型默认 |
| --inspect-interface <inspect_interface> | 为节点设置检查接口 |
| --reset-inspect-interface | 将检查接口重置为其硬件类型默认 |
| --management-interface <management_interface> | 为节点设置管理界面 |
| --reset-management-interface | 将管理界面重置为其硬件类型默认 |
| --network-interface <network_interface> | 为节点设置网络接口 |
| --reset-network-interface | 将网络接口重置为其硬件类型默认 |
| --network-data <network data> | JSON 字符串或 yaml 文件,用于 stdin,读取与此 ironic 节点关联的 baremetal 节点的静态网络配置。此文件格式应符合 Nova 网络数据元数据(network_data.json)。根据使用的 ironic 引导接口功能,网络配置可能也可能没有提供给节点,以进行离线网络配置。 |
| --power-interface <power_interface> | 为节点设置电源接口 |
| --reset-power-interface | 将电源接口重置为其硬件类型默认 |
| --raid-interface <raid_interface> | 为节点设置 raid 接口 |
| --reset-raid-interface | 将 raid 接口重置为其硬件类型默认 |
| --rescue-interface <rescue_interface> | 为节点设置救援接口 |
| --reset-rescue-interface | 将救援接口重置为其硬件类型 default |
| --storage-interface <storage_interface> | 为节点设置存储接口 |
| --reset-storage-interface | 将存储接口重置为其硬件类型默认 |
| --vendor-interface <vendor_interface> | 为节点设置厂商接口 |
| --reset-vendor-interface | 将厂商接口重置为其硬件类型默认 |
| --reset-interfaces | 将未明确指定的所有接口重置为其默认实施。仅对 --driver 有效。 |
| --resource-class <resource_class> | 为节点设置资源类 |
| --conductor-group <conductor_group> | 为节点设置编排器组 |
| --automated-clean | 为节点启用自动清理 |
| --no-automated-clean | 为节点明确禁用自动清理 |
| --protected | 将节点标记为 protected |
| --protected-reason <protected_reason> | 将节点标记为 protected |
| --retired | 将节点标记为已停用 |
| --retired-reason <retired_reason> | 设置将节点标记为停用的原因 |
| --target-raid-config <target_raid_config> | 为节点设置目标 raid 配置(json)。可以是以下之一:1。包含 RAID 配置的 YAML 数据的文件;2 "-"从标准输入中读取内容;或 3。有效的 JSON 字符串。 |
| --property <key=value> | 在这个 baremetal 节点上设置的属性(重复选项来设置多个属性) |
| --extra <key=value> | 在这个裸机节点上设置的额外(重复选项可设置多个额外选项) |
| --driver-info <key=value> | 在此裸机节点上设置的驱动程序信息(需要设置多个驱动程序信息) |
| --instance-info <key=value> | 在此裸机节点上设置的实例信息(重复选项来设置多个实例信息) |
| --owner <owner> | 设置节点的所有者 |
| --lessee <lessee> | 为节点设置 lessee |
| --description <description> | 设置节点的描述 |