Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable tunnel in default for Accton-AS7326-56X and Accton-AS7726-32X #9491

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

iris00522
Copy link
Contributor

@iris00522 iris00522 commented Dec 10, 2021

Why I did it

Enable tunnel in default for Accton-AS7326-56X and Accton-AS7726-32X

How I did it

enable flow mode in bcm config.

How to verify it

follow the issue test step

config vlan add 1991
config loopback add Loopback0
config int ip add Loopback0 10.10.10.10/32
config vxlan add nve1 10.10.10.10
config vxlan map add nve1 1991 1991

check syslog without error

Dec 10 05:28:28.330167 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map:2916 SAI Exit brcm_sai_tnl_mp_create_tunnel_map
Dec 10 05:28:28.332062 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map:2871 SAI Enter brcm_sai_tnl_mp_create_tunnel_map
Dec 10 05:28:28.332062 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map:2916 SAI Exit brcm_sai_tnl_mp_create_tunnel_map
Dec 10 05:28:28.333183 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map:2871 SAI Enter brcm_sai_tnl_mp_create_tunnel_map
Dec 10 05:28:28.333183 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map:2916 SAI Exit brcm_sai_tnl_mp_create_tunnel_map
Dec 10 05:28:28.334264 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map:2871 SAI Enter brcm_sai_tnl_mp_create_tunnel_map
Dec 10 05:28:28.334264 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map:2916 SAI Exit brcm_sai_tnl_mp_create_tunnel_map
Dec 10 05:28:28.334782 as7726-32x-2 NOTICE swss#orchagent: :- create_tunnel: create_tunnel:encapmaplist[0]=0x29000000000683
Dec 10 05:28:28.334782 as7726-32x-2 NOTICE swss#orchagent: :- create_tunnel: create_tunnel:encapmaplist[1]=0x29000000000685
Dec 10 05:28:28.335508 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel:3049 SAI Enter brcm_sai_tnl_mp_create_tunnel
Dec 10 05:28:28.335538 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel:3138 Setting peer_mode to 1
Dec 10 05:28:28.335565 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel:3285 Created tunnel id: 3
Dec 10 05:28:28.335587 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel:3313 SAI Exit brcm_sai_tnl_mp_create_tunnel
Dec 10 05:28:28.336619 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_term_table_entry:3871 SAI Enter brcm_sai_tnl_mp_create_tunnel_term_table_entry
Dec 10 05:28:28.336689 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_term_table_entry:4017 SAI Exit brcm_sai_tnl_mp_create_tunnel_term_table_entry
Dec 10 05:28:28.338114 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map_entry:4193 SAI Enter brcm_sai_tnl_mp_create_tunnel_map_entry
Dec 10 05:28:28.338216 as7726-32x-2 INFO syncd#syncd: [none] SAI_API_TUNNEL:brcm_sai_tnl_mp_create_tunnel_map_entry:4334 SAI Exit brcm_sai_tnl_mp_create_tunnel_map_entry
Dec 10 05:28:28.338767 as7726-32x-2 NOTICE swss#orchagent: :- addOperation: Vxlan tunnel map entry 'map_1991_Vlan1991' for tunnel 'nve1' was created
Dec 10 05:28:28.351010 as7726-32x-2 INFO systemd-udevd[6833]: Using default interface naming scheme 'v247'.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • [ x] 202012
  • [ x] 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@iris00522 iris00522 changed the title Eanble Vxlan/EVPN for TD3. Enable tunnel in default for Accton-AS7326-56X and Accton-AS7726-32X Dec 10, 2021
@aseaudi
Copy link

aseaudi commented Feb 18, 2022

Could we also add this to :
/usr/share/sonic/device/x86_64-accton_as5835_54x-r0/Accton-AS5835-54X/mv2-as5835-48x10G+6x100G.config.bcm

@iris00522 iris00522 requested a review from a team as a code owner June 10, 2022 02:01
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Oct 5, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants