Bases: nova.network.base_api.NetworkAPI
API for doing networking via the nova-network network manager.
This is a pluggable module - other implementations do networking via other services (such as Neutron).
Create specified DNS entry for address.
Adds a fixed ip to instance from specified network.
Force adds another network to a project.
Adds (allocates) a floating ip to a project from a pool.
Allocates all network structures for an instance.
Parameters: |
|
---|---|
Returns: | network info as from get_instance_nw_info() below |
Associate or disassociate host or project to network.
Associates a floating ip with a fixed ip.
Ensures floating ip is allocated to the project in context. Does not verify ownership of the fixed ip. Caller is assumed to have checked that the instance is properly owned.
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 public DNS domain with optional nova project.
Deallocates all network structures related to instance.
Delete the specified dns domain.
Delete the specified dns entry.
Removes (deallocates) and deletes the floating ip.
This api call was added to allow this to be done in one operation if using neutron.
Disassociates a floating ip from fixed ip it is associated with.
Get all the networks.
If it is an admin user then api will return all the networks. If it is a normal user and nova Flat or FlatDHCP networking is being used then api will return all networks. Otherwise api will only return the networks which belong to the user’s project.
Returns 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.
Returns all network info related to an instance.
Finish migrating the network of an instance.
Start to migrate the network of an instance.
Create specified DNS entry for address.
Removes (deallocates) a floating ip with address from a project.
Removes a fixed ip from instance from specified network.
Setup network for specified instance on host.
Setup or teardown the network structures on hosts related to instance.
validate the networks passed at the time of creating the server.
Return the number of instances that can be successfully allocated with the requested network configuration.
Check policy corresponding to the wrapped methods prior to execution.