add update-source to BGP neighbors

master
Marek Isalski 6 years ago
parent 1056ddfdb9
commit a6fbfb43c1

@ -204,6 +204,7 @@ protocols {
{% for neighbor, neighbor_data in as_data.get('neighbor',{}).items() %} {% for neighbor, neighbor_data in as_data.get('neighbor',{}).items() %}
neighbor {{ neighbor }} { neighbor {{ neighbor }} {
remote-as {{ neighbor_data['remote-as'] }} 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 %} {% if 'address-family' in neighbor_data %}
address-family { address-family {

Loading…
Cancel
Save