sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
194 stars 713 forks source link

[Fanout] Update Arista-7260CX3 leaf fanout template for breakout 4x 10G interface #13539

Closed lizhijianrd closed 2 months ago

lizhijianrd commented 3 months ago

Description of PR

Summary: Update Arista-7260CX3 leaf fanout configuration template for breakout 4x 10G interface. Fix the template for situation that not all the 4 breakout interface are being used.

Type of change

Back port request

Approach

What is the motivation for this PR?

Update Arista-7260CX3 leaf fanout configuration template for breakout 4x 10G interface. Fix the template for situation that not all the 4 breakout interface are being used.

How did you do it?

Update the j2 template file.

How did you verify/test it?

Verified on physical Arista-7260CX3 fanout switch. Snippet of generated configuration:

...
interface Ethernet9/1
   description DUT-1-Ethernet51
   speed forced 10000full
   switchport access vlan 668
   switchport mode dot1q-tunnel
   spanning-tree portfast
!
interface Ethernet9/2
   shutdown
!
interface Ethernet9/3
   description DUT-2-Ethernet51
   speed forced 10000full
   switchport access vlan 772
   switchport mode dot1q-tunnel
   spanning-tree portfast
!
interface Ethernet9/4
   shutdown
!
...

Any platform specific information?

Supported testbed topology if it's a new test case?

Documentation

wsycqyz commented 3 months ago

Do we need this PR in 2024 or 2023 branch?

wsycqyz commented 3 months ago

PR test re-triggered.

lizhijianrd commented 3 months ago

Do we need this PR in 2024 or 2023 branch?

No, we only use master branch for fanout switch deployment.