• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Neutron
  5. LBaas
  6. List listeners

List listeners

Function Description

This interface is used to query listener information.

Interface Format

Method

URI

Description

GET

/v2.0/lbaas/listeners

Queries all listeners on which the tenants sending requests to the system have permissions to perform operations.

Restrictions

N/A

Request Parameter

None

Response Parameter

Parameter

Type

Mandatory

Description

listeners

List(listener)

Yes

Specifies the listener list. For details, see Table 2.

Request Example

GET  /v2.0/lbaas/listeners

Response Example

{
    "listeners": [
        {
            "admin_state_up": true,
            "connection_limit": -1,
            "default_pool_id": null,
            "description": "",
            "id": "35cb8516-1173-4035-8dae-0dae3453f37f",
            "loadbalancers": [
                {
                    "id": "a9729389-6147-41a3-ab22-a24aed8692b2"
                }
            ],
            "name": "",
            "protocol": "HTTP",
            "protocol_port": 80,
            "tenant_id": "3e4d8bec50a845fcb09e03a4375c691d",
            "default_tls_container_ref": "",
            "sni_container_refs": []
        }
    ]
}

Error Code

See section Return Code Processing.