summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_igmp.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-11-22 20:28:06 +0100
committerChristian Poessinger <christian@poessinger.com>2020-11-22 20:44:38 +0100
commit7305a71722ae15ae2e356e52276a823a699bed7d (patch)
treef8a8798001e3265a5be9413f2ba1eef50ecb7917 /src/conf_mode/protocols_igmp.py
parent35319790813c78900d0ca54d9ac6905bfe368455 (diff)
downloadvyos-1x-7305a71722ae15ae2e356e52276a823a699bed7d.tar.gz
vyos-1x-7305a71722ae15ae2e356e52276a823a699bed7d.zip
bgp: T2174: refactor Jinja template and reduce redundant paths
The Jinja2 template contained a lot of redundant paths which only differed in either the address-family or neighbor vs. peer-group. This paths have been combined into for loops and a macro for generating a neighbor statement as peer-groups and regular neighbors share ~95% of the config.
Diffstat (limited to 'src/conf_mode/protocols_igmp.py')
0 files changed, 0 insertions, 0 deletions