Bases: nova.db.base.Base
API for interacting with the network manager.
Create specified DNS entry for address
Adds a fixed ip to instance from specified network.
Force adds another network to a project.
Adds a floating ip to a project from a pool. (allocates)
Allocates all network structures for an instance.
Returns: | network info as from get_instance_nw_info() below |
---|
Associates a floating ip with a fixed ip.
ensures floating ip is allocated to the project in context
Create a private DNS domain with nova availability zone.
Create a private DNS domain with optional nova project.
Deallocates all network structures related to instance.
Delete the specified dns domain.
Delete the specified dns entry.
Disassociates a floating ip from fixed ip it is associated with.
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.
Returns a list of dicts in the form of {‘instance_uuid’: uuid, ‘ip’: ip} that matched the ip_filter
Create specified DNS entry for address
Removes floating ip with address from a project. (deallocates)
Removes a fixed ip from instance from specified network.
Setup or teardown the network structures on hosts related to instance
validate the networks passed at the time of creating the server
Decorator to update the instance_info_cache
Requires context and instance as function args