このコンテンツは選択した言語では利用できません。

8.168. neutron port-update


usage: neutron port-update [-h] [--request-format {json}] [--name NAME]
                           [--description DESCRIPTION]
                           [--fixed-ip subnet_id=SUBNET,ip_address=IP_ADDR]
                           [--device-id DEVICE_ID]
                           [--device-owner DEVICE_OWNER]
                           [--admin-state-up {True,False}]
                           [--security-group SECURITY_GROUP | --no-security-groups]
                           [--extra-dhcp-opt EXTRA_DHCP_OPTS]
                           [--qos-policy QOS_POLICY | --no-qos-policy]
                           [--allowed-address-pair ip_address=IP_ADDR[,mac_address=MAC_ADDR]
                           | --no-allowed-address-pairs]
                           [--dns-name DNS_NAME | --no-dns-name]
                           PORT
Update port's information.

Positional arguments

PORT


        ID or name of port 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 port.

--description DESCRIPTION


      Description of this port.

--fixed-ip


        subnet_id=SUBNET,ip_address=IP_ADDR
      Desired IP and/or subnet for this port:
      subnet_id=<name_or_id>,ip_address=<ip>. You can repeat
      this option.

--device-id DEVICE_ID


      Device ID of this port.

--device-owner DEVICE_OWNER


      Device owner of this port.

--admin-state-up {True,False}


      Set admin state up for the port.

--security-group SECURITY_GROUP


      Security group associated with the port. You can
      repeat this option.

--no-security-groups


        Associate no security groups with the port.

--extra-dhcp-opt EXTRA_DHCP_OPTS


      Extra dhcp options to be assigned to this port: opt_na
      me=<dhcp_option_name>,opt_value=<value>,ip_version={4,
      6}. You can repeat this option.

--qos-policy QOS_POLICY


      ID or name of the QoS policy that shouldbe attached to
      the resource.

--no-qos-policy


        Detach QoS policy from the resource.

--allowed-address-pair


        ip_address=IP_ADDR[,mac_address=MAC_ADDR]
      Allowed address pair associated with the port. You can
      repeat this option.

--no-allowed-address-pairs


      Associate no allowed address pairs with the port.

--dns-name DNS_NAME


        Assign DNS name to the port (requires DNS integration
      extension.)

--no-dns-name


        Unassign DNS name from the port (requires DNS
      integration extension.)

Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2026 Red Hat
トップに戻る