Questo contenuto non è disponibile nella lingua selezionata.

8.226. neutron subnet-update


usage: neutron subnet-update [-h] [--request-format {json}] [--name NAME]
                             [--description DESCRIPTION]
                             [--gateway GATEWAY_IP | --no-gateway]
                             [--allocation-pool start=IP_ADDR,end=IP_ADDR]
                             [--host-route destination=CIDR,nexthop=IP_ADDR]
                             [--dns-nameserver DNS_NAMESERVER]
                             [--disable-dhcp] [--enable-dhcp]
                             SUBNET
Copy to Clipboard Toggle word wrap
Update subnet's information.

Positional arguments

SUBNET


        ID or name of subnet to update.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--name NAME


        Name of this subnet.

--description DESCRIPTION


      Description of this subnet.

--gateway GATEWAY_IP


        Gateway IP of this subnet.

--no-gateway


        Do not configure a gateway for this subnet.

--allocation-pool


        start=IP_ADDR,end=IP_ADDR
      Allocation pool IP addresses for this subnet (This
      option can be repeated).

--host-route


        destination=CIDR,nexthop=IP_ADDR
      Additional route (This option can be repeated).

--dns-nameserver DNS_NAMESERVER


      DNS name server for this subnet (This option can be
      repeated).

--disable-dhcp


        Disable DHCP for this subnet.

--enable-dhcp


        Enable DHCP for this subnet.

Torna in cima
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

© 2025 Red Hat