The FloatingIP
class inherits from Resource
.
openstack.network.v2.floating_ip.
FloatingIP
(attrs=None, loaded=False)¶Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct
resource objects, which are preferrable to entering through
this initializer. See Resource.new()
and
Resource.existing()
.
Parameters: |
|
---|
fixed_ip_address
= None¶The fixed IP address associated with the floating IP. If you intend to associate the floating IP with a fixed IP at creation time, then you must indicate the identifier of the internal port. If an internal port has multiple associated IP addresses, the service chooses the first IP unless you explicitly specify the parameter fixed_ip_address to select a specific IP.
floating_ip_address
= None¶The floating IP address.
floating_network_id
= None¶The ID of the network associated with the floating IP.
port_id
= None¶The port ID.
project_id
= None¶The ID of the project this floating IP is associated with.
router_id
= None¶The ID of an associated router.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.