[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:
parent
da3c6b9985
commit
0e58512353
@ -26,7 +26,7 @@
|
|||||||
{% if dpu_cnt > 0 %}
|
{% if dpu_cnt > 0 %}
|
||||||
{% for dpu in range(dpu_cnt) %}
|
{% for dpu in range(dpu_cnt) %}
|
||||||
{
|
{
|
||||||
"database_type" : "dpudb",
|
"database_name" : "dpu{{dpu}}",
|
||||||
"include" : "../../redisdpu{{dpu}}/sonic-db/database_config.json"
|
"include" : "../../redisdpu{{dpu}}/sonic-db/database_config.json"
|
||||||
{% if dpu == dpu_cnt-1 %}
|
{% if dpu == dpu_cnt-1 %}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user