Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

8.40. neutron firewall-create

usage: neutron firewall-create [-h] [-f {json,shell,table,value,yaml}]
                               [-c COLUMN] [--max-width <integer>]
                               [--noindent] [--prefix PREFIX]
                               [--request-format {json}]
                               [--tenant-id TENANT_ID] [--name NAME]
                               [--description DESCRIPTION]
                               [--router ROUTER | --no-routers]
                               [--admin-state-down]
                               POLICY
Create a firewall.

Positional arguments

POLICY


        ID or name of the firewall policy associated to this
      firewall.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--tenant-id TENANT_ID


      The owner tenant ID.

--name NAME


        Name for the firewall.

--description DESCRIPTION


      Description for the firewall.

--router ROUTER ID


        or name of the router associated with the firewall
      (requires FWaaS router insertion extension to be
      enabled). This option can be repeated.

--no-routers


        Associate no routers with the firewall (requires FWaaS
      router insertion extension).

--admin-state-down


        Set admin state up to false.