Skip to content

[updategraph] Support a special value to use empty configuration#1086

Merged
stcheng merged 1 commit intosonic-net:masterfrom
taoyl-ms:taoyl/updategraph
Oct 28, 2017
Merged

[updategraph] Support a special value to use empty configuration#1086
stcheng merged 1 commit intosonic-net:masterfrom
taoyl-ms:taoyl/updategraph

Conversation

@taoyl-ms
Copy link
Copy Markdown
Contributor

When updategraph service is enabled, a special value "N/A" from DHCP response will now initialize the system with an empty configuration instead of existing minigraph.

A DHCP response without option 224 will remain the current behavior of skipping graph update and use existing (usually default) minigraph.

@taoyl-ms taoyl-ms requested review from lguohan and stcheng October 27, 2017 00:40
@stcheng stcheng merged commit a7ea055 into sonic-net:master Oct 28, 2017
dmytroxshevchuk pushed a commit to dmytroxshevchuk/sonic-buildimage that referenced this pull request Aug 31, 2020
- Update SAI VoQ support (sonic-net#1107) …
- Voq system (sonic-net#1081) …
- [meta] Add support for ignored enum values (sonic-net#1099)
- TPID SAI proposal (sonic-net#1089) …
- ACL GRE key match (sonic-net#1076) …
- Add IPv6 NS and NA Traps (sonic-net#1092) …
- MACsec flow list attribute added in MACsec object (sonic-net#1095) …
- Add Enterprise Number for IPFIX Report Type (sonic-net#1072) …
- Provide TTL and QoS treatment during MPLS encap and decap (sonic-net#1079)
- Create and Set for Tunnel Attributes (sonic-net#1086) …
yxieca added a commit to yxieca/sonic-buildimage that referenced this pull request Sep 8, 2020
- [filter-fdb] Call Filter FDB Main From Within Test Code sonic-net#1051 and sonic-net#1059 (sonic-net#1086)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this pull request Sep 8, 2020
- [filter-fdb] Call Filter FDB Main From Within Test Code #1051 and #1059 (#1086)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Junchao-Mellanox pushed a commit to Junchao-Mellanox/sonic-buildimage that referenced this pull request May 9, 2025
…rofile is not defined in dynamic mode on SN5600/SN5610/SN5640 (sonic-net#1086)

<!--
 Please make sure you've read and understood our contributing guidelines:
 https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

 failure_prs.log Make sure all your commits include a signature generated with `git commit -s` **

 If this is a bug fix, make sure your description includes "fixes #xxxx", or
 "closes #xxxx" or "resolves #xxxx"

 Please provide the following information:
-->

#### Why I did it

Fix issue that the egress zero lossy profile is not defined in dynamic mode on SN5600/SN5610/SN5640

##### Work item tracking
- Microsoft ADO **(number only)**:

#### How I did it

#### How to verify it

<!--
If PR needs to be backported, then the PR must be tested against the base branch and the earliest backport release branch and provide tested image version on these two branches. For example, if the PR is requested for master, 202211 and 202012, then the requester needs to provide test results on master and 202012.
-->

#### Which release branch to backport (provide reason below if selected)

<!--
- Note we only backport fixes to a release branch, *not* features!
- Please also provide a reason for the backporting below.
- e.g.
- [x] 202006
-->

- [ ] 201811
- [ ] 201911
- [ ] 202006
- [ ] 202012
- [ ] 202106
- [ ] 202111
- [ ] 202205
- [ ] 202211
- [ ] 202305

#### Tested branch (Please provide the tested image version)

<!--
- Please provide tested image version
- e.g.
- [x] 20201231.100
-->

- [ ] <!-- image version 1 -->
- [ ] <!-- image version 2 -->

#### Description for the changelog
<!--
Write a short (one line) summary that describes the changes in this
pull request for inclusion in the changelog:
-->

<!--
 Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.
-->

#### Link to config_db schema for YANG module changes
<!--
Provide a link to config_db schema for the table for which YANG model
is defined
Link should point to correct section on https://github.com/Azure/sonic-buildimage/blob/master/src/sonic-yang-models/doc/Configuration.md
-->

#### A picture of a cute animal (not mandatory but encouraged)
mssonicbld added a commit that referenced this pull request Oct 14, 2025
…omatically (#24233)

#### Why I did it
src/sonic-swss-common
```
* 130d8b6 - (HEAD -> master, origin/master, origin/HEAD) Add chassis db. (#1085) (67 minutes ago) [dypet]
* 66e437a - Fix mocktests for buster builds (#1087) (3 days ago) [prabhataravind]
* 32b14a4 - Update static database_config.json in swsscommon (#1086) (4 days ago) [prabhataravind]
* c253917 - Add pop batch size support for ZMQ Consumer (#1084) (5 days ago) [Vivek]
* 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (#1070) (6 days ago) [Connor Roos]
```
#### 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 Dec 4, 2025
…omatically (sonic-net#24233)

#### Why I did it
src/sonic-swss-common
```
* 130d8b6 - (HEAD -> master, origin/master, origin/HEAD) Add chassis db. (sonic-net#1085) (67 minutes ago) [dypet]
* 66e437a - Fix mocktests for buster builds (sonic-net#1087) (3 days ago) [prabhataravind]
* 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (4 days ago) [prabhataravind]
* c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (5 days ago) [Vivek]
* 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (6 days ago) [Connor Roos]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <fenpan@microsoft.com>
qiluo-msft pushed a commit that referenced this pull request Dec 4, 2025
…omatically (#24285)

Why I did it
src/sonic-swss-common

* 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (#1070)" and #1111 (#1123) (5 hours ago) [Qi Luo]
* 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (#1121) (2 days ago) [Liu Shilong]
* 7682785 - Revert "Fix risky unwrap(), expect(), and casting (#1113)" (#1118) (2 days ago) [Liu Shilong]
* cf7c7f6 - Fix issue where namespace would not be read (#1111) (2 days ago) [Connor Roos]
* d6ccff7 - Fix risky unwrap(), expect(), and casting (#1113) (4 days ago) [Qi Luo]
* e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (#1099) (9 days ago) [Dhanasekar Rathinavel]
* d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (#1101) (2 weeks ago) [Liu Shilong]
* 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (#1017) (4 weeks ago) [Akshath TR]
* 472a425 - SHlorch changes for EVPN MH feature (#1051) (5 weeks ago) [jayakj]
* 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (#1083) (7 weeks ago) [Hua Liu]
* 130d8b6 - Add chassis db. (#1085) (7 weeks ago) [dypet]
* 66e437a - Fix mocktests for buster builds (#1087) (8 weeks ago) [prabhataravind]
* 32b14a4 - Update static database_config.json in swsscommon (#1086) (8 weeks ago) [prabhataravind]
* c253917 - Add pop batch size support for ZMQ Consumer (#1084) (8 weeks ago) [Vivek]
* 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (#1070) (8 weeks ago) [Connor Roos]
hdwhdw pushed a commit to hdwhdw/sonic-buildimage that referenced this pull request Dec 4, 2025
…omatically (sonic-net#24285)

Why I did it
src/sonic-swss-common

* 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo]
* 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong]
* 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong]
* cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos]
* d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo]
* e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel]
* d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong]
* 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR]
* 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj]
* 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu]
* 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet]
* 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind]
* 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind]
* c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek]
* 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos]
kewei-arista pushed a commit to kewei-arista/sonic-buildimage that referenced this pull request Dec 8, 2025
…omatically (sonic-net#24285)

Why I did it
src/sonic-swss-common

* 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo]
* 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong]
* 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong]
* cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos]
* d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo]
* e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel]
* d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong]
* 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR]
* 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj]
* 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu]
* 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet]
* 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind]
* 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind]
* c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek]
* 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos]
xwjiang-ms pushed a commit to xwjiang-ms/sonic-buildimage that referenced this pull request Dec 22, 2025
…omatically (sonic-net#24285)

Why I did it
src/sonic-swss-common

* 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo]
* 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong]
* 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong]
* cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos]
* d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo]
* e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel]
* d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong]
* 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR]
* 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj]
* 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu]
* 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet]
* 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind]
* 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind]
* c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek]
* 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos]

Signed-off-by: xiaweijiang <xiaweijiang@microsoft.com>
jasonbridges pushed a commit to jasonbridges/sonic-buildimage that referenced this pull request Jan 22, 2026
…omatically (sonic-net#24285)

Why I did it
src/sonic-swss-common

* 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo]
* 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong]
* 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong]
* cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos]
* d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo]
* e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel]
* d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong]
* 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR]
* 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj]
* 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu]
* 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet]
* 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind]
* 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind]
* c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek]
* 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos]
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…omatically (sonic-net#24285)

Why I did it
src/sonic-swss-common

* 7f1b50f - (HEAD -> master, origin/master, origin/HEAD) Revert "[sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070)" and sonic-net#1111 (sonic-net#1123) (5 hours ago) [Qi Luo]
* 16a8a93 - [ci] Use 1ES agent pool to provide more disk when building swss. (sonic-net#1121) (2 days ago) [Liu Shilong]
* 7682785 - Revert "Fix risky unwrap(), expect(), and casting (sonic-net#1113)" (sonic-net#1118) (2 days ago) [Liu Shilong]
* cf7c7f6 - Fix issue where namespace would not be read (sonic-net#1111) (2 days ago) [Connor Roos]
* d6ccff7 - Fix risky unwrap(), expect(), and casting (sonic-net#1113) (4 days ago) [Qi Luo]
* e67092c - Add PORT_SERDES_ATTR_ID_LIST to FLEX COUNTER DATABASE (sonic-net#1099) (9 days ago) [Dhanasekar Rathinavel]
* d2c8f2c - [ci] Migrate agent pool from sonicbld-1es to sonicso1ES-amd64 (sonic-net#1101) (2 weeks ago) [Liu Shilong]
* 4b86a77 - [dhcp_relay] sonic dhcp relay agent for IPv4 (sonic-net#1017) (4 weeks ago) [Akshath TR]
* 472a425 - SHlorch changes for EVPN MH feature (sonic-net#1051) (5 weeks ago) [jayakj]
* 7407a2e - Optimize memory usage by replacing the queue's underlying container with a list. (sonic-net#1083) (7 weeks ago) [Hua Liu]
* 130d8b6 - Add chassis db. (sonic-net#1085) (7 weeks ago) [dypet]
* 66e437a - Fix mocktests for buster builds (sonic-net#1087) (8 weeks ago) [prabhataravind]
* 32b14a4 - Update static database_config.json in swsscommon (sonic-net#1086) (8 weeks ago) [prabhataravind]
* c253917 - Add pop batch size support for ZMQ Consumer (sonic-net#1084) (8 weeks ago) [Vivek]
* 4fea06e - [sonic-db-cli] Add flag to make cli calls to container databases (sonic-net#1070) (8 weeks ago) [Connor Roos]

Signed-off-by: Feng Pan <fenpan@microsoft.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.

3 participants