diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-11-22 20:28:06 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-11-22 20:44:38 +0100 |
commit | 7305a71722ae15ae2e356e52276a823a699bed7d (patch) | |
tree | f8a8798001e3265a5be9413f2ba1eef50ecb7917 /src/conf_mode/interfaces-tunnel.py | |
parent | 35319790813c78900d0ca54d9ac6905bfe368455 (diff) | |
download | vyos-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/interfaces-tunnel.py')
0 files changed, 0 insertions, 0 deletions