Skip to content

Commit

Permalink
Add test cases for uplinks setting from default node settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Laxmikant Chintakindi authored and laxmikantchintakindi committed Jan 15, 2025
1 parent 8670314 commit 1c2a282
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ interface Ethernet2
mtu 9214
no switchport
ip address 192.168.1.11/31
ptp enable
ptp announce interval 0
ptp announce timeout 3
ptp delay-req interval -3
ptp sync-message interval -3
ptp transport ipv4
!
interface Loopback0
description ROUTER_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,6 @@ interface Ethernet17
mtu 9214
no switchport
ip address 192.168.1.10/31
ptp enable
ptp announce interval 0
ptp announce timeout 3
ptp delay-req interval -3
ptp sync-message interval -3
ptp transport ipv4
!
interface Loopback0
description ROUTER_ID
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ ethernet_interfaces:
shutdown: false
mtu: 9214
ip_address: 192.168.1.11/31
ptp:
enable: true
announce:
interval: 0
timeout: 3
delay_req: -3
sync_message:
interval: -3
transport: ipv4
peer: ptp-tests-spine2
peer_interface: Ethernet17
peer_type: spine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ ethernet_interfaces:
shutdown: false
mtu: 9214
ip_address: 192.168.1.10/31
ptp:
enable: true
announce:
interval: 0
timeout: 3
delay_req: -3
sync_message:
interval: -3
transport: ipv4
peer: ptp-tests-leaf5
peer_interface: Ethernet2
peer_type: l3leaf
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ l2leaf:
uplink_switch_interfaces:
- Ethernet11
- Ethernet11
ptp:
uplinks: [ Ethernet1 ]

- name: ptp-tests-l2leaf2-ptp-enabled
id: 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ l3leaf:
uplink_ipv4_pool: 192.168.1.0/24
vtep_loopback_ipv4_pool: 192.168.2.0/24
loopback_ipv4_pool: 192.168.3.0/24
ptp:
enabled: true
uplinks: [Ethernet1]
nodes:
- name: ptp-tests-leaf3
id: 1
Expand Down

0 comments on commit 1c2a282

Please sign in to comment.