From 352234ae773dc6010ea2fd3b3446ced48f33ee0a Mon Sep 17 00:00:00 2001 From: Vijaya Kumar Abbaraju Date: Sat, 12 Oct 2024 02:58:21 +0530 Subject: [PATCH] Schema.h Changes to support PAC functionality. (#871) #### Why I did it Added below tables to support PAC functionality. #define APP_PAC_PORT_TABLE_NAME "PAC_PORT_TABLE" #define CFG_PAC_PORT_CONFIG_TABLE "PAC_PORT_CONFIG_TABLE" #define CFG_PAC_GLOBAL_CONFIG_TABLE "PAC_GLOBAL_CONFIG_TABLE" #define CFG_PAC_HOSTAPD_GLOBAL_CONFIG_TABLE "HOSTAPD_GLOBAL_CONFIG_TABLE" #define STATE_PAC_GLOBAL_OPER_TABLE "PAC_GLOBAL_OPER_TABLE" #define STATE_PAC_PORT_OPER_TABLE "PAC_PORT_OPER_TABLE" #define STATE_PAC_AUTHENTICATED_CLIENT_OPER_TABLE "PAC_AUTHENTICATED_CLIENT_OPER_TABLE" #define STATE_OPER_VLAN_TABLE_NAME "OPER_VLAN" #define STATE_OPER_VLAN_MEMBER_TABLE_NAME "OPER_VLAN_MEMBER" #define STATE_OPER_FDB_TABLE_NAME "OPER_FDB" #define STATE_OPER_PORT_TABLE_NAME "OPER_PORT" --- common/schema.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/common/schema.h b/common/schema.h index 48d4d5d8..27aecdb0 100644 --- a/common/schema.h +++ b/common/schema.h @@ -176,6 +176,8 @@ namespace swss { #define APP_DASH_PA_VALIDATION_TABLE_NAME "DASH_PA_VALIDATION_TABLE" #define APP_DASH_ROUTING_APPLIANCE_TABLE_NAME "DASH_ROUTING_APPLIANCE_TABLE" +#define APP_PAC_PORT_TABLE_NAME "PAC_PORT_TABLE" + /***** TO BE REMOVED *****/ #define APP_TC_TO_QUEUE_MAP_TABLE_NAME "TC_TO_QUEUE_MAP_TABLE" @@ -465,6 +467,11 @@ namespace swss { #define CFG_SUPPRESS_ASIC_SDK_HEALTH_EVENT_NAME "SUPPRESS_ASIC_SDK_HEALTH_EVENT" +#define CFG_PAC_PORT_CONFIG_TABLE "PAC_PORT_CONFIG_TABLE" +#define CFG_PAC_GLOBAL_CONFIG_TABLE "PAC_GLOBAL_CONFIG_TABLE" +#define CFG_PAC_HOSTAPD_GLOBAL_CONFIG_TABLE "HOSTAPD_GLOBAL_CONFIG_TABLE" + + /***** STATE DATABASE *****/ #define STATE_SWITCH_CAPABILITY_TABLE_NAME "SWITCH_CAPABILITY" @@ -549,6 +556,16 @@ namespace swss { #define STATE_ACL_TABLE_TABLE_NAME "ACL_TABLE_TABLE" #define STATE_ACL_RULE_TABLE_NAME "ACL_RULE_TABLE" + +/*PAC*/ +#define STATE_PAC_GLOBAL_OPER_TABLE "PAC_GLOBAL_OPER_TABLE" +#define STATE_PAC_PORT_OPER_TABLE "PAC_PORT_OPER_TABLE" +#define STATE_PAC_AUTHENTICATED_CLIENT_OPER_TABLE "PAC_AUTHENTICATED_CLIENT_OPER_TABLE" +#define STATE_OPER_VLAN_TABLE_NAME "OPER_VLAN" +#define STATE_OPER_VLAN_MEMBER_TABLE_NAME "OPER_VLAN_MEMBER" +#define STATE_OPER_FDB_TABLE_NAME "OPER_FDB" +#define STATE_OPER_PORT_TABLE_NAME "OPER_PORT" + /***** Counter capability tables for Queue and Port ****/ #define STATE_QUEUE_COUNTER_CAPABILITIES_NAME "QUEUE_COUNTER_CAPABILITIES" #define STATE_PORT_COUNTER_CAPABILITIES_NAME "PORT_COUNTER_CAPABILITIES"