octavia.amphorae.drivers.keepalived package

Subpackages

Submodules

octavia.amphorae.drivers.keepalived.vrrp_rest_driver module

class KeepalivedAmphoraDriverMixin[source]

Bases: VRRPDriverMixin

reload_vrrp_service(loadbalancer)[source]

Reload the VRRP services of all amphorae of the loadbalancer

Parameters:

loadbalancer – loadbalancer object

start_vrrp_service(amphora, timeout_dict=None)[source]

Start the VRRP services on an amphorae.

Parameters:
  • amphora – amphora object

  • timeout_dict – Dictionary of timeout values for calls to the amphora. May contain: req_conn_timeout, req_read_timeout, conn_max_retries, conn_retry_interval

stop_vrrp_service(loadbalancer)[source]

Stop the vrrp services running on the loadbalancer’s amphorae

Parameters:

loadbalancer – loadbalancer object

update_vrrp_conf(loadbalancer, amphorae_network_config, amphora, timeout_dict=None)[source]

Update amphora of the loadbalancer with a new VRRP configuration

Parameters:
  • loadbalancer – loadbalancer object

  • amphorae_network_config – amphorae network configurations

  • amphora – The amphora object to update.

  • timeout_dict – Dictionary of timeout values for calls to the amphora. May contain: req_conn_timeout, req_read_timeout, conn_max_retries, conn_retry_interval

Module contents