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

Fix vlan incremental config and add vs test cases #799

Merged
merged 9 commits into from
Jun 4, 2019

Conversation

jipanyang
Copy link
Contributor

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

What I did
Fix vlan incremental config update.

Why I did it

How I verified it
VS.
Details if related

@lguohan lguohan requested review from qiluo-msft and prsunny March 20, 2019 19:01
@lguohan
Copy link
Contributor

lguohan commented Mar 20, 2019

can you add more comments on what problem it is trying to solve here?

* Don't program vlan again if state is already set.
* will hit this for docker warm restart.
* Just set the internal data structure and remove the request.
* If state is already set for this vlan, but it doesn't exit in m_vlans set,
Copy link
Contributor

@qiluo-msft qiluo-msft Mar 20, 2019

Choose a reason for hiding this comment

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

exit [](start = 69, length = 4)

typo? #Closed

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

@prsunny prsunny left a comment

Choose a reason for hiding this comment

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

Looks ok to me!

@jipanyang
Copy link
Contributor Author

"vconfig" missing in the Jenkins unit test environment, it is requirement for the tagged vlan test.

@lguohan
Copy link
Contributor

lguohan commented Apr 24, 2019

vconfig is installed.

@jipanyang jipanyang force-pushed the vlan_incremental branch 2 times, most recently from eac5357 to b4f8d1a Compare May 31, 2019 02:45
@jipanyang
Copy link
Contributor Author

@qiluo-msft as discussed offline, please help merge the change if no further comment. thanks.

@sonic-net sonic-net deleted a comment from lguohan Jun 3, 2019
@qiluo-msft
Copy link
Contributor

Resolve conflict?

@jipanyang
Copy link
Contributor Author

@qiluo-msft conflict resolved.

@qiluo-msft
Copy link
Contributor

@lguohan Do you have more concern?

@lguohan lguohan merged commit 7f87260 into sonic-net:master Jun 4, 2019
@jipanyang jipanyang deleted the vlan_incremental branch June 10, 2019 23:35
yxieca pushed a commit that referenced this pull request Jul 19, 2019
* Fix vlan incremental config and add vs test cases

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
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.

5 participants