diff --git a/common/database_config.json b/common/database_config.json index 67b5cda8..ce394cbb 100644 --- a/common/database_config.json +++ b/common/database_config.json @@ -91,6 +91,21 @@ "id" : 14, "separator": ":", "instance" : "redis" + }, + "POE_ASIC_DB" : { + "id" : 21, + "separator": ":", + "instance" : "redis" + }, + "POE_COUNTERS_DB" : { + "id" : 22, + "separator": ":", + "instance" : "redis" + }, + "POE_FLEX_COUNTER_DB" : { + "id" : 23, + "separator": ":", + "instance" : "redis" } }, "VERSION" : "1.0" diff --git a/common/schema.h b/common/schema.h index e99f2ad8..1afaf5a2 100644 --- a/common/schema.h +++ b/common/schema.h @@ -29,6 +29,9 @@ namespace swss { #define DPU_COUNTERS_DB 18 #define EVENT_DB 19 #define BMP_STATE_DB 20 +#define POE_ASIC_DB 21 +#define POE_COUNTERS_DB 22 +#define POE_FLEX_COUNTER_DB 23 /***** APPLICATION DATABASE *****/ @@ -116,6 +119,7 @@ namespace swss { #define APP_ISOLATION_GROUP_TABLE_NAME "ISOLATION_GROUP_TABLE" #define APP_BFD_SESSION_TABLE_NAME "BFD_SESSION_TABLE" +#define APP_POE_TABLE_NAME "POE_TABLE" #define APP_SAG_TABLE_NAME "SAG_TABLE" @@ -309,6 +313,7 @@ namespace swss { #define CFG_SEND_TO_INGRESS_PORT_TABLE_NAME "SEND_TO_INGRESS_PORT" #define CFG_GEARBOX_TABLE_NAME "GEARBOX" +#define CFG_POE_TABLE_NAME "POE_PORT" #define CFG_INTF_TABLE_NAME "INTERFACE" #define CFG_LOOPBACK_INTERFACE_TABLE_NAME "LOOPBACK_INTERFACE" @@ -561,6 +566,10 @@ namespace swss { #define STATE_ASIC_SDK_HEALTH_EVENT_TABLE_NAME "ASIC_SDK_HEALTH_EVENT_TABLE" +#define STATE_POE_DEVICE_TABLE_NAME "POE_DEVICE_TABLE" +#define STATE_POE_PSE_TABLE_NAME "POE_PSE_TABLE" +#define STATE_POE_PORT_TABLE_NAME "POE_PORT_TABLE" + // ACL table and ACL rule table #define STATE_ACL_TABLE_TABLE_NAME "ACL_TABLE_TABLE" #define STATE_ACL_RULE_TABLE_NAME "ACL_RULE_TABLE"