-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [dash] Refactor style for saiapi template and add logs For better understanding which attributes are not implemented yet * [dash] Move generate_dash_api.sh script to proper Makefile We will need makefile for movind source that don't need templates * [dash] Move out non template files to src directory This will separate files that nedd actual processing from files that are pure sources * [dash] Add Makefile include files dependencies For faster compilation * [dash] Dash SAI add quad generic api skeleton For base non dash apis * [dash] Add dash quad macros for quad SAI api Will be handy when adding support for more base objects * [dash] Extract port apis to separate file To make code more clear * [dash] Extract switch apis to separate file * [dash] Add ObjectIdManager class For managing all objects oids * [dash] Start using ObjectIdManager in DashSai For better managing all oids * [dash] Add dummy SAI base APIs Will be needed for swss orchagent to start properly * [dash] Fix vnet_out test It require to create switch first * Use actual switch id * Address comments
- Loading branch information
Showing
27 changed files
with
1,008 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,13 @@ | ||
dashone: test.cpp | ||
g++ \ | ||
-I SAI/inc \ | ||
-I SAI/experimental/ \ | ||
-o test test.cpp saidash.cpp \ | ||
-L/usr/local/lib/ \ | ||
-lpthread \ | ||
-lpiprotogrpc \ | ||
-lpiprotobuf \ | ||
-lprotobuf \ | ||
-lgrpc++ \ | ||
-lgrpc \ | ||
-lpiall \ | ||
-lpi_dummy \ | ||
-lpthread \ | ||
-labsl_synchronization \ | ||
-g | ||
|
||
all: copysrc | ||
./sai_api_gen.py \ | ||
/bmv2/dash_pipeline.bmv2/dash_pipeline_p4rt.json \ | ||
--ignore-tables=appliance,eni_meter,slb_decap \ | ||
dash | ||
|
||
copysrc: | ||
install -CDv src/Makefile src/*h src/*cpp lib/ | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -f lib/* |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.