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, vip_cidr)[source]

Renders the loadblanacer keepalived configuration for Active/Standby

Parameters
  • loadbalancer – A lodabalancer object

  • amp – An amphora object

  • vip_cidr – The VIP subnet cidr

get_template(template_file)[source]

Returns the specified Jinja configuration template.

Module contents