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 yang model for ICMP and ICMPV6 #18311

Merged
merged 2 commits into from
Mar 11, 2024

Conversation

bingwang-ms
Copy link
Contributor

Why I did it

Fix #18137

This PR is to update the definition of Yang model for ICMP and ICMPv6.

Before change After change
ICMP type [1, 44] [0, 44]
ICMP code [1, 16] [0, 16]
ICMPV6 type [1, 44] [0, 255]
ICMPV6 code [1, 44] [0, 255]

References

  1. https://datatracker.ietf.org/doc/html/rfc792
  2. https://datatracker.ietf.org/doc/html/rfc4443
Work item tracking
  • Microsoft ADO 27118551:

How I did it

How to verify it

Verified by UT.

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202311

Tested branch (Please provide the tested image version)

Description for the changelog

Update the definition of Yang model for ICMP and ICMPv6.

Link to config_db schema for YANG module changes

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

@yxieca yxieca merged commit 1ed3644 into sonic-net:master Mar 11, 2024
19 checks passed
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Mar 11, 2024
* Fix yang model for ICMP and ICMPV6

* Change ICMP type and code to 0-255
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202311: #18327

saksarav-nokia pushed a commit to saksarav-nokia/sonic-buildimage that referenced this pull request Mar 12, 2024
* Fix yang model for ICMP and ICMPV6

* Change ICMP type and code to 0-255
@StormLiangMS
Copy link
Contributor

hi @bingwang-ms is this must to have? I'm trying to keep only must fix in at this stage.

@mssonicbld
Copy link
Collaborator

@bingwang-ms cherry pick PR didn't pass PR checker. Please check!!!
#18327

mssonicbld pushed a commit that referenced this pull request Mar 15, 2024
* Fix yang model for ICMP and ICMPV6

* Change ICMP type and code to 0-255
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request May 9, 2024
* Fix yang model for ICMP and ICMPV6

* Change ICMP type and code to 0-255
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #18921

mssonicbld pushed a commit that referenced this pull request May 11, 2024
* Fix yang model for ICMP and ICMPV6

* Change ICMP type and code to 0-255
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.

8 participants