47.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>

表 47.22. 位置参数

概述

<port>

要修改的端口(名称或 id)

表 47.23. 可选参数

概述

--all-tag

清除与端口关联的所有标签

--allowed-address ip-address=<ip-address>[,mac-address=<mac-address>]

需要的 allowed-address 对应该从此端口中删除: ip-address=<ip-address> [,mac-address =<mac-address>](用于设置多个允许的地址对)

--data-plane-status

清除 data plane 状态的现有信息

--qos-policy

移除附加到端口的 qos 策略

--security-group <security-group>

应该移除此端口(名称或 ID)的安全组(重复选项以取消多个安全组)

--fixed-ip subnet=<subnet>,ip-address=<ip-address>

需要的 ip 和/或子网应从此端口中删除(名称或 ID):子网=<subnet>,ip-address =<ip-address> (重复选项以取消多个固定 IP 地址)

-h, --help

显示帮助信息并退出

--binding-profile <binding-profile-key>

需要的键应该从绑定中删除:profile (repeat option to unset multiple binding:profile data)

--tag <tag>

要从端口中删除标签(重复选项以删除多个标签)