Skip to content

[init_cfg.json] Add new FEATURE and CONTAINER_FEATURE tables#4137

Merged
yozhao101 merged 6 commits intosonic-net:masterfrom
yozhao101:init_cfg_json
Feb 11, 2020
Merged

[init_cfg.json] Add new FEATURE and CONTAINER_FEATURE tables#4137
yozhao101 merged 6 commits intosonic-net:masterfrom
yozhao101:init_cfg_json

Conversation

@yozhao101
Copy link
Copy Markdown
Contributor

Signed-off-by: Yong Zhao [email protected]

- What I did
I created a table named CONTAINER_FEATURE in which the auto-restart feature of each container is
currently set to be "enabled". This table will be used to initialize the Config_DB.

- How I did it

- How to verify it

@yozhao101 yozhao101 requested a review from jleveque February 10, 2020 23:14
@jleveque
Copy link
Copy Markdown
Contributor

jleveque commented Feb 11, 2020

As part of this PR, can you please also add the new "FEATURE" table above the "CONTAINER_FEATURE" table?

    "FEATURE": {
{%- for feature in ["sflow", "telemetry"] %}
        "{{feature}}": {
            "status": "disabled"
        }{% if not loop.last %},{% endif -%}
{% endfor %}
    },

@yozhao101
Copy link
Copy Markdown
Contributor Author

@jleveque Sure, will update it.

@jleveque jleveque changed the title [init_cfg.json] Add a new table CONTAINER_FEATURE [init_cfg.json] Add new FEATURE and CONTAINER_FEATURE tables Feb 11, 2020
@yozhao101 yozhao101 merged commit 41958aa into sonic-net:master Feb 11, 2020
abdosi pushed a commit that referenced this pull request Feb 14, 2020
* [init_cfg.json] Add a new table CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Update the content of table CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Use the template to generate the table
CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Add a new table FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Change the order of container names according to
alphabetical order.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Change the dhcp_relay container name and add rest-api.

Signed-off-by: Yong Zhao <[email protected]>
stepanblyschak pushed a commit to stepanblyschak/sonic-buildimage that referenced this pull request Feb 26, 2020
…et#4137)

* [init_cfg.json] Add a new table CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Update the content of table CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Use the template to generate the table
CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Add a new table FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Change the order of container names according to
alphabetical order.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Change the dhcp_relay container name and add rest-api.

Signed-off-by: Yong Zhao <[email protected]>

Conflicts:
	files/build_templates/init_cfg.json.j2
pphuchar pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Mar 9, 2020
…et#4137)

* [init_cfg.json] Add a new table CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Update the content of table CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Use the template to generate the table
CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Add a new table FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Change the order of container names according to
alphabetical order.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Change the dhcp_relay container name and add rest-api.

Signed-off-by: Yong Zhao <[email protected]>
tiantianlv pushed a commit to SONIC-DEV/sonic-buildimage that referenced this pull request Apr 24, 2020
…et#4137)

* [init_cfg.json] Add a new table CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Update the content of table CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Use the template to generate the table
CONTAINER_FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Add a new table FEATURE.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Change the order of container names according to
alphabetical order.

Signed-off-by: Yong Zhao <[email protected]>

* [init_cfg.json] Change the dhcp_relay container name and add rest-api.

Signed-off-by: Yong Zhao <[email protected]>
mssonicbld added a commit that referenced this pull request Mar 12, 2026
…lly (#25996)

#### Why I did it
src/sonic-swss
```
* b25e4543 - (HEAD -> 202511, origin/202511) Temporarily moving the PORT_PHY_ATTR ERR messages to NOTICE level. (#4325) (42 minutes ago) [mssonicbld]
* b25c948d - [buffermgrd] Wait for lossless buffer profile to be applied to SAI (#4314) (25 hours ago) [mssonicbld]
* 56209d24 - [202511] Add PORT_PHY_ATTR flex counter support (#4214) (27 hours ago) [Dhanasekar Rathinavel]
* 1d6e0678 - Support checking capabilities of the mirror (#4137) (2 days ago) [mssonicbld]
* 512aa6ea - [RouteOrch] fix performance regression in ResponsePublisher (#4313) (2 days ago) [mssonicbld]
```
#### How I did it
#### How to verify it
#### Description for the changelog
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.

4 participants