From a70282a54f957b80b4706df88a25f8e20b8a2bdc Mon Sep 17 00:00:00 2001 From: EdenGri Date: Tue, 11 Oct 2022 18:31:29 +0000 Subject: [PATCH] Remove LOGLEVEL DB since is no longer used --- doc/grpc_telemetry.md | 1 - proto/sonic.pb.go | 3 --- proto/sonic.proto | 1 - testdata/database_config.json | 5 ----- testdata/database_config_asic0.json | 5 ----- 5 files changed, 15 deletions(-) diff --git a/doc/grpc_telemetry.md b/doc/grpc_telemetry.md index 6dd6c2b7..718b94f8 100644 --- a/doc/grpc_telemetry.md +++ b/doc/grpc_telemetry.md @@ -30,7 +30,6 @@ In SONiC, most of the critical network and system data is stored in redisDB. Bas |APPL_DB | 0 | Application running data | |ASIC_DB | 1 | ASIC configuration and state data |COUNTERS_DB | 2 | Counter data for port, lag, queue -|LOGLEVEL_DB | 3 | Log level control for SONiC modules |CONFIG_DB | 4 | Source of truth for SONiC configuration |FLEX_COUNTER_DB| 5 | For PFC watch dog counters control and other plugin extensions |STATE_DB | 6 | Configuration state for object in CONFIG_DB diff --git a/proto/sonic.pb.go b/proto/sonic.pb.go index 94b439cd..f6f026fc 100644 --- a/proto/sonic.pb.go +++ b/proto/sonic.pb.go @@ -20,7 +20,6 @@ const ( Target_APPL_DB Target = 0 Target_ASIC_DB Target = 1 Target_COUNTERS_DB Target = 2 - Target_LOGLEVEL_DB Target = 3 Target_CONFIG_DB Target = 4 // PFC_WD_DB shares the the same db number with FLEX_COUNTER_DB Target_PFC_WD_DB Target = 5 @@ -34,7 +33,6 @@ var Target_name = map[int32]string{ 0: "APPL_DB", 1: "ASIC_DB", 2: "COUNTERS_DB", - 3: "LOGLEVEL_DB", 4: "CONFIG_DB", 5: "PFC_WD_DB", // Duplicate value: 5: "FLEX_COUNTER_DB", @@ -45,7 +43,6 @@ var Target_value = map[string]int32{ "APPL_DB": 0, "ASIC_DB": 1, "COUNTERS_DB": 2, - "LOGLEVEL_DB": 3, "CONFIG_DB": 4, "PFC_WD_DB": 5, "FLEX_COUNTER_DB": 5, diff --git a/proto/sonic.proto b/proto/sonic.proto index e8fda393..d27453e8 100644 --- a/proto/sonic.proto +++ b/proto/sonic.proto @@ -11,7 +11,6 @@ enum Target { APPL_DB = 0; ASIC_DB = 1; COUNTERS_DB = 2; - LOGLEVEL_DB = 3; CONFIG_DB = 4; // PFC_WD_DB shares the the same db number with FLEX_COUNTER_DB PFC_WD_DB = 5; diff --git a/testdata/database_config.json b/testdata/database_config.json index b86ae11b..d96eb827 100644 --- a/testdata/database_config.json +++ b/testdata/database_config.json @@ -22,11 +22,6 @@ "separator": ":", "instance" : "redis" }, - "LOGLEVEL_DB" : { - "id" : 3, - "separator": ":", - "instance" : "redis" - }, "CONFIG_DB" : { "id" : 4, "separator": "|", diff --git a/testdata/database_config_asic0.json b/testdata/database_config_asic0.json index 3d9823e3..f1596767 100644 --- a/testdata/database_config_asic0.json +++ b/testdata/database_config_asic0.json @@ -22,11 +22,6 @@ "separator": ":", "instance" : "redis" }, - "LOGLEVEL_DB" : { - "id" : 3, - "separator": ":", - "instance" : "redis" - }, "CONFIG_DB" : { "id" : 4, "separator": "|",