Skip to content

Add support for lag state in stateDB#344

Merged
lguohan merged 1 commit intosonic-net:masterfrom
jipanyang:lag_state_db
Oct 25, 2017
Merged

Add support for lag state in stateDB#344
lguohan merged 1 commit intosonic-net:masterfrom
jipanyang:lag_state_db

Conversation

@jipanyang
Copy link
Contributor

Create an entry in stateDB for each LAG created, and delete the entry when lag removed

Signed-off-by: Jipan Yang jipan.yang@alibaba-inc.com

@jipanyang
Copy link
Contributor Author

jipanyang commented Oct 10, 2017

root@sonic:/etc/sonic# redis-cli -n 6 keys PORTCH*

  1. "PORTCHANNEL_TABLE|PortChannel47"
  2. "PORTCHANNEL_TABLE|PortChannel46"

root@sonic:/etc/sonic# redis-cli -n 6 hgetall "PORTCHANNEL_TABLE|PortChannel47"

  1. "state"
  2. "ok"

root@sonic:/etc/sonic# redis-cli -n 6 hgetall "PORTCHANNEL_TABLE|PortChannel46"

  1. "state"
  2. "ok"

Create an entry in stateDB for each LAG created, and delete the entry when lag removed

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
@jipanyang
Copy link
Contributor Author

jipanyang commented Oct 11, 2017

Has dependency on sonic-net/sonic-swss-common#143

m_lagTable(db, APP_LAG_TABLE_NAME),
m_lagMemberTable(db, APP_LAG_MEMBER_TABLE_NAME)
m_lagMemberTable(db, APP_LAG_MEMBER_TABLE_NAME),
m_stateLagTable(stateDb, STATE_LAG_TABLE_NAME, CONFIGDB_TABLE_NAME_SEPARATOR)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lguohan lguohan merged commit c44567b into sonic-net:master Oct 25, 2017
@jipanyang jipanyang deleted the lag_state_db branch June 2, 2018 02:04
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
* Dump buffer pool and profile config

Signed-off-by: Wenda <wenni@microsoft.com>

* Add logic to set dynamic alpha

Signed-off-by: Wenda <wenni@microsoft.com>

* Add show mmu

Signed-off-by: Wenda <wenni@microsoft.com>

* Add command line description

Signed-off-by: Wenda <wenni@microsoft.com>

* Check alpha value range; exit with error message if field to set is not supported

Signed-off-by: Wenda <wenni@microsoft.com>
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
8db1eaf 2018-09-07 | added vxlan tunnel as possible condition for underlay interface attribute (sonic-net#870) (HEAD, origin/v1.3) [YonatanPitz]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
jianyuewu pushed a commit to jianyuewu/sonic-swss that referenced this pull request Dec 24, 2025
* Add modifyRedis flag to consumer table object

* Remove sal annotations

* Add unittests

* Address comments
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