• Native OpenStack API

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

Update firewall group

Function Description

This interface is used to update a firewall group.

Interface Format

Method

URI

Description

PUT

/v2.0/fwaas/firewall_groups/{firewall_group_id}

Updates a firewall group.

Restrictions

N/A

Request Parameter

Parameter

Type

Mandatory

Description

firewall_group

Dict

Yes

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

This parameter has no mandatory fields.

Response Parameter

Parameter

Type

Mandatory

Description

firewall_group

Dict

Yes

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

Request Example

PUT /v2.0/fwaas/firewall_groups/2fb0e81f-9f63-44b2-9894-c13a3284594a 
{
"firewall_group": {
"egress_firewall_policy_id": "53f36c32-db25-4856-a0ba-e605fd88c5e9"
}
}

Response Example

{
"firewall_group": {
"status": "PENDING_UPDATE",
"public": false,
"egress_firewall_policy_id": "53f36c32-db25-4856-a0ba-e605fd88c5e9",
"name": "",
"admin_state_up": true,
"ports": [
"c133f2bf-6937-4416-bb17-012e1be5cd2d"
],
"tenant_id": "23c8a121505047b6869edf39f3062712",
"id": "0415f554-26ed-44e7-a881-bdf4e6216e38",
"ingress_firewall_policy_id": "afc52ce9-5305-4ec9-9feb-44feb8330341",
"description": ""
}
}

Error Code

See section Return Code Processing.