octavia.common.jinja.lvs package

Submodules

octavia.common.jinja.lvs.jinja_cfg module

class LvsJinjaTemplater(base_amp_path=None, keepalivedlvs_template=None)[source]

Bases: object

build_config(listener: Listener, **kwargs)[source]

Convert a logical configuration to the Keepalived LVS version

Parameters:

listener – The listener configuration

Returns:

Rendered configuration

render_loadbalancer_obj(listener, **kwargs)[source]

Renders a templated configuration from a load balancer object

Parameters:
  • host_amphora – The Amphora this configuration is hosted on

  • listener – The listener configuration

Returns:

Rendered configuration

Module contents