forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean sairedis.h header (sonic-net#543)
- Loading branch information
Showing
15 changed files
with
93 additions
and
206 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#ifndef __SAIREDISCOMMON__ | ||
#define __SAIREDISCOMMON__ | ||
|
||
// TODO those defines are shared via syncd and sairedis | ||
|
||
#define SYNCD_INIT_VIEW "INIT_VIEW" | ||
#define SYNCD_APPLY_VIEW "APPLY_VIEW" | ||
#define SYNCD_INSPECT_ASIC "SYNCD_INSPECT_ASIC" | ||
#define ASIC_STATE_TABLE "ASIC_STATE" | ||
#define TEMP_PREFIX "TEMP_" | ||
|
||
// Messages for processing queries from libsairedis to syncd | ||
#define STRING_ATTR_ENUM_VALUES_CAPABILITY_QUERY "attr_enum_values_capability_query" | ||
#define STRING_ATTR_ENUM_VALUES_CAPABILITY_RESPONSE "attr_enum_values_capability_response" | ||
#define STRING_OBJECT_TYPE_GET_AVAILABILITY_QUERY "object_type_get_availability_query" | ||
#define STRING_OBJECT_TYPE_GET_AVAILABILITY_RESPONSE "object_type_get_availability_response" | ||
|
||
#endif // __SAIREDISCOMMON__ |
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
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
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,5 +1,6 @@ | ||
#include "sai_redis.h" | ||
#include "sairedis.h" | ||
#include "sairediscommon.h" | ||
|
||
#include "meta/sai_serialize.h" | ||
|
||
|
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
Oops, something went wrong.