Skip to content

Commit

Permalink
Refactor(eos_cli_config_gen): Rearrange the eos-cli output to match e…
Browse files Browse the repository at this point in the history
…os order for router-isis (#4555)
  • Loading branch information
Shivani-gslab authored Oct 7, 2024
1 parent ccc5ca5 commit f7f7492
Show file tree
Hide file tree
Showing 74 changed files with 93 additions and 93 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ ip route vrf MGMT 0.0.0.0/0 172.16.1.1
!
router isis CORE
net 49.0001.0102.5500.0001.00
is-type level-2
router-id ipv4 10.255.0.1
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ ip route vrf MGMT 0.0.0.0/0 172.16.1.1
!
router isis CORE
net 49.0001.0102.5500.0002.00
is-type level-2
router-id ipv4 10.255.0.2
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ ip route vrf MGMT 0.0.0.0/0 172.16.1.1
!
router isis CORE
net 49.0001.0102.5500.0003.00
is-type level-2
router-id ipv4 10.255.0.3
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ ip route vrf MGMT 0.0.0.0/0 172.16.1.1
!
router isis CORE
net 49.0001.0102.5500.0004.00
is-type level-2
router-id ipv4 10.255.0.4
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ router ospf 10 vrf C1_VRF1
!
router isis CORE
net 49.0001.0102.5500.1001.00
is-type level-2
router-id ipv4 10.255.1.1
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,8 @@ router ospf 10 vrf C1_VRF1
!
router isis CORE
net 49.0001.0102.5500.1002.00
is-type level-2
router-id ipv4 10.255.1.2
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@ router ospf 10 vrf C1_VRF1
!
router isis CORE
net 49.0001.0102.5500.1003.00
is-type level-2
router-id ipv4 10.255.1.3
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ ip route vrf MGMT 0.0.0.0/0 172.16.1.1
!
router isis CORE
net 49.0001.0102.5500.2001.00
is-type level-2
router-id ipv4 10.255.2.1
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ ip route vrf MGMT 0.0.0.0/0 172.16.1.1
!
router isis CORE
net 49.0001.0102.5500.2002.00
is-type level-2
router-id ipv4 10.255.2.2
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ mpls ldp
!
router isis CORE
net 49.0001.0102.5500.0001.00
is-type level-2
router-id ipv4 10.255.0.1
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ mpls ldp
!
router isis CORE
net 49.0001.0102.5500.0002.00
is-type level-2
router-id ipv4 10.255.0.2
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ mpls ldp
!
router isis CORE
net 49.0001.0102.5500.0003.00
is-type level-2
router-id ipv4 10.255.0.3
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ mpls ldp
!
router isis CORE
net 49.0001.0102.5500.0004.00
is-type level-2
router-id ipv4 10.255.0.4
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ router bgp 65001
!
router isis CORE
net 49.0001.0102.5500.1001.00
is-type level-2
router-id ipv4 10.255.1.1
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ router bgp 65001
!
router isis CORE
net 49.0001.0102.5500.1002.00
is-type level-2
router-id ipv4 10.255.1.2
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ router bgp 65001
!
router isis CORE
net 49.0001.0102.5500.1003.00
is-type level-2
router-id ipv4 10.255.1.3
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ router bgp 65001
!
router isis CORE
net 49.0001.0102.5500.2001.00
is-type level-2
router-id ipv4 10.255.2.1
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ router bgp 65001
!
router isis CORE
net 49.0001.0102.5500.2002.00
is-type level-2
router-id ipv4 10.255.2.2
is-type level-2
log-adjacency-changes
mpls ldp sync default
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,15 +269,15 @@ interface Vlan4094
```eos
!
router isis EVPN_UNDERLAY
no log-adjacency-changes
mpls ldp sync default
redistribute connected
redistribute isis instance route-map RM-REDIS-ISIS-INSTANCE
redistribute ospf match internal
redistribute ospf match external route-map RM-OSPF-EXTERNAL-TO-ISIS
redistribute ospf include leaked match nssa-external route-map RM-OSPF-NSSA_EXT-TO-ISIS
redistribute ospfv3 match external
redistribute static include leaked route-map RM-STATIC-TO-ISIS
no log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay protected-prefixes
set-overload-bit
advertise passive-only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,10 @@ interface Vlan4094
!
router isis EVPN_UNDERLAY
net 49.0001.0001.0001.0001.00
is-type level-2
redistribute bgp route-map RM-BGP
router-id ipv4 192.168.255.3
is-type level-2
log-adjacency-changes
redistribute bgp route-map RM-BGP
timers local-convergence-delay 15000 protected-prefixes
set-overload-bit on-startup wait-for-bgp
advertise passive-only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ interface Vlan4094
ip address 10.255.252.0/31
!
router isis EVPN_UNDERLAY
no log-adjacency-changes
mpls ldp sync default
redistribute connected
redistribute isis instance route-map RM-REDIS-ISIS-INSTANCE
redistribute ospf match internal
redistribute ospf match external route-map RM-OSPF-EXTERNAL-TO-ISIS
redistribute ospf include leaked match nssa-external route-map RM-OSPF-NSSA_EXT-TO-ISIS
redistribute ospfv3 match external
redistribute static include leaked route-map RM-STATIC-TO-ISIS
no log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay protected-prefixes
set-overload-bit
advertise passive-only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ interface Vlan4094
!
router isis EVPN_UNDERLAY
net 49.0001.0001.0001.0001.00
is-type level-2
redistribute bgp route-map RM-BGP
router-id ipv4 192.168.255.3
is-type level-2
log-adjacency-changes
redistribute bgp route-map RM-BGP
timers local-convergence-delay 15000 protected-prefixes
set-overload-bit on-startup wait-for-bgp
advertise passive-only
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,11 +354,11 @@ ip route 10.1.0.0/16 10.1.100.100
!
router isis EVPN_UNDERLAY
net 49.0001.1921.6825.5001.00
router-id ipv4 192.168.255.1
is-type level-2
log-adjacency-changes
redistribute connected
redistribute static
router-id ipv4 192.168.255.1
log-adjacency-changes
!
address-family ipv4 unicast
maximum-paths 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ ip route 10.1.0.0/16 10.1.100.100
!
router isis EVPN_UNDERLAY
net 49.0001.1921.6825.5001.00
router-id ipv4 192.168.255.1
is-type level-2
log-adjacency-changes
redistribute connected
redistribute static
router-id ipv4 192.168.255.1
log-adjacency-changes
!
address-family ipv4 unicast
maximum-paths 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,8 +591,8 @@ router ospf 19 vrf TENANT_B_INTRA
!
router isis CORE
net 49.0001.1000.7000.0005.00
is-type level-1-2
router-id ipv4 100.70.0.5
is-type level-1-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5
!
router isis CORE
net 49.0001.1000.7000.0006.00
is-type level-1-2
router-id ipv4 100.70.0.6
is-type level-1-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5
!
router isis CORE
net 49.0001.1000.7000.0001.00
is-type level-2
router-id ipv4 100.70.0.1
is-type level-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5
!
router isis CORE
net 49.0001.1000.7000.0002.00
is-type level-2
router-id ipv4 100.70.0.2
is-type level-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5
!
router isis CORE
net 49.0001.1000.7000.0008.00
is-type level-1-2
router-id ipv4 100.70.0.8
is-type level-1-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,8 @@ router ospf 99 vrf TENANT_B_WAN
!
router isis CORE
net 49.0001.1000.7000.0007.00
is-type level-1-2
router-id ipv4 100.70.0.7
is-type level-1-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5
!
router isis CUSTOM_NAME
net 49.0001.1000.7000.0003.00
is-type level-2
router-id ipv4 100.70.0.3
is-type level-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -435,8 +435,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5
!
router isis CUSTOM_NAME
net 49.0001.1000.7000.0004.00
is-type level-2
router-id ipv4 100.70.0.4
is-type level-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5
!
router isis CORE
net 49.0001.1000.7000.0009.00
is-type level-1-2
router-id ipv4 100.70.0.9
is-type level-1-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ ip route vrf MGMT 0.0.0.0/0 192.168.200.5
!
router isis CORE
net 49.0001.1000.7000.0010.00
is-type level-1-2
router-id ipv4 100.70.0.10
is-type level-1-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ router bgp 65000
!
router isis CORE
net 49.0001.1000.7000.0005.00
is-type level-1-2
router-id ipv4 100.70.0.5
is-type level-1-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ router bgp 65000
!
router isis CORE
net 49.0001.1000.7000.0006.00
is-type level-1-2
router-id ipv4 100.70.0.6
is-type level-1-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ mpls ldp
!
router isis CORE
net 49.0001.1000.7000.0001.00
is-type level-2
router-id ipv4 100.70.0.1
is-type level-2
log-adjacency-changes
mpls ldp sync default
timers local-convergence-delay 15000 protected-prefixes
Expand Down
Loading

0 comments on commit f7f7492

Please sign in to comment.