Red Hat Training

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

8.70. neutron floatingip-create

usage: neutron floatingip-create [-h] [-f {json,shell,table,value,yaml}]
                                 [-c COLUMN] [--max-width <integer>]
                                 [--noindent] [--prefix PREFIX]
                                 [--request-format {json}]
                                 [--tenant-id TENANT_ID]
                                 [--description DESCRIPTION]
                                 [--port-id PORT_ID]
                                 [--fixed-ip-address FIXED_IP_ADDRESS]
                                 [--floating-ip-address FLOATING_IP_ADDRESS]
                                 [--subnet SUBNET_ID]
                                 [--dns-domain DNS_DOMAIN]
                                 [--dns-name DNS_NAME]
                                 FLOATING_NETWORK
Create a floating IP for a given tenant.

Positional arguments

FLOATING_NETWORK


        ID or name of the network from which the floating IP
      is allocated.

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.

--description DESCRIPTION


      Description of the floating IP.

--port-id PORT_ID ID


        of the port to be associated with the floating IP.

--fixed-ip-address FIXED_IP_ADDRESS


      IP address on the port (only required if port has
      multiple IPs).

--floating-ip-address FLOATING_IP_ADDRESS


      IP address of the floating IP

--subnet SUBNET_ID


        Subnet ID on which you want to create the floating IP.

--dns-domain DNS_DOMAIN


      Assign DNS domain to the floatingip (requires DNS
      integration extension)

--dns-name DNS_NAME


        Assign DNS name to the floatingip (requires DNS
      integration extension)