SAI
SAI copied to clipboard
Switch Abstraction Interface
Hi all, https://github.com/opencomputeproject/SAI/tree/master/test/saithrift and https://github.com/opencomputeproject/SAI/tree/master/ptf What is the difference between these two frameworks? Can anyone answer? I am planning to build a framework from this repo to test SAI on...
When using saistatuses that are in range (SAI_STATUS_*_0 - SAI_STATUS_*_MAX) , on Linux setup (negative saistatus), the helper MACROs SAI_STATUS_IS_*(x), returns False for statuses in range except for the SAI_STATUS_*_0)....
Signed-off-by: Marian Pritsak
It appears that experimental headers do not generate constants in sai_headers.py. Curiously, these constants are referenced in the auto-generated sai_thrift API code in `sai_adapter.py`. As an example, the attached archive...
I followed the instructions from README file - https://github.com/opencomputeproject/SAI/blob/master/flexsai/p4/README.md in order to link and build `p4lang/p4c` with `SAI p4 backend` extension. With `make` command an error occurred: **Error copying directory...
Ubuntu 20.04 sai v1.5.2 thrift 0.13.0-2build2 Building with: ``` sed -Ei 's|^(SAI_HEADER_DIR \?= ).*$|\1/path/to/git-saithrift/inc|g' /path/to/git-saithrift/test/saithrift/Makefile debuild -i -I --no-sign --build=binary -j1 ``` leads to: ``` ... g++ -I/home/actionmystique/src/SAI/saithrift-build/git-saithrift/inc -I. -std=c++11...
1. If we have both SAI_HOSTIF_TRAP_TYPE_TTL_ERROR and SAI_VIRUTAL_ROUTER_VIOLATION_TTL1_ACTION configured, does one config just take precedence over another or a more complex behaviour is expected in this case? Considering a case...
Hi, I have a question about user expectations when the following attributes are called: SAI_PORT_ATTR_SUPPORTED_FEC_MODE SAI_PORT_ATTR_SUPPORTED_FEC_MODE_EXTENDED FEC modes can be different based on the port speed. So does this attribute...
Signed-off-by: Marian Pritsak