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

[config engine] For l2 preset, use admin_status: up by default #3902

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

mykolaf
Copy link
Collaborator

@mykolaf mykolaf commented Dec 13, 2019

Signed-off-by: Mykola Faryma [email protected]

- What I did
Updated the l2 preset config generator to specify 'admin_status': 'up' for every port by default.
The use of setdefault() ensures that if port already has some admin_status set, the original value will not be overwritten.

- How I did it

- How to verify it

sonic-cfggen -H -p -k $HWSKU --preset l2

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@lguohan lguohan merged commit fbcaaa4 into sonic-net:master Dec 13, 2019
lguohan pushed a commit that referenced this pull request Dec 13, 2019
Updated the l2 preset config generator to specify 'admin_status': 'up' for every port by default.
The use of setdefault() ensures that if port already has some admin_status set, the original value will not be overwritten.

Signed-off-by: Mykola Faryma <[email protected]>
lguohan pushed a commit that referenced this pull request Dec 13, 2019
Updated the l2 preset config generator to specify 'admin_status': 'up' for every port by default.
The use of setdefault() ensures that if port already has some admin_status set, the original value will not be overwritten.

Signed-off-by: Mykola Faryma <[email protected]>
@mykolaf mykolaf deleted the l2 branch February 18, 2020 13:14
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