octavia.amphorae.drivers.keepalived.jinja package

Submodules

octavia.amphorae.drivers.keepalived.jinja.jinja_cfg module

class KeepalivedJinjaTemplater(keepalived_template=None)[source]

Bases: object

build_keepalived_config(loadbalancer, amphora, amp_net_config)[source]

Renders the loadblanacer keepalived configuration for Active/Standby

Parameters:
  • loadbalancer – A loadbalancer object

  • amphora – An amphora object

  • amp_net_config – The amphora network config, a dict

get_template(template_file)[source]

Returns the specified Jinja configuration template.

Module contents