Bases: nova.network.base_api.NetworkAPI
API for interacting with the neutron 2.x API.
Create specified DNS entry for address.
Add a fixed IP to the instance from specified network.
Force add a network to the project.
Add a floating IP to a project from a pool.
Allocate network resources for the instance.
Parameters: |
|
---|
Allocate a port for the instance.
Associate a network for client.
Associate a floating IP with a fixed IP.
Cleanup network for specified instance on host.
Check requested networks for any SR-IOV port request.
Create a PCI request object for each SR-IOV port, and add it to the pci_requests object that contains a list of PCI request object.
Create a private DNS domain with nova availability zone.
Create a private DNS domain with optional nova project.
Deallocate all network resources related to the instance.
Remove a specified port from the instance.
Return network information for the instance
Delete a network for client.
Delete the specified dns domain.
Delete the specified dns entry.
Disassociate a network for client.
Removes (deallocates) and deletes the floating IP.
This api call was added to allow this to be done in one operation if using neutron.
Disassociate a floating IP from the instance.
Get specific network for client.
Get all networks for client.
Return a list of available dns domains.
These can be used to create DNS entries for floating IPs.
Get entries for address and domain.
Get entries for name and domain.
Get a fixed IP from the id.
Return instance uuids given an address.
Return floating IP object given the floating IP id.
Return a floating IP given an address.
Return floating IP pool names.
Return the instance id a floating IP’s fixed IP is allocated to.
List ports for the client based on search options.
Finish migrating the network of an instance.
Start to migrate the network of an instance.
Create specified DNS entry for address.
Remove a floating IP with the given address from a project.
Remove a fixed IP from the instance.
Setup network for specified instance on host.
Setup or teardown the network structures.
Return the port for the client given the port id.
Parameters: |
|
---|---|
Returns: | A dict containing port data keyed by ‘port’, e.g. |
{'port': {'port_id': 'abcd',
'fixed_ip_address': '1.2.3.4'}}
Update instance vnic index.
When the ‘VNIC index’ extension is supported this method will update the vnic index of the instance on the port.
Validate that the tenant can use the requested networks.
Return the number of instances than can be successfully allocated with the requested network configuration.