Skip to content

Commit

Permalink
Adding test for shutdown false
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab committed Sep 5, 2024
1 parent 75a5de2 commit 13e4431
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,15 +142,15 @@ interface Ethernet27
!
interface Ethernet28
description P2P_LINK_TO_DC1_UNDEPLOYED_LEAF1A_Ethernet52/1
shutdown
no shutdown
mtu 1500
speed 100g-2
no switchport
ip address 172.31.255.134/31
!
interface Ethernet29
description P2P_LINK_TO_DC1_UNDEPLOYED_LEAF1B_Ethernet52/1
shutdown
no shutdown
mtu 1500
speed forced 100gfull
no switchport
Expand Down Expand Up @@ -240,11 +240,9 @@ router bgp 65001
neighbor 172.31.255.71 description DC1-CL1B_Ethernet4
neighbor 172.31.255.135 peer group UNDERLAY-PEERS
neighbor 172.31.255.135 remote-as 65110
neighbor 172.31.255.135 shutdown
neighbor 172.31.255.135 description DC1_UNDEPLOYED_LEAF1A_Ethernet52/1
neighbor 172.31.255.167 peer group UNDERLAY-PEERS
neighbor 172.31.255.167 remote-as 65111
neighbor 172.31.255.167 shutdown
neighbor 172.31.255.167 description DC1_UNDEPLOYED_LEAF1B_Ethernet52/1
neighbor 192.168.42.42 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.42.42 remote-as 65101
Expand Down Expand Up @@ -281,11 +279,9 @@ router bgp 65001
neighbor 192.168.255.19 description DC1-CL1B
neighbor 192.168.255.21 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.21 remote-as 65110
neighbor 192.168.255.21 shutdown
neighbor 192.168.255.21 description DC1_UNDEPLOYED_LEAF1A
neighbor 192.168.255.22 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.255.22 remote-as 65111
neighbor 192.168.255.22 shutdown
neighbor 192.168.255.22 description DC1_UNDEPLOYED_LEAF1B
redistribute connected route-map RM-CONN-2-BGP
!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,11 @@ router_bgp:
remote_as: '65110'
peer: DC1_UNDEPLOYED_LEAF1A
description: DC1_UNDEPLOYED_LEAF1A_Ethernet52/1
shutdown: true
- ip_address: 172.31.255.167
peer_group: UNDERLAY-PEERS
remote_as: '65111'
peer: DC1_UNDEPLOYED_LEAF1B
description: DC1_UNDEPLOYED_LEAF1B_Ethernet52/1
shutdown: true
- ip_address: 192.168.255.14
peer_group: EVPN-OVERLAY-PEERS
peer: DC1-BL1A
Expand Down Expand Up @@ -175,13 +173,11 @@ router_bgp:
peer: DC1_UNDEPLOYED_LEAF1A
description: DC1_UNDEPLOYED_LEAF1A
remote_as: '65110'
shutdown: true
- ip_address: 192.168.255.22
peer_group: EVPN-OVERLAY-PEERS
peer: DC1_UNDEPLOYED_LEAF1B
description: DC1_UNDEPLOYED_LEAF1B
remote_as: '65111'
shutdown: true
address_family_evpn:
peer_groups:
- name: EVPN-OVERLAY-PEERS
Expand Down Expand Up @@ -404,7 +400,7 @@ ethernet_interfaces:
peer_type: l3leaf
description: P2P_LINK_TO_DC1_UNDEPLOYED_LEAF1A_Ethernet52/1
speed: 100g-2
shutdown: true
shutdown: false
mtu: 1500
type: routed
ip_address: 172.31.255.134/31
Expand All @@ -414,7 +410,7 @@ ethernet_interfaces:
peer_type: l3leaf
description: P2P_LINK_TO_DC1_UNDEPLOYED_LEAF1B_Ethernet52/1
speed: forced 100gfull
shutdown: true
shutdown: false
mtu: 1500
type: routed
ip_address: 172.31.255.166/31
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
# If the device is set to "is_deployed: false" at the host_vars level, then do not shutdown interfaces towards undeployed peers.
shutdown_interfaces_towards_undeployed_peers: false

# If the device is set to "is_deployed: false" at the host_vars level, then do not shutdown bgp towards undeployed peers.
shutdown_bgp_towards_undeployed_peers: false

# Testing the suggested method to roll back the change of default platform settings for R3 series.
custom_platform_settings:
- platforms:
Expand Down

0 comments on commit 13e4431

Please sign in to comment.