add update-source to BGP neighbors

This commit is contained in:
Marek Isalski 2019-05-12 11:21:59 +01:00
parent 1056ddfdb9
commit a6fbfb43c1

View File

@ -204,6 +204,7 @@ protocols {
{% for neighbor, neighbor_data in as_data.get('neighbor',{}).items() %}
neighbor {{ neighbor }} {
remote-as {{ neighbor_data['remote-as'] }}
{% if 'update-source' in neighbor_data %}update-source {{ neighbor_data['update-source'] }}{% endif %}
{% if 'address-family' in neighbor_data %}
address-family {