[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
This commit is contained in:
Ze Gan 2023-12-30 06:20:52 +08:00 committed by GitHub
parent da3c6b9985
commit 0e58512353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 %}
}