octavia.common.jinja.lvs package

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, **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

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.