Skip to content

cherry-pick PR [PR:23510] KDUMP YANG: Update the regex to accept memory start range accept without suffix#1468

Merged
arlakshm merged 2 commits intoAzure:202405from
deepak-singhal0408:deepsinghal/kdump_yang_fix
Aug 7, 2025
Merged

cherry-pick PR [PR:23510] KDUMP YANG: Update the regex to accept memory start range accept without suffix#1468
arlakshm merged 2 commits intoAzure:202405from
deepak-singhal0408:deepsinghal/kdump_yang_fix

Conversation

@deepak-singhal0408
Copy link
Contributor

Why I did it

The KDUMP config for memory should accept start value without Suffix(M or G). Default suffix is bytes. Some platforms define the start value without suffix( which is valid and should be accepted)

Work item tracking
  • Microsoft ADO (number only):
    33973757

How I did it

Updated the regex to make the start Memory suffix optional

How to verify it

Added a new test case to ensure that intended config is accepted.

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

  • 202205
  • 202211
  • 202305
  • 202311
  • 202405
  • 202411
  • 202505

Tested branch (Please provide the tested image version)

master

Description for the changelog

Link to config_db schema for YANG module changes

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

@arlakshm
Copy link
Contributor

arlakshm commented Aug 7, 2025

/Azp run Azure.sonic-buildimage-msft

@azure-pipelines
Copy link

No pipelines are associated with this pull request.

@arlakshm
Copy link
Contributor

arlakshm commented Aug 7, 2025

/Azp run Azure.sonic-buildimage-msft.PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@arlakshm arlakshm merged commit 5f2308c into Azure:202405 Aug 7, 2025
3 checks passed
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.

2 participants