Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CHASSIS_COUNTERS_DB and schema for aggregate VOQ stats #908

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions common/database_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@
"id" : 14,
"separator": ":",
"instance" : "redis"
},
"CHASSIS_COUNTERS_DB" : {
"id" : 21,
"separator": ":",
"instance" : "redis_chassis"
}
},
"VERSION" : "1.0"
Expand Down
3 changes: 3 additions & 0 deletions common/schema.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ namespace swss {
#define APPL_STATE_DB 14
#define EVENT_DB 19
#define BMP_STATE_DB 20
#define CHASSIS_COUNTERS_DB 21

/***** APPLICATION DATABASE *****/

Expand Down Expand Up @@ -233,6 +234,8 @@ namespace swss {

#define RATES_TABLE "RATES"

#define CHASSIS_COUNTERS_VOQ "COUNTERS_VOQ"

/***** EVENTS COUNTER KEYS *****/
#define COUNTERS_EVENTS_PUBLISHED "published"
#define COUNTERS_EVENTS_MISSED_SLOW_RCVR "missed_by_slow_receiver"
Expand Down
Loading