Skip to content

Commit 37160e1

Browse files
committed
Fix Cisco IOS config template, enable confeds on IOS & none
1 parent dbde9fe commit 37160e1

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

netsim/ansible/templates/bgp/ios.macro.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{% if n.type in ['ibgp','confed_ebgp'] and bgp.next_hop_self|default(False) %}
2323
neighbor {{ ip }} next-hop-self
2424
{% endif %}
25-
{% if n.type == 'ibgp' and bgp.rr|default('') and (not n.rr|default('') %}
25+
{% if n.type == 'ibgp' and bgp.rr|default('') and not n.rr|default('') %}
2626
neighbor {{ ip }} route-reflector-client
2727
{% endif %}
2828
{% if n.type == 'localas_ibgp' %}

netsim/devices/ios.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ features:
2525
community:
2626
standard: [ standard ]
2727
extended: [ extended ]
28+
confederation: True
2829
dhcp:
2930
client:
3031
ipv4: true

netsim/devices/none.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ features:
4343
tcp_ao: [ libvirt, virtualbox, external ]
4444
timers: True
4545
import: [ ospf, isis, ripv2, connected, static, vrf ]
46+
confederation: True
4647
dhcp:
4748
client:
4849
ipv4: true

0 commit comments

Comments
 (0)