octavia.network.drivers.neutron package

octavia.network.drivers.neutron package

Submodules

octavia.network.drivers.neutron.allowed_address_pairs module

class AllowedAddressPairsDriver[source]

Bases: octavia.network.drivers.neutron.base.BaseNeutronDriver

allocate_vip(load_balancer)[source]
deallocate_vip(vip)[source]

Delete the vrrp_port (instance port) in case nova didn’t

This can happen if a failover has occurred.

failover_preparation(amphora)[source]
get_network_configs(loadbalancer)[source]
plug_network(compute_id, network_id, ip_address=None)[source]
plug_port(amphora, port)[source]
plug_vip(load_balancer, vip)[source]
unplug_network(compute_id, network_id, ip_address=None)[source]
unplug_vip(load_balancer, vip)[source]
update_vip(load_balancer)[source]
wait_for_port_detach(amphora)[source]

Waits for the amphora ports device_id to be unset.

This method waits for the ports on an amphora device_id parameter to be ‘’ or None which signifies that nova has finished detaching the port from the instance.

Parameters:

amphora – Amphora to wait for ports to detach.

Returns:

None

Raises:

octavia.network.drivers.neutron.base module

class BaseNeutronDriver[source]

Bases: octavia.network.base.AbstractNetworkDriver

get_network(network_id)[source]
get_network_by_name(network_name)[source]
get_plugged_networks(compute_id)[source]
get_port(port_id)[source]
get_port_by_name(port_name)[source]
get_port_by_net_id_device_id(network_id, device_id)[source]
get_subnet(subnet_id)[source]
get_subnet_by_name(subnet_name)[source]

octavia.network.drivers.neutron.utils module

convert_fixed_ip_dict_to_model(fixed_ip_dict)[source]
convert_network_dict_to_model(network_dict)[source]
convert_port_dict_to_model(port_dict)[source]
convert_subnet_dict_to_model(subnet_dict)[source]

Module contents

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.