List Firewall Rules

Verb URI Description
GET /fw/firewall_rules List Firewall Rules.

Normal Response Code: 200

Error Response Codes: Unauthorized (401).

This operation does not require a request body.

This operation returns a response body.

 

Example 4.116. List Firewall Rules: Request

GET /v2.0/fw/firewall_rules.json
User-Agent: python-neutronclient
Accept: application/json
                

 

Example 4.117. List Firewall Rules: Response

{
    "firewall_rules": [
        {
            "action": "allow",
            "description": "",
            "destination_ip_address": null,
            "destination_port": "80",
            "enabled": true,
            "firewall_policy_id": "c69933c1-b472-44f9-8226-30dc4ffd454c",
            "id": "8722e0e0-9cc9-4490-9660-8c9a5732fbb0",
            "ip_version": 4,
            "name": "ALLOW_HTTP",
            "position": 1,
            "protocol": "tcp",
            "shared": false,
            "source_ip_address": null,
            "source_port": null,
            "tenant_id": "45977fa2dbd7482098dd68d0d8970117"
        }
    ]
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...