36.10. floating ip set
设置浮动 IP 属性
使用方法:
openstack floating ip set [-h] [--port <port>] [--fixed-ip-address <ip-address>] [--description <description>] [--qos-policy <qos-policy> | --no-qos-policy] [--tag <tag>] [--no-tag] <floating-ip>
openstack floating ip set [-h] [--port <port>]
[--fixed-ip-address <ip-address>]
[--description <description>]
[--qos-policy <qos-policy> | --no-qos-policy]
[--tag <tag>] [--no-tag]
<floating-ip>
value | Summary |
---|---|
<floating-ip> | 要修改的浮动 IP (ip address 或 id) |
value | Summary |
---|---|
-h, --help | 显示帮助信息并退出 |
--port <port> | 将浮动 ip 与端口关联(名称或 id) |
--fixed-ip-address <ip-address> | 修复了端口的 ip (仅在端口有多个 IP 时才需要) |
--description <description> | 设置 floating ip description |
--qos-policy <qos-policy> | 将 qos 策略附加到浮动 ip (名称或 id) |
--no-qos-policy | 移除附加到浮动 ip 的 qos 策略 |
--tag <tag> | 要添加到浮动 ip 的标签(重复选项可设置多个标签) |
--no-tag | 清除与浮动 ip 关联的标签。指定 --tag 和 --no-tag 以覆盖当前标签 |