Skip to content

read switch mac from DEVICE_METADATA|localhost:mac#373

Merged
lguohan merged 1 commit intosonic-net:masterfrom
lguohan:mac
Nov 7, 2017
Merged

read switch mac from DEVICE_METADATA|localhost:mac#373
lguohan merged 1 commit intosonic-net:masterfrom
lguohan:mac

Conversation

@lguohan
Copy link
Copy Markdown
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
Copy Markdown
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 <[email protected]>

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

Signed-off-by: Ying Xie <[email protected]>
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 <[email protected]>
jianyuewu pushed a commit to jianyuewu/sonic-swss that referenced this pull request Dec 24, 2025
The key word, namespace, cannot be supported by C compiler, to add control MACRO make this schema support pure C project.

Signed-off-by: Ze Gan <[email protected]>
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