From 0e58512353f670e52084ba58ed900e36a588db0c Mon Sep 17 00:00:00 2001 From: Ze Gan Date: Sat, 30 Dec 2023 06:20:52 +0800 Subject: [PATCH] [docker-databse]: Revise database_global schema for dpu (#17443) ### Why I did it Revise DPU's database_global.json schema to achieve a more general design ### How I did it 1. Remove databse_type 2. Add a new field databse_name --- dockers/docker-database/database_global.json.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockers/docker-database/database_global.json.j2 b/dockers/docker-database/database_global.json.j2 index 535b714462..032f5e722e 100644 --- a/dockers/docker-database/database_global.json.j2 +++ b/dockers/docker-database/database_global.json.j2 @@ -26,7 +26,7 @@ {% if dpu_cnt > 0 %} {% for dpu in range(dpu_cnt) %} { - "database_type" : "dpudb", + "database_name" : "dpu{{dpu}}", "include" : "../../redisdpu{{dpu}}/sonic-db/database_config.json" {% if dpu == dpu_cnt-1 %} }