• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Neutron
  5. Firewall as a Service
  6. List firewall groups

List firewall groups

Function Description

This interface is used to query all firewall groups.

Interface Format

Method

URI

Description

GET

/v2.0/fwaas/firewall_groups

Queries all firewall groups accessible to the tenant submitting the request.

Restrictions

N/A

Request Parameter

None

Response Parameter

Parameter

Type

Mandatory

Description

firewall_groups

List(firewall group)

Yes

Specifies the firewall group list. For details, see Table 3.

Request Example

GET  /v2.0/fwaas/firewall_groups

Response Example

{
"firewall_groups": [
{
"status": "INACTIVE",
"public": false,
"egress_firewall_policy_id": null,
"name": "",
"admin_state_up": true,
"ports": [],
"tenant_id": "23c8a121505047b6869edf39f3062712",
"id": "cd600d47-0045-483f-87a1-5041ae2f513b",
"ingress_firewall_policy_id": null,
"description": ""
},
{
"status": "INACTIVE",
"public": false,
"egress_firewall_policy_id": "d939df29-fe76-4089-90c3-3778e4d53141",
"name": "fwg-1475475043",
"admin_state_up": true,
"ports": [],
"tenant_id": "0af57070695044ea9a70f04779e6aa1f",
"id": "ca971b45-70ce-4879-9734-b6cac1d00845",
"ingress_firewall_policy_id": "d939df29-fe76-4089-90c3-3778e4d53141",
"description": ""
}
]
}

Error Code

See section Return Code Processing.