• Native OpenStack API

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

Show firewall policy

Function Description

This interface is used to query details about a specific firewall policy.

Interface Format

Method

URI

Description

GET

/v2.0/fwaas/firewall_policies/{firewall_policy_id}

Queries details about a firewall policy specified by the tenant submitting the request.

Restrictions

N/A

Request Parameter

None

Response Parameter

Parameter

Type

Mandatory

Description

firewall_policy

Dict

Yes

Specifies the firewall policy. For details, see Table 2.

Request Example

GET /v2.0/fwaas/firewall_policies/fed2d88f-d0e7-4cc5-bd7e-c495f67037b6

Response Example

{
"firewall_policy": {
"description": "",
"firewall_rules": [
"3c0e6267-73df-4d9a-87a6-e226f2db2036"
],
"tenant_id": "23c8a121505047b6869edf39f3062712",
"public": false,
"id": "fed2d88f-d0e7-4cc5-bd7e-c495f67037b6",
"audited": false,
"name": "bobby_fwp1"
}
}

Error Code

See section Return Code Processing.