The nova.network.rpcapi Module

Client side of the network RPC API.

class NetworkAPI(topic=None)

Bases: nova.openstack.common.rpc.proxy.RpcProxy

Client side of the network rpc API.

API version history:

1.0 - Initial version. 1.1 - Adds migrate_instance_[start|finish] 1.2 - Make migrate_instance_[start|finish] a little more flexible 1.3 - Adds fanout cast update_dns for multi_host networks 1.4 - Add get_backdoor_port() 1.5 - Adds associate 1.6 - Adds instance_uuid to _{dis,}associate_floating_ip 1.7 - Adds method get_floating_ip_pools to replace get_floating_pools 1.8 - Adds macs to allocate_for_instance 1.9 - Adds rxtx_factor to [add|remove]_fixed_ip, removes instance_uuid

from allocate_for_instance and instance_get_nw_info
BASE_RPC_API_VERSION = '1.0'
add_dns_entry(ctxt, address, name, dns_type, domain)
add_fixed_ip_to_instance(ctxt, instance_id, rxtx_factor, host, network_id)
add_network_to_project(ctxt, project_id, network_uuid)
allocate_floating_ip(ctxt, project_id, pool, auto_assigned)
allocate_for_instance(ctxt, instance_id, project_id, host, rxtx_factor, vpn, requested_networks, macs=None)
associate(ctxt, network_uuid, associations)
associate_floating_ip(ctxt, floating_address, fixed_address, affect_auto_assigned)
create_networks(ctxt, **kwargs)
create_private_dns_domain(ctxt, domain, av_zone)
create_public_dns_domain(ctxt, domain, project)
deallocate_fixed_ip(ctxt, address, host)
deallocate_floating_ip(ctxt, address, affect_auto_assigned)
deallocate_for_instance(ctxt, instance_id, project_id, host)
delete_dns_domain(ctxt, domain)
delete_dns_entry(ctxt, name, domain)
delete_network(ctxt, uuid, fixed_range)
disassociate_floating_ip(ctxt, address, affect_auto_assigned)
disassociate_network(ctxt, network_uuid)
get_all_networks(ctxt)
get_backdoor_port(ctxt, host)
get_dns_domains(ctxt)
get_dns_entries_by_address(ctxt, address, domain)
get_dns_entries_by_name(ctxt, name, domain)
get_fixed_ip(ctxt, id)
get_fixed_ip_by_address(ctxt, address)
get_floating_ip(ctxt, id)
get_floating_ip_by_address(ctxt, address)
get_floating_ip_pools(ctxt)
get_floating_ips_by_fixed_address(ctxt, fixed_address)
get_floating_ips_by_project(ctxt)
get_instance_id_by_floating_address(ctxt, address)
get_instance_nw_info(ctxt, instance_id, rxtx_factor, host, project_id)
get_instance_uuids_by_ip_filter(ctxt, filters)
get_network(ctxt, network_uuid)
get_vif_by_mac_address(ctxt, mac_address)
get_vifs_by_instance(ctxt, instance_id)
lease_fixed_ip(ctxt, address, host)
migrate_instance_finish(ctxt, instance_uuid, rxtx_factor, project_id, source_compute, dest_compute, floating_addresses, host=None)
migrate_instance_start(ctxt, instance_uuid, rxtx_factor, project_id, source_compute, dest_compute, floating_addresses, host=None)
modify_dns_entry(ctxt, address, name, domain)
release_fixed_ip(ctxt, address, host)
remove_fixed_ip_from_instance(ctxt, instance_id, rxtx_factor, host, address)
rpc_setup_network_on_host(ctxt, network_id, teardown, host)
set_network_host(ctxt, network_ref)
setup_networks_on_host(ctxt, instance_id, host, teardown)
update_dns(ctxt, network_ids)
validate_networks(ctxt, networks)

Previous topic

The nova.network.quantumv2.api Module

Next topic

The nova.network.security_group.openstack_driver Module

This Page