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

[SAI PTF]Syncd-rpc and PTF docker support sai ptf v2 #11610

Merged
merged 27 commits into from
Nov 7, 2022

Conversation

richardyu-ms
Copy link
Contributor

@richardyu-ms richardyu-ms commented Aug 2, 2022

Why I did it

Make the ptf-sai docker which can suppor the sai-ptf v2
Make syncd rpc docker which supports sai-ptf v2

How I did it

change the docker make file

How to verify it

#12619

local bulild the target

NOSTRETCH=y NOJESSIE=y make configure PLATFORM=vs
NOSTRETCH=y NOJESSIE=y NOBULLSEYE=y SAITHRIFT_V2=y make target/docker-ptf-sai.gz

NOSTRETCH=y NOJESSIE=y make configure PLATFORM=vs
NOSTRETCH=y NOJESSIE=y NOBULLSEYE=y make target/docker-ptf.gz

NOSTRETCH=y NOJESSIE=y make configure PLATFORM=broadcom
NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y make target/docker-syncd-brcm-rpcv2.gz
NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y make target/docker-saiserverv2-brcm.gz

NOSTRETCH=y NOJESSIE=y make configure PLATFORM=broadcom
NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y make target/docker-syncd-brcm-rpc.gz
NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y make target/docker-saiserver-brcm.gz

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Link to config_db schema for YANG module changes

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

@richardyu-ms richardyu-ms changed the title Syncd with sai ptf v2 [SAI PT]Syncd and PTF docker support sai ptf v2 Aug 2, 2022
@richardyu-ms richardyu-ms changed the title [SAI PT]Syncd and PTF docker support sai ptf v2 [SAI PT]Syncd-rpc and PTF docker support sai ptf v2 Aug 2, 2022
@richardyu-ms richardyu-ms changed the title [SAI PT]Syncd-rpc and PTF docker support sai ptf v2 [SAI PTF]Syncd-rpc and PTF docker support sai ptf v2 Aug 2, 2022
@richardyu-ms richardyu-ms force-pushed the syncd_with_sai_ptf_v2 branch from 9c47041 to 0d97b5d Compare August 28, 2022 12:27
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 28, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: richardyu-ms / name: Richard.Yu (c50e6001981b3937bf010b960aeefd6803f773e9)

@richardyu-ms richardyu-ms force-pushed the syncd_with_sai_ptf_v2 branch 5 times, most recently from a626be4 to c50e600 Compare August 28, 2022 12:35
@richardyu-ms richardyu-ms requested a review from msosyak August 30, 2022 03:04
@richardyu-ms richardyu-ms force-pushed the syncd_with_sai_ptf_v2 branch from 0d32e3b to 29b07a4 Compare August 30, 2022 06:25
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 19, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: richardyu-ms / name: Richard.Yu (f52ae146c980a1a95387576240339f0af2b7649f, e79da0af0ef9df82f95c13ace48a16971052fd10, cde9685916bb1614af1a1b10178d992d09ff59d1, e83634cba4fceafa1b07d77365b9c2989d24345e, f37c2490c6dd847f7e0e4b1cc80dd804d6769bc9, 91e1b9f001a36fcfdac122896d8d94302eae0914, 7cb24f256309847b9580929ec8e728b2e4d4a986)

@richardyu-ms richardyu-ms force-pushed the syncd_with_sai_ptf_v2 branch 3 times, most recently from 7cb24f2 to ec6602f Compare September 19, 2022 06:10
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Sep 19, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: richardyu-ms / name: Richard.Yu (6f230bafb1128628b0852e8e9bb247ef2d57e145, bc0a13a27933e864dff80fdcfba19a287270a041, 0e574935d0ba19167ac23fb35648d78e093d5d08, 5ae971f3085b247751989173ce30b0fcc2d93e13, 8b31b01da17d45dee177411afd02e7c69a5b831f, d9e5f53f677abaa78484ae104a932117a223d519, 353888e698af075f003679bb54eac89d0140c865)

@richardyu-ms richardyu-ms force-pushed the syncd_with_sai_ptf_v2 branch 4 times, most recently from c8bb993 to 353888e Compare September 19, 2022 06:18
@richardyu-ms richardyu-ms requested review from xumia and removed request for msosyak October 24, 2022 01:06
@richardyu-ms richardyu-ms force-pushed the syncd_with_sai_ptf_v2 branch from 7552ac8 to f25be9a Compare November 3, 2022 00:01
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
@richardyu-ms richardyu-ms force-pushed the syncd_with_sai_ptf_v2 branch from ccccb2c to a7c6a27 Compare November 5, 2022 13:16
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
@richardyu-ms richardyu-ms merged commit f0873f2 into sonic-net:master Nov 7, 2022
liushilongbuaa added a commit to liushilongbuaa/sonic-buildimage that referenced this pull request Nov 11, 2022
davidpil2002 pushed a commit to davidpil2002/sonic-buildimage that referenced this pull request Nov 15, 2022
richardyu-ms added a commit to richardyu-ms/sonic-buildimage that referenced this pull request Nov 16, 2022
Publish the sai-ptf docker.

Take part of the change from previous PR sonic-net#11610 (already reverted as some cache issue)
Cause in sonic-net#11610, added two new target in it, one is sai-ptf another one is syncd-rpc with sai-ptf v2, to make the upgrade with more clear target, use this one take the sai-ptf one.

Test one:
NOSTRETCH=y NOJESSIE=y make configure PLATFORM=vs
NOSTRETCH=y NOJESSIE=y NOBULLSEYE=y SAITHRIFT_V2=y make target/docker-ptf-sai.gz

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
richardyu-ms added a commit that referenced this pull request Nov 17, 2022
* [SAI PTF] SAI PTF docker support sai-ptf v2

Publish the sai-ptf docker.

Take part of the change from previous PR #11610 (already reverted as some cache issue)
Cause in #11610, added two new target in it, one is sai-ptf another one is syncd-rpc with sai-ptf v2, to make the upgrade with more clear target, use this one take the sai-ptf one.

Test one:
NOSTRETCH=y NOJESSIE=y make configure PLATFORM=vs
NOSTRETCH=y NOJESSIE=y NOBULLSEYE=y SAITHRIFT_V2=y make target/docker-ptf-sai.gz

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* remove useless change

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* remove useless parameters

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* remove useless change

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

* Update azure-pipelines-build.yml

remove a useless option

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
richardyu-ms added a commit to richardyu-ms/sonic-buildimage that referenced this pull request Nov 19, 2022
cherry-pick sonic-net#12761
Make syncd rpc docker which supports sai-ptf v2
Part of previous PR sonic-net#11610

local bulild the target

NOSTRETCH=y NOJESSIE=y make configure PLATFORM=broadcom NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y make target/docker-syncd-brcm-rpcv2.gz NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y make target/docker-saiserverv2-brcm.gz

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
richardyu-ms added a commit to richardyu-ms/sonic-buildimage that referenced this pull request Nov 19, 2022
    cherry-pick sonic-net#12761
    Make syncd rpc docker which supports sai-ptf v2
    Part of previous PR sonic-net#11610

    local bulild the target

    NOSTRETCH=y NOJESSIE=y make configure PLATFORM=broadcom NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y make target/docker-syncd-brcm-rpcv2.gz NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y make target/docker-saiserverv2-brcm.gz

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
richardyu-ms added a commit that referenced this pull request Nov 21, 2022
cherry-pick #12761
Make syncd rpc docker which supports sai-ptf v2
Part of previous PR #11610

local bulild the target

NOSTRETCH=y NOJESSIE=y make configure PLATFORM=broadcom NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y make target/docker-syncd-brcm-rpcv2.gz NOSTRETCH=y NOJESSIE=y ENABLE_SYNCD_RPC=y SAITHRIFT_V2=y make target/docker-saiserverv2-brcm.gz

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
@richardyu-ms richardyu-ms deleted the syncd_with_sai_ptf_v2 branch January 16, 2023 11:31
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.

3 participants