第 72 章 server
本章论述了 server
命令下的命令。
72.1. server 添加固定的 ip 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
为服务器添加固定的 IP 地址
使用方法:
openstack server add fixed ip [-h] [--fixed-ip-address <ip-address>] [--tag <tag>] <server> <network>
openstack server add fixed ip [-h] [--fixed-ip-address <ip-address>]
[--tag <tag>]
<server> <network>
value | Summary |
---|---|
<server> | server 接收固定的 ip 地址(名称或 id) |
<network> | 从网络分配固定的 ip 地址(名称或 ID) |
value | Summary |
---|---|
-h, --help | 显示帮助信息并退出 |
--fixed-ip-address <ip-address> | 请求的固定 IP 地址 |
--tag <tag> | 附加的接口的标签。(由 --os- compute-api-version 2.52 或更高版本支持) |