59.6. 端口未设置
取消设置端口属性
使用方法:
openstack port unset [-h]
[--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
[--binding-profile <binding-profile-key>]
[--security-group <security-group>]
[--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]]
[--qos-policy] [--data-plane-status]
[--tag <tag> | --all-tag]
<port>
表 59.22. 位置参数
| 值 | 概述 |
|---|---|
| <port> | 要修改的端口(名称或 id) |
表 59.23. 可选参数
| 值 | 概述 |
|---|---|
| -h, --help | 显示帮助信息并退出 |
| --fixed-ip subnet=<subnet>,ip-address=<ip-address> | 需要的 ip 和/或子网应从此端口中删除(名称或 ID):子网=<subnet>,ip- address=<ip-address> (重复选项以取消多个固定 IP 地址) |
| --binding-profile <binding-profile-key> | 需要的键应该从绑定中删除(重复选项以取消设置多个绑定:profile 数据) |
| --security-group <security-group> | 应该移除此端口(名称或 ID)的安全组(重复选项以取消多个安全组) |
| --allowed-address ip-address=<ip-address>[,mac-address=<mac-address>] | 需要的 allowed-address 对应该从此端口中删除: ip-address=<ip-address>[,mac- address=<mac-address>](repeat 选项来取消多个 allowed-address 对。) |
| --qos-policy | 移除附加到端口的 qos 策略 |
| --data-plane-status | 清除 data plane 状态的现有信息 |
| --tag <tag> | 要从端口中删除标签(重复选项以删除多个标签) |
| --all-tag | 清除与端口关联的所有标签 |