sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

[mirror] erspan ipv6 underlay

Open wendani opened this issue 3 years ago • 44 comments

Why I did it Unlock erspan capability on td3 and beyond that supports erspan ipv6 encap.

What I did

How I verified it

  1. Extend test_MirrorAddSetRemove, test_MirrorToVlanAddRemove, test_MirrorToLagAddRemove, test_MirrorDestMoveVlan, test_MirrorDestMoveLag to vs test erspan ipv6 encap

  2. On td3

Details if related

Used brcm sai 4.3.3 that interacts with sdk 6.5.21

wendani avatar Jul 09 '21 22:07 wendani

This pull request fixes 1 alert when merging b2f84750221f44096ca703f0be47b7dd40e67b11 into 64e33b38c8c3f242745f5541c4f74bf2260c7d56 - view on LGTM.com

fixed alerts:

  • 1 for Unused local variable

lgtm-com[bot] avatar Jul 09 '21 22:07 lgtm-com[bot]

This pull request fixes 1 alert when merging f25b22fb3134bd0f00d9c17700d3037c18f50843 into 64e33b38c8c3f242745f5541c4f74bf2260c7d56 - view on LGTM.com

fixed alerts:

  • 1 for Unused local variable

lgtm-com[bot] avatar Jul 15 '21 01:07 lgtm-com[bot]

/azp run

prsunny avatar Jul 16 '21 02:07 prsunny

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Jul 16 '21 02:07 azure-pipelines[bot]

This pull request fixes 1 alert when merging e47d8ab5f99963256a60c33d2141155cb8d9f0b8 into 5d97b0571eaf3157cbf9fd74748ab7b51c18706d - view on LGTM.com

fixed alerts:

  • 1 for Unused local variable

lgtm-com[bot] avatar Jul 16 '21 10:07 lgtm-com[bot]

This pull request fixes 1 alert when merging 7c9dff248bb5c566adc7c87732478012116e5455 into 7aca82df3b56276625ce3d70ffb45b849003b0d8 - view on LGTM.com

fixed alerts:

  • 1 for Unused local variable

lgtm-com[bot] avatar Aug 04 '21 02:08 lgtm-com[bot]

/azp run

prsunny avatar Sep 29 '21 17:09 prsunny

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Sep 29 '21 17:09 azure-pipelines[bot]

/AzurePipelines run

mssonicbld avatar Dec 14 '21 07:12 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Dec 14 '21 07:12 azure-pipelines[bot]

/azpw run

wendani avatar Dec 14 '21 11:12 wendani

/AzurePipelines run

mssonicbld avatar Dec 14 '21 11:12 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Dec 14 '21 11:12 azure-pipelines[bot]

Sorry for missing review. A quick question, are src IP and dst IP required to be the same version? If so, I suggest adding some check to avoid some negative scenarios, such as src ip is IPv4 while dst ip is IPv6. And the cli in sonic-utility and Yang model are also needed to be updated to support IPv6 erspan.

bingwang-ms avatar Dec 14 '21 12:12 bingwang-ms

/azpw run

wendani avatar Dec 14 '21 21:12 wendani

/AzurePipelines run

mssonicbld avatar Dec 14 '21 21:12 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Dec 14 '21 21:12 azure-pipelines[bot]

This pull request fixes 1 alert when merging ba31e8eafdad9928dff3b2a5c78f12ce26b4f1a0 into 5d5c1692198c5c9c3b43f79406f074d2831c0884 - view on LGTM.com

fixed alerts:

  • 1 for Unused local variable

lgtm-com[bot] avatar Dec 15 '21 02:12 lgtm-com[bot]

/azpw run

wendani avatar Dec 15 '21 06:12 wendani

/AzurePipelines run

mssonicbld avatar Dec 15 '21 06:12 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Dec 15 '21 06:12 azure-pipelines[bot]

/azpw run

wendani avatar Dec 15 '21 22:12 wendani

/AzurePipelines run

mssonicbld avatar Dec 15 '21 22:12 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Dec 15 '21 22:12 azure-pipelines[bot]

/azpw run

wendani avatar Dec 17 '21 04:12 wendani

/AzurePipelines run

mssonicbld avatar Dec 17 '21 04:12 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Dec 17 '21 04:12 azure-pipelines[bot]

/azpw run

wendani avatar Dec 17 '21 22:12 wendani

/AzurePipelines run

mssonicbld avatar Dec 17 '21 22:12 mssonicbld

Azure Pipelines successfully started running 1 pipeline(s).

azure-pipelines[bot] avatar Dec 17 '21 22:12 azure-pipelines[bot]