Skip to content

[DPB][YANG] Fix cases when boolean is used in different literal cases #9654

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

Conversation

mykolaxgerasymenko
Copy link
Contributor

  • Add boolean as typedef to sonic-types
  • Fix boolean in sonic-feature yang model
  • Fix boolean in sonic-flex_counter yang model

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

Why I did it

It was request to cherry-pick fix from master (#9418) to 202111 branch to fix issue when boolean is used in different literal cases.

How I did it

Added boolean to sonic-types as typedef with different literal cases.

How to verify it

Run the command config interface breakout <interface_name> <breakout_mode>

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

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

@mykolaxgerasymenko
Copy link
Contributor Author

@judyjoseph
I opened this PR to apply changes from #9418 to 202111 branch. Please review.

* Add boolean as typedef to sonic-types
* Fix boolean in sonic-feature yang model
* Fix boolean in sonic-flex_counter yang model

Signed-off-by: Mykola Gerasymenko <[email protected]>
@mykolaxgerasymenko
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mykolaxgerasymenko
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mykolaxgerasymenko
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mykolaxgerasymenko
Copy link
Contributor Author

@judyjoseph @qiluo-msft Please review.

Signed-off-by: Mykola Gerasymenko <[email protected]>
@mykolaxgerasymenko
Copy link
Contributor Author

@qiluo-msft Please merge.

@qiluo-msft qiluo-msft merged commit 3d82e6c into sonic-net:202111 Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants