Questo contenuto non è disponibile nella lingua selezionata.

8.54. neutron firewall-rule-update


usage: neutron firewall-rule-update [-h] [--request-format {json}]
                                    [--shared {True,False}]
                                    [--ip-version {4,6}] [--name NAME]
                                    [--description DESCRIPTION]
                                    [--source-ip-address SOURCE_IP_ADDRESS]
                                    [--destination-ip-address DESTINATION_IP_ADDRESS]
                                    [--source-port SOURCE_PORT]
                                    [--destination-port DESTINATION_PORT]
                                    [--enabled {True,False}]
                                    [--protocol {tcp,udp,icmp,any}]
                                    [--action {allow,deny,reject}]
                                    FIREWALL_RULE
Update a given firewall rule.

Positional arguments

FIREWALL_RULE


        ID or name of firewall_rule to update.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--shared {True,False}


      Update the shared flag for the firewall rule.

--ip-version {4,6}


        Update IP version for the firewall rule.

--name NAME


        Name for the firewall rule.

--description DESCRIPTION


      Description for the firewall rule.

--source-ip-address SOURCE_IP_ADDRESS


      Source IP address or subnet.

--destination-ip-address DESTINATION_IP_ADDRESS


      Destination IP address or subnet.

--source-port SOURCE_PORT


      Source port (integer in [1, 65535] or range in a:b).

--destination-port DESTINATION_PORT


      Destination port (integer in [1, 65535] or range in
      a:b).

--enabled {True,False}


      Whether to enable or disable this rule.

--protocol {tcp,udp,icmp,any}


      Protocol for the firewall rule.

--action {allow,deny,reject}


      Action for the firewall rule.

Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima