Skip to content

saithrift client & server integration with DASH bmv2 (Fix #131,158)#164

Merged
KrisNey-MSFT merged 148 commits intosonic-net:mainfrom
chrispsommers:chris-saithrift5
Aug 2, 2022
Merged

saithrift client & server integration with DASH bmv2 (Fix #131,158)#164
KrisNey-MSFT merged 148 commits intosonic-net:mainfrom
chrispsommers:chris-saithrift5

Conversation

@chrispsommers
Copy link
Collaborator

@chrispsommers chrispsommers commented Jul 27, 2022

Fixes #131, #158:
Support P4 remove operations. Improve P4RT logging in libsai.
Autogenerate saithrift-server daemon and saithrift-client docker with all tools and scripts.
Pytest & PTF Framework integration.
Exemplar PTF and Pytest test-cases.
CI enhancements for all of the above.
Documentation.

…to merge eventually. Meanwhile can locally modify SAI makefiles.
…n dist tarball to /usr/lib inside container so can be extracted for deployment to a host.
…brary image and selectively copying to BMV2 builder/runtime image based on available p4lang docker image.
…s; runtime client is always built locally, not pulled.

Change python requirements to hardlink to DASH/test/requirements.txt. Change DOckerfile name for consistency.
…il less often, suspect CI runner limits are being strained. Tests fail sometimes w/o reason.
…ets() to verify_packet() to avoid failing due to junk entering veths from host network.
@chrispsommers chrispsommers changed the title saithrift client & server integration with DASH bmv2 saithrift client & server integration with DASH bmv2 (Fix https://github.com/Azure/DASH/issues/131) Jul 28, 2022
@chrispsommers chrispsommers changed the title saithrift client & server integration with DASH bmv2 (Fix https://github.com/Azure/DASH/issues/131) saithrift client & server integration with DASH bmv2 (Fix #131) Jul 28, 2022
@chrispsommers chrispsommers changed the title saithrift client & server integration with DASH bmv2 (Fix #131) saithrift client & server integration with DASH bmv2 (Fix #131,158) Jul 30, 2022

vip.apply();
// TODO [cs] shouldn't this also be called at end of ingress?
// Shouldn't it call mark_to_drop(standard_metadata);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fixed in my latest PR that got merged

Copy link
Collaborator Author

@chrispsommers chrispsommers Aug 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fixed in my latest PR that got merged

Excellent, thanks! I did notice your change when I synced to main today.

@KrisNey-MSFT
Copy link
Collaborator

It has been open a week for review;there have been no comprehensive reviews and we do not expect more. There have been several "testers" and some valuable feedback and consequent fixes along the way.

@KrisNey-MSFT KrisNey-MSFT merged commit 263ef61 into sonic-net:main Aug 2, 2022
@chrispsommers chrispsommers deleted the chris-saithrift5 branch September 30, 2022 00:54
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.

SAI Thrift Server integration into bmv2

3 participants