Skip to content

Commit

Permalink
Add support for route flow counter (#576)
Browse files Browse the repository at this point in the history
* Add support for route flow counter
  • Loading branch information
Junchao-Mellanox authored Feb 16, 2022
1 parent 2262c01 commit 9eac0ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ namespace swss {
#define COUNTERS_DEBUG_NAME_SWITCH_STAT_MAP "COUNTERS_DEBUG_NAME_SWITCH_STAT_MAP"
#define COUNTERS_TUNNEL_TYPE_MAP "COUNTERS_TUNNEL_TYPE_MAP"
#define COUNTERS_TUNNEL_NAME_MAP "COUNTERS_TUNNEL_NAME_MAP"
#define COUNTERS_ROUTE_NAME_MAP "COUNTERS_ROUTE_NAME_MAP"
#define COUNTERS_ROUTE_TO_PATTERN_MAP "COUNTERS_ROUTE_TO_PATTERN_MAP"

#define COUNTERS_NAT_TABLE "COUNTERS_NAT"
#define COUNTERS_NAPT_TABLE "COUNTERS_NAPT"
Expand Down Expand Up @@ -373,6 +375,8 @@ namespace swss {

#define CFG_DHCP_TABLE "DHCP_RELAY"

#define CFG_FLOW_COUNTER_ROUTE_PATTERN_TABLE_NAME "FLOW_COUNTER_ROUTE_PATTERN"

/***** STATE DATABASE *****/

#define STATE_SWITCH_CAPABILITY_TABLE_NAME "SWITCH_CAPABILITY_TABLE"
Expand Down Expand Up @@ -433,6 +437,8 @@ namespace swss {
#define STATE_VNET_RT_TUNNEL_TABLE_NAME "VNET_ROUTE_TUNNEL_TABLE"
#define STATE_ADVERTISE_NETWORK_TABLE_NAME "ADVERTISE_NETWORK_TABLE"

#define STATE_FLOW_COUNTER_CAPABILITY_TABLE_NAME "FLOW_COUNTER_CAPABILITY_TABLE"

/***** MISC *****/

#define IPV4_NAME "IPv4"
Expand Down

0 comments on commit 9eac0ae

Please sign in to comment.