Skip to content

Commit df2f89d

Browse files
authored
VxLAN Tunnel Counters and Rates implementation (#519)
* Changes for Tunnel counters
1 parent 11006e6 commit df2f89d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

common/schema.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ namespace swss {
137137
#define COUNTERS_MACSEC_NAME_MAP "COUNTERS_MACSEC_NAME_MAP"
138138
#define COUNTERS_DEBUG_NAME_PORT_STAT_MAP "COUNTERS_DEBUG_NAME_PORT_STAT_MAP"
139139
#define COUNTERS_DEBUG_NAME_SWITCH_STAT_MAP "COUNTERS_DEBUG_NAME_SWITCH_STAT_MAP"
140+
#define COUNTERS_TUNNEL_TYPE_MAP "COUNTERS_TUNNEL_TYPE_MAP"
141+
#define COUNTERS_TUNNEL_NAME_MAP "COUNTERS_TUNNEL_NAME_MAP"
140142

141143
#define COUNTERS_NAT_TABLE "COUNTERS_NAT"
142144
#define COUNTERS_NAPT_TABLE "COUNTERS_NAPT"
@@ -172,8 +174,10 @@ namespace swss {
172174
#define PG_COUNTER_ID_LIST "PG_COUNTER_ID_LIST"
173175
#define PG_ATTR_ID_LIST "PG_ATTR_ID_LIST"
174176
#define RIF_COUNTER_ID_LIST "RIF_COUNTER_ID_LIST"
177+
#define TUNNEL_COUNTER_ID_LIST "TUNNEL_COUNTER_ID_LIST"
175178
#define SWITCH_DEBUG_COUNTER_ID_LIST "SWITCH_DEBUG_COUNTER_ID_LIST"
176179
#define MACSEC_SA_ATTR_ID_LIST "MACSEC_SA_ATTR_ID_LIST"
180+
#define TUNNEL_ATTR_ID_LIST "TUNNEL_ATTR_ID_LIST"
177181
#define PLUGIN_TABLE "PLUGIN_TABLE"
178182
#define LUA_PLUGIN_TYPE "LUA_PLUGIN_TYPE"
179183
#define SAI_OBJECT_TYPE "SAI_OBJECT_TYPE"
@@ -186,6 +190,7 @@ namespace swss {
186190
#define PORT_PLUGIN_FIELD "PORT_PLUGIN_LIST"
187191
#define RIF_PLUGIN_FIELD "RIF_PLUGIN_LIST"
188192
#define PG_PLUGIN_FIELD "PG_PLUGIN_LIST"
193+
#define TUNNEL_PLUGIN_FIELD "TUNNEL_PLUGIN_LIST"
189194
#define BUFFER_POOL_PLUGIN_FIELD "BUFFER_POOL_PLUGIN_LIST"
190195
#define FLEX_COUNTER_STATUS_FIELD "FLEX_COUNTER_STATUS"
191196
#define FLEX_COUNTER_GROUP_TABLE "FLEX_COUNTER_GROUP_TABLE"

0 commit comments

Comments
 (0)