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.
:param context - Request context. :param port_id - The id of port to be queried. :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.