diff --git a/doc/source/admin/fwaas-v2-scenario.rst b/doc/source/admin/fwaas-v2-scenario.rst index bf161acdf85..6c94c19e445 100644 --- a/doc/source/admin/fwaas-v2-scenario.rst +++ b/doc/source/admin/fwaas-v2-scenario.rst @@ -58,7 +58,7 @@ Then, create a firewall that applies the policy. .. code-block:: console - $ neutron firewall-rule-create --protocol {tcp,udp,icmp,any} \ + $ openstack firewall group rule create --protocol {tcp,udp,icmp,any} \ --source-ip-address SOURCE_IP_ADDRESS \ --destination-ip-address DESTINATION_IP_ADDRESS \ --source-port SOURCE_PORT_RANGE --destination-port DEST_PORT_RANGE \ @@ -76,7 +76,7 @@ Then, create a firewall that applies the policy. .. code-block:: console - $ neutron firewall-policy-create --firewall-rules \ + $ openstack firewall group policy create --firewall-rule \ "FIREWALL_RULE_IDS_OR_NAMES" myfirewallpolicy Separate firewall rule IDs or names with spaces. The order in which you @@ -103,7 +103,12 @@ Then, create a firewall that applies the policy. .. code-block:: console - $ neutron firewall-create FIREWALL_POLICY_UUID + $ openstack firewall group create --ingress-firewall-policy \ + "FIREWALL_POLICY_IDS_OR_NAMES" --egress-firewall-policy \ + "FIREWALL_POLICY_IDS_OR_NAMES" --port "PORT_IDS_OR_NAMES" + + Separate firewall policy IDs or names with spaces. The direction in which you + specify the policies is important. .. note::