Chuyển tới nội dung chính
openstack router list

List routers

Options​

OptionDescription
--name <name>List routers according to their name
--enableList enabled routers
--disableList disabled routers
--longList additional fields in output
--project <project>List routers according to their project (name or ID)
--project-domain <project-domain>Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--agent <agent-id>List routers hosted by an agent (ID only)
--tags <tag>[,<tag>,...]List routers which have all given tag(s) (Comma- separated list of tags)
--any-tags <tag>[,<tag>,...]List routers which have any given tag(s) (Comma- separated list of tags)
--not-tags <tag>[,<tag>,...]Exclude routers which have all given tag(s) (Comma- separated list of tags)
--not-any-tags <tag>[,<tag>,...]Exclude routers which have any given tag(s) (Comma- separated list of tags)