Red Hat Training

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

8.124. neutron lbaas-listener-create

usage: neutron lbaas-listener-create [-h] [-f {json,shell,table,value,yaml}]
                                     [-c COLUMN] [--max-width <integer>]
                                     [--noindent] [--prefix PREFIX]
                                     [--request-format {json}]
                                     [--tenant-id TENANT_ID]
                                     [--description DESCRIPTION]
                                     [--connection-limit CONNECTION_LIMIT]
                                     [--default-pool DEFAULT_POOL]
                                     [--admin-state-down] [--name NAME]
                                     [--default-tls-container-ref DEFAULT_TLS_CONTAINER_REF]
                                     [--sni-container-refs SNI_CONTAINER_REFS [SNI_CONTAINER_REFS ...]]
                                     [--loadbalancer LOADBALANCER] --protocol
                                     {TCP,HTTP,HTTPS,TERMINATED_HTTPS}
                                     --protocol-port PORT
LBaaS v2 Create a listener.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--tenant-id TENANT_ID


      The owner tenant ID.

--description DESCRIPTION


      Description of the listener.

--connection-limit CONNECTION_LIMIT


      The maximum number of connections per second allowed
      for the vip. Positive integer or -1 for unlimited
      (default).

--default-pool DEFAULT_POOL


      Default pool for the listener.

--admin-state-down


        Set admin state up to false.

--name NAME


        The name of the listener. At least one of --default-
      pool or --loadbalancer must be specified.

--default-tls-container-ref DEFAULT_TLS_CONTAINER_REF


      Default TLS container reference to retrieve TLS
      information.

--sni-container-refs SNI_CONTAINER_REFS [SNI_CONTAINER_REFS ...]


      List of TLS container references for SNI.

--loadbalancer LOADBALANCER


      ID or name of the load balancer.

--protocol {TCP,HTTP,HTTPS,TERMINATED_HTTPS}


      Protocol for the listener.

--protocol-port PORT


        Protocol port for the listener.