Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

8.209. neutron router-port-list

usage: neutron router-port-list [-h] [-f {csv,json,table,value,yaml}]
                                [-c COLUMN] [--max-width <integer>]
                                [--noindent]
                                [--quote {all,minimal,none,nonnumeric}]
                                [--request-format {json}] [-D] [-F FIELD]
                                [-P SIZE] [--sort-key FIELD]
                                [--sort-dir {asc,desc}]
                                ROUTER
List ports that belong to a given tenant, with specified router.

Positional arguments

ROUTER


        ID or name of the router to look up.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

-D, --show-details


        Show detailed information.

-F FIELD, --field FIELD


      Specify the field(s) to be returned by server. You can
      repeat this option.

-P SIZE, --page-size SIZE


      Specify retrieve unit of each request, then split one
      request to several requests.

--sort-key FIELD


        Sorts the list by the specified fields in the
      specified directions. You can repeat this option, but
      you must specify an equal number of sort_dir and
      sort_key values. Extra sort_dir options are ignored.
      Missing sort_dir options use the default asc value.

--sort-dir {asc,desc}


      Sorts the list in the specified direction. You can
      repeat this option.