Add Tajo Mirror-on-Drop integration changes#1289
Conversation
|
Hi @snisha-cisco! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
Treat SAI_STATUS_INVALID_PARAMETER as nullopt when fetching optional extension attributes so PACKET_DROP TamEvents do not abort restore.
|
@Tianyu-Meta has imported this pull request. If you are a Meta employee, you can view this in D108954349. |
Pre-submission checklist
pip install -r requirements-dev.txt && pre-commit installpre-commit runSummary
Adds Mirror-on-Drop support for Tajo (Yuba/G202X): SAI TAM configuration/teardown, SDK punt-header parsing, Tajo-specific agent hw test validation, and improved MoD packet capture in shared stateless tests. Previously MoD worked on XGS/DNX but not on Tajo platforms.
Test Plan
Verified on Tajo hw G200 by running AgentMirrorOnDropStatelessTest (DefaultRouteDrop, MmuDrop, AclDrop) and AgentMirrorOnDropSrv6Test.Srv6Drops. All passed. Logs showed MoD packets captured and validated via TajoMirrorOnDropImpl (SDK punt header parse, drop reason codes, collector outer header). Pre-commit passed on all PR files.