此内容没有您所选择的语言版本。
2.239. openstack port list
usage: openstack port list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--device-owner <device-owner>] [--router <router>]
usage: openstack port list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN]
[--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--device-owner <device-owner>] [--router <router>]
List ports
Optional arguments
- -h, --help
show this help message and exit
- --device-owner <device-owner>
List only ports with the specified device owner. This
is the entity that uses the port (for example,
network:dhcp).
- --router <router>
List only ports attached to this router (name or ID)