Commit 4f5da5a 1 parent e002e40 commit 4f5da5a Copy full SHA for 4f5da5a
File tree 4 files changed +23
-1
lines changed
tests/redis_multi_db_ut_config
4 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 86
86
"id" : 13 ,
87
87
"separator" : " |" ,
88
88
"instance" : " redis_chassis"
89
+ },
90
+ "APPL_STATE_DB" : {
91
+ "id" : 14 ,
92
+ "separator" : " |" ,
93
+ "instance" : " redis"
89
94
}
90
95
},
91
96
"VERSION" : " 1.0"
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ namespace swss {
22
22
#define GB_FLEX_COUNTER_DB 11
23
23
#define CHASSIS_APP_DB 12
24
24
#define CHASSIS_STATE_DB 13
25
+ #define APPL_STATE_DB 14
25
26
26
27
/* **** APPLICATION DATABASE *****/
27
28
@@ -43,6 +44,16 @@ namespace swss {
43
44
#define APP_NEXTHOP_GROUP_TABLE_NAME " NEXTHOP_GROUP_TABLE"
44
45
#define APP_CLASS_BASED_NEXT_HOP_GROUP_TABLE_NAME " CLASS_BASED_NEXT_HOP_GROUP_TABLE"
45
46
47
+ #define APP_P4RT_TABLE_NAME " P4RT_TABLE"
48
+ #define APP_P4RT_ROUTER_INTERFACE_TABLE_NAME " P4RT_ROUTER_INTERFACE_TABLE"
49
+ #define APP_P4RT_NEIGHBOR_TABLE_NAME " P4RT_NEIGHBOR_TABLE"
50
+ #define APP_P4RT_NEXTHOP_TABLE_NAME " P4RT_NEXTHOP_TABLE"
51
+ #define APP_P4RT_WCMP_GROUP_TABLE_NAME " P4RT_WCMP_GROUP_TABLE"
52
+ #define APP_P4RT_IPV4_TABLE_NAME " P4RT_IPV4_TABLE"
53
+ #define APP_P4RT_IPV6_TABLE_NAME " P4RT_IPV6_TABLE"
54
+ #define APP_P4RT_ACL_TABLE_DEFINITION_NAME " P4RT_ACL_TABLE_DEFINITION"
55
+ #define APP_P4RT_MIRROR_SESSION_TABLE_NAME " P4RT_MIRROR_SESSION_TABLE"
56
+
46
57
#define APP_COPP_TABLE_NAME " COPP_TABLE"
47
58
#define APP_VRF_TABLE_NAME " VRF_TABLE"
48
59
#define APP_VNET_TABLE_NAME " VNET_TABLE"
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ const TableNameSeparatorMap TableBase::tableNameSeparatorMap = {
28
28
{ CONFIG_DB, TABLE_NAME_SEPARATOR_VBAR },
29
29
{ PFC_WD_DB, TABLE_NAME_SEPARATOR_COLON },
30
30
{ FLEX_COUNTER_DB, TABLE_NAME_SEPARATOR_COLON },
31
- { STATE_DB, TABLE_NAME_SEPARATOR_VBAR }
31
+ { STATE_DB, TABLE_NAME_SEPARATOR_VBAR },
32
+ { APPL_STATE_DB, TABLE_NAME_SEPARATOR_VBAR }
32
33
};
33
34
34
35
Table::Table (const DBConnector *db, const string &tableName)
Original file line number Diff line number Diff line change 92
92
"separator" : " |" ,
93
93
"instance" : " redis"
94
94
},
95
+ "APPL_STATE_DB" : {
96
+ "id" : 14 ,
97
+ "separator" : " |" ,
98
+ "instance" : " redis"
99
+ },
95
100
"TEST_DB" : {
96
101
"id" : 15 ,
97
102
"separator" : " :" ,
You can’t perform that action at this time.
0 commit comments