Skip to content

Commit

Permalink
Add new table schema for BMP feature. (sonic-net#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
FengPan-Frank authored May 31, 2024
1 parent 138b32e commit 391e27b
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 @@ -24,6 +24,7 @@ namespace swss {
#define CHASSIS_STATE_DB 13
#define APPL_STATE_DB 14
#define EVENT_DB 19
#define BMP_STATE_DB 20

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

Expand Down Expand Up @@ -323,6 +324,7 @@ namespace swss {
#define CFG_BGP_MONITORS_TABLE_NAME "BGP_MONITORS"
#define CFG_BGP_PEER_RANGE_TABLE_NAME "BGP_PEER_RANGE"
#define CFG_BGP_DEVICE_GLOBAL_TABLE_NAME "BGP_DEVICE_GLOBAL"
#define CFG_BMP_TABLE_NAME "BMP"

#define CFG_SWITCH_HASH_TABLE_NAME "SWITCH_HASH"
#define CFG_DEVICE_METADATA_TABLE_NAME "DEVICE_METADATA"
Expand Down Expand Up @@ -573,6 +575,10 @@ namespace swss {
#define EVENT_STATS_TABLE_NAME "EVENT_STATS"
#define EVENT_ALARM_STATS_TABLE_NAME "ALARM_STATS"

/***** BMP STATE DATABASE *****/
#define BMP_STATE_BGP_NEIGHBOR_TABLE "BGP_NEIGHBOR_TABLE"
#define BMP_STATE_BGP_RIB_IN_TABLE "BGP_RIB_IN_TABLE"
#define BMP_STATE_BGP_RIB_OUT_TABLE "BGP_RIB_OUT_TABLE"

#ifdef __cplusplus
}
Expand Down

0 comments on commit 391e27b

Please sign in to comment.