Skip to content

Commit

Permalink
Modification in code and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxmikant Chintakindi authored and laxmikantchintakindi committed Jan 3, 2025
1 parent 938dfcf commit ec61ff3
Show file tree
Hide file tree
Showing 13 changed files with 88 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname ptp-tests-l2leaf3
hostname ptp-tests-leaf3
!
ptp clock-identity 00:1C:73:1e:00:01
ptp domain 127
Expand Down Expand Up @@ -73,7 +73,7 @@ interface Vlan11
vrf VRF1
!
interface Vxlan1
description ptp-tests-l2leaf3_VTEP
description ptp-tests-leaf3_VTEP
vxlan source-interface Loopback1
vxlan udp-port 4789
vxlan vlan 11 vni 10011
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname ptp-tests-l2leaf4
hostname ptp-tests-leaf4
!
ptp clock-identity 00:1C:73:1e:00:02
ptp domain 127
Expand Down Expand Up @@ -79,7 +79,7 @@ interface Vlan11
vrf VRF1
!
interface Vxlan1
description ptp-tests-l2leaf4_VTEP
description ptp-tests-leaf4_VTEP
vxlan source-interface Loopback1
vxlan udp-port 4789
vxlan vlan 11 vni 10011
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname ptp-tests-l2leaf5
hostname ptp-tests-leaf5
!
ptp clock-identity 00:1C:73:1e:00:03
ptp domain 127
Expand Down Expand Up @@ -79,7 +79,7 @@ interface Vlan11
vrf VRF1
!
interface Vxlan1
description ptp-tests-l2leaf5_VTEP
description ptp-tests-leaf5_VTEP
vxlan source-interface Loopback1
vxlan udp-port 4789
vxlan vlan 11 vni 10011
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ interface Ethernet9
ptp transport ipv4
!
interface Ethernet15
description P2P_ptp-tests-l2leaf3_Ethernet1
description P2P_ptp-tests-leaf3_Ethernet1
no shutdown
mtu 9214
no switchport
Expand All @@ -149,7 +149,7 @@ interface Ethernet15
ptp transport ipv4
!
interface Ethernet16
description P2P_ptp-tests-l2leaf4_Ethernet1
description P2P_ptp-tests-leaf4_Ethernet1
no shutdown
mtu 9214
no switchport
Expand All @@ -162,7 +162,7 @@ interface Ethernet16
ptp transport ipv4
!
interface Ethernet17
description P2P_ptp-tests-l2leaf5_Ethernet1
description P2P_ptp-tests-leaf5_Ethernet1
no shutdown
mtu 9214
no switchport
Expand Down Expand Up @@ -234,22 +234,22 @@ router bgp 65200
neighbor 10.254.2.7 description ptp-tests-leaf2_Ethernet2
neighbor 192.168.1.1 peer group IPv4-UNDERLAY-PEERS
neighbor 192.168.1.1 remote-as 65010
neighbor 192.168.1.1 description ptp-tests-l2leaf3_Ethernet1
neighbor 192.168.1.1 description ptp-tests-leaf3_Ethernet1
neighbor 192.168.1.5 peer group IPv4-UNDERLAY-PEERS
neighbor 192.168.1.5 remote-as 65010
neighbor 192.168.1.5 description ptp-tests-l2leaf4_Ethernet1
neighbor 192.168.1.5 description ptp-tests-leaf4_Ethernet1
neighbor 192.168.1.9 peer group IPv4-UNDERLAY-PEERS
neighbor 192.168.1.9 remote-as 65010
neighbor 192.168.1.9 description ptp-tests-l2leaf5_Ethernet1
neighbor 192.168.1.9 description ptp-tests-leaf5_Ethernet1
neighbor 192.168.3.1 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.3.1 remote-as 65010
neighbor 192.168.3.1 description ptp-tests-l2leaf3_Loopback0
neighbor 192.168.3.1 description ptp-tests-leaf3_Loopback0
neighbor 192.168.3.2 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.3.2 remote-as 65010
neighbor 192.168.3.2 description ptp-tests-l2leaf4_Loopback0
neighbor 192.168.3.2 description ptp-tests-leaf4_Loopback0
neighbor 192.168.3.3 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.3.3 remote-as 65010
neighbor 192.168.3.3 description ptp-tests-l2leaf5_Loopback0
neighbor 192.168.3.3 description ptp-tests-leaf5_Loopback0
redistribute connected route-map RM-CONN-2-BGP
!
address-family evpn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ interface Ethernet9
ptp transport ipv4
!
interface Ethernet15
description P2P_ptp-tests-l2leaf3_Ethernet2
description P2P_ptp-tests-leaf3_Ethernet2
no shutdown
mtu 9214
no switchport
ip address 192.168.1.2/31
!
interface Ethernet16
description P2P_ptp-tests-l2leaf4_Ethernet2
description P2P_ptp-tests-leaf4_Ethernet2
no shutdown
mtu 9214
no switchport
Expand All @@ -111,7 +111,7 @@ interface Ethernet16
ptp transport ipv4
!
interface Ethernet17
description P2P_ptp-tests-l2leaf5_Ethernet2
description P2P_ptp-tests-leaf5_Ethernet2
no shutdown
mtu 9214
no switchport
Expand Down Expand Up @@ -165,22 +165,22 @@ router bgp 65200
neighbor IPv4-UNDERLAY-PEERS maximum-routes 12000
neighbor 192.168.1.3 peer group IPv4-UNDERLAY-PEERS
neighbor 192.168.1.3 remote-as 65010
neighbor 192.168.1.3 description ptp-tests-l2leaf3_Ethernet2
neighbor 192.168.1.3 description ptp-tests-leaf3_Ethernet2
neighbor 192.168.1.7 peer group IPv4-UNDERLAY-PEERS
neighbor 192.168.1.7 remote-as 65010
neighbor 192.168.1.7 description ptp-tests-l2leaf4_Ethernet2
neighbor 192.168.1.7 description ptp-tests-leaf4_Ethernet2
neighbor 192.168.1.11 peer group IPv4-UNDERLAY-PEERS
neighbor 192.168.1.11 remote-as 65010
neighbor 192.168.1.11 description ptp-tests-l2leaf5_Ethernet2
neighbor 192.168.1.11 description ptp-tests-leaf5_Ethernet2
neighbor 192.168.3.1 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.3.1 remote-as 65010
neighbor 192.168.3.1 description ptp-tests-l2leaf3_Loopback0
neighbor 192.168.3.1 description ptp-tests-leaf3_Loopback0
neighbor 192.168.3.2 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.3.2 remote-as 65010
neighbor 192.168.3.2 description ptp-tests-l2leaf4_Loopback0
neighbor 192.168.3.2 description ptp-tests-leaf4_Loopback0
neighbor 192.168.3.3 peer group EVPN-OVERLAY-PEERS
neighbor 192.168.3.3 remote-as 65010
neighbor 192.168.3.3 description ptp-tests-l2leaf5_Loopback0
neighbor 192.168.3.3 description ptp-tests-leaf5_Loopback0
redistribute connected route-map RM-CONN-2-BGP
!
address-family evpn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ethernet_interfaces:
peer_type: spine
switchport:
enabled: false
hostname: ptp-tests-l2leaf3
hostname: ptp-tests-leaf3
ip_igmp_snooping:
globally_enabled: true
ip_routing: true
Expand Down Expand Up @@ -200,7 +200,7 @@ vrfs:
tenant: PTP
vxlan_interface:
vxlan1:
description: ptp-tests-l2leaf3_VTEP
description: ptp-tests-leaf3_VTEP
vxlan:
source_interface: Loopback1
udp_port: 4789
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ethernet_interfaces:
peer_type: spine
switchport:
enabled: false
hostname: ptp-tests-l2leaf4
hostname: ptp-tests-leaf4
ip_igmp_snooping:
globally_enabled: true
ip_routing: true
Expand Down Expand Up @@ -209,7 +209,7 @@ vrfs:
tenant: PTP
vxlan_interface:
vxlan1:
description: ptp-tests-l2leaf4_VTEP
description: ptp-tests-leaf4_VTEP
vxlan:
source_interface: Loopback1
udp_port: 4789
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ethernet_interfaces:
peer_type: spine
switchport:
enabled: false
hostname: ptp-tests-l2leaf5
hostname: ptp-tests-leaf5
ip_igmp_snooping:
globally_enabled: true
ip_routing: true
Expand Down Expand Up @@ -209,7 +209,7 @@ vrfs:
tenant: PTP
vxlan_interface:
vxlan1:
description: ptp-tests-l2leaf5_VTEP
description: ptp-tests-leaf5_VTEP
vxlan:
source_interface: Loopback1
udp_port: 4789
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ ethernet_interfaces:
switchport:
enabled: false
- name: Ethernet15
description: P2P_ptp-tests-l2leaf3_Ethernet1
description: P2P_ptp-tests-leaf3_Ethernet1
shutdown: false
mtu: 9214
ip_address: 192.168.1.0/31
Expand All @@ -94,13 +94,13 @@ ethernet_interfaces:
sync_message:
interval: -3
transport: ipv4
peer: ptp-tests-l2leaf3
peer: ptp-tests-leaf3
peer_interface: Ethernet1
peer_type: l3leaf
switchport:
enabled: false
- name: Ethernet16
description: P2P_ptp-tests-l2leaf4_Ethernet1
description: P2P_ptp-tests-leaf4_Ethernet1
shutdown: false
mtu: 9214
ip_address: 192.168.1.4/31
Expand All @@ -113,13 +113,13 @@ ethernet_interfaces:
sync_message:
interval: -3
transport: ipv4
peer: ptp-tests-l2leaf4
peer: ptp-tests-leaf4
peer_interface: Ethernet1
peer_type: l3leaf
switchport:
enabled: false
- name: Ethernet17
description: P2P_ptp-tests-l2leaf5_Ethernet1
description: P2P_ptp-tests-leaf5_Ethernet1
shutdown: false
mtu: 9214
ip_address: 192.168.1.8/31
Expand All @@ -132,7 +132,7 @@ ethernet_interfaces:
sync_message:
interval: -3
transport: ipv4
peer: ptp-tests-l2leaf5
peer: ptp-tests-leaf5
peer_interface: Ethernet1
peer_type: l3leaf
switchport:
Expand Down Expand Up @@ -316,33 +316,18 @@ router_bgp:
- ip_address: 192.168.1.1
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-l2leaf3
description: ptp-tests-l2leaf3_Ethernet1
peer: ptp-tests-leaf3
description: ptp-tests-leaf3_Ethernet1
- ip_address: 192.168.1.5
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-l2leaf4
description: ptp-tests-l2leaf4_Ethernet1
peer: ptp-tests-leaf4
description: ptp-tests-leaf4_Ethernet1
- ip_address: 192.168.1.9
peer_group: IPv4-UNDERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-l2leaf5
description: ptp-tests-l2leaf5_Ethernet1
- ip_address: 192.168.3.1
peer_group: EVPN-OVERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-l2leaf3
description: ptp-tests-l2leaf3_Loopback0
- ip_address: 192.168.3.2
peer_group: EVPN-OVERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-l2leaf4
description: ptp-tests-l2leaf4_Loopback0
- ip_address: 192.168.3.3
peer_group: EVPN-OVERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-l2leaf5
description: ptp-tests-l2leaf5_Loopback0
peer: ptp-tests-leaf5
description: ptp-tests-leaf5_Ethernet1
- ip_address: 10.254.1.1
peer_group: EVPN-OVERLAY-PEERS
remote_as: '65101'
Expand All @@ -353,6 +338,21 @@ router_bgp:
remote_as: '65102'
peer: ptp-tests-leaf2
description: ptp-tests-leaf2_Loopback0
- ip_address: 192.168.3.1
peer_group: EVPN-OVERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-leaf3
description: ptp-tests-leaf3_Loopback0
- ip_address: 192.168.3.2
peer_group: EVPN-OVERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-leaf4
description: ptp-tests-leaf4_Loopback0
- ip_address: 192.168.3.3
peer_group: EVPN-OVERLAY-PEERS
remote_as: '65010'
peer: ptp-tests-leaf5
description: ptp-tests-leaf5_Loopback0
redistribute:
connected:
enabled: true
Expand Down
Loading

0 comments on commit ec61ff3

Please sign in to comment.