10.81. 裸机端口集
设置裸机端口属性。
使用方法:
| value | Summary |
|---|---|
| <port> | 端口的 UUID |
| value | Summary |
|---|---|
| -h, --help | 显示帮助信息并退出 |
| --node <uuid> | 为此端口所属节点设置 uuid |
| --address <address> | 为此端口设置 mac 地址 |
| --extra <key=value> | 在这个 baremetal 端口上设置的额外(重复选项可设置多个额外端口) |
| --port-group <uuid> | 设置此端口所属的端口组的 uuid。 |
| --local-link-connection <key=value> | 描述本地链接连接信息的键/值元数据。有效键是 switch_info、switch_id、port_id 和 hostname。需要密钥 switch_id 和 port_id。如果是智能 NIC 端口,所需键为 port_id 和主机名。参数可以多次指定。 |
| --pxe-enabled | 表示在 pxe 引导此节点(默认)时应使用此端口。 |
| --pxe-disabled | 表示在 pxe 引导此节点时不应使用此端口 |
| --physical-network <physical network> | 设置此端口连接到的物理网络的名称。 |
| --is-smartnic | 将 port 设置为 smart nic 端口 |