Skip to content

[init_cfg.json] Maintain a separate init_cfg.json.j2 template file#4092

Merged
jleveque merged 7 commits intosonic-net:masterfrom
yozhao101:create_init_cfg_json
Feb 7, 2020
Merged

[init_cfg.json] Maintain a separate init_cfg.json.j2 template file#4092
jleveque merged 7 commits intosonic-net:masterfrom
yozhao101:create_init_cfg_json

Conversation

@yozhao101
Copy link
Copy Markdown
Contributor

- What I did
We created a separate init_cfg.json.j2 file instead of generating it in the sonic_debian_extension.j2. After that, we can put new configuration info into file such as the auto-restart feature of each docker container we introduced recently.

- How I did it
Remove the part of code from sonic_debian_extension.j2 and put it in new file init_cfg.json.j2.

- How to verify it

this file using the content from sonic_debian_extension.j2.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>
@yozhao101 yozhao101 requested a review from jleveque February 1, 2020 00:54
@jleveque jleveque changed the title [init_cfg.json] Maintain a separete init_cfg.json.j2 file. [init_cfg.json] Maintain a separate init_cfg.json.j2 template file Feb 1, 2020
generate init_cfg.json to line 269 in sonic_debian_extension.j2.

Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
stepanblyschak
stepanblyschak previously approved these changes Feb 3, 2020
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
Signed-off-by: Yong Zhao <yozhao@microsoft.com>
@jleveque
Copy link
Copy Markdown
Contributor

jleveque commented Feb 3, 2020

Retest vs please

@yozhao101
Copy link
Copy Markdown
Contributor Author

Retest vsimage please.

@jleveque
Copy link
Copy Markdown
Contributor

jleveque commented Feb 4, 2020

Retest vsimage please

@lguohan
Copy link
Copy Markdown
Collaborator

lguohan commented Feb 7, 2020

retest vsimage please

@jleveque jleveque merged commit 3bb61ab into sonic-net:master Feb 7, 2020
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
mssonicbld added a commit that referenced this pull request Feb 7, 2026
…lly (#25386)

#### Why I did it
src/sonic-swss
```
* 4be0101 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request #4092 from divyagayathri-hcl/8_multicast (9 hours ago) [StephenWangGoogle]
* a22c150 - [P4Orch] Implement functions to add route entries that assign multicast. (22 hours ago) [mint570]
```
#### How I did it
#### How to verify it
#### Description for the changelog
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…lly (sonic-net#25386)

#### Why I did it
src/sonic-swss
```
* 4be0101 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request sonic-net#4092 from divyagayathri-hcl/8_multicast (9 hours ago) [StephenWangGoogle]
* a22c150 - [P4Orch] Implement functions to add route entries that assign multicast. (22 hours ago) [mint570]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <fenpan@microsoft.com>
dprital pushed a commit that referenced this pull request Mar 19, 2026
…lly (#25386)

#### Why I did it
src/sonic-swss
```
* 4be0101 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request #4092 from divyagayathri-hcl/8_multicast (9 hours ago) [StephenWangGoogle]
* a22c150 - [P4Orch] Implement functions to add route entries that assign multicast. (22 hours ago) [mint570]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: dprital <drorp@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants