Chuyển tới nội dung chính
openstack floating ip create

Create floating IP

Options​

OptionDescription
<network>Network to allocate floating IP from (name or ID)
--extra-property type=<property_type>,name=<property_name>,value=<property_value>Additional parameters can be passed using this property. Default type of the extra property is string ('str'), but other types can be used as well. Available types are: 'dict', 'list', 'str', 'bool', 'int'. In case of 'list' type, 'value' can be semicolon-separated list of values. For 'dict' value is semicolon-separated list of the key:value pairs.
--subnet <subnet>Subnet on which you want to create the floating IP (name or ID)
--port <port>Port to be associated with the floating IP (name or ID)
--floating-ip-address <ip-address>Floating IP address
--fixed-ip-address <ip-address>Fixed IP address mapped to the floating IP
--qos-policy <qos-policy>Attach QoS policy to the floating IP (name or ID)
--description <description>Set floating IP description
--project <project>Owner's project (name or ID)
--dns-domain <dns-domain>Set DNS domain for this floating IP
--dns-name <dns-name>Set DNS name for this floating IP
--project-domain <project-domain>Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--tag <tag>Tag to be added to the floating IP (repeat option to set multiple tags)
--no-tagNo tags associated with the floating IP