Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read switch mac from DEVICE_METADATA|localhost:mac #373

Merged
merged 1 commit into from
Nov 7, 2017

Conversation

lguohan
Copy link
Contributor

@lguohan lguohan commented Nov 7, 2017

What I did
change vlanmgrd to read switch mac from DEVICE_METADATA|localhost entry

Why I did it
unify the switch level attribute to DEVICE_METADATA field.
Check the wiki. https://github.com/Azure/SONiC/wiki/Configuration

How I verified it

admin@str-s6000-on-1:~$ redis-cli -n 4 hget "DEVICE_METADATA|localhost" "mac"                    
"00:00:11:11:11:11"

Details if related

@lguohan
Copy link
Contributor Author

lguohan commented Nov 7, 2017

@JipanYanga , please review.

@lguohan lguohan merged commit 5da255c into sonic-net:master Nov 7, 2017
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
* [reboot] clear warm boot files when reboot is requested

Both warm/fast reboot are invoking /sbin/reboot directly.

If user invoked 'reboot', one scenario could be that user tried to issue
either fast or warm reboot and failed to complete. User then tries to
recover the system with a cold reboot.

In this scenario, particularly after warm-reboot request failed, we should
remove db backup files, so that the system will come up and perform a cold
recovery.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [clean up] rename warm boot backup file config_db.json

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
* 7812372 2018-11-08 | Update changelog to v1.3.5 (HEAD, origin/v1.3) [Guohan Lu]
* a98bbfe 2018-11-08 | build saiserver and saiserver-dbg packages [Guohan Lu]
* 2d3cce2 2018-11-02 | Change SAI_MIRROR_SESSION_ATTR_VLAN_HEADER_VALID to CREATE_AND_SET (sonic-net#879) [Shuotian Cheng]

Signed-off-by: Guohan Lu <gulv@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.

2 participants