Skip to content

Update json tags and argument count for management interface address and arp cmds#220

Merged
Sreevanich16 merged 4 commits into
Azure:kubesonicfrom
Sreevanich16:showCmdsminorFix
May 26, 2026
Merged

Update json tags and argument count for management interface address and arp cmds#220
Sreevanich16 merged 4 commits into
Azure:kubesonicfrom
Sreevanich16:showCmdsminorFix

Conversation

@Sreevanich16

@Sreevanich16 Sreevanich16 commented May 26, 2026

Copy link
Copy Markdown

Why I did it

The show arp command accepts at most 1 argument (an IP address), but the max argument is declared as 2 in show paths.go.

How I did it

Fixed the max argument count from 2 to 1 in show_paths.go. Additionally, normalized the management interface JSON keys from title-case ("Management IP address") to snake_case("management_ip_address") for consistency with the API contract, and updated the corresponding tests.

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

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

@Sreevanich16

Copy link
Copy Markdown
Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@Sreevanich16 Sreevanich16 changed the title Minor fix in show cmds Update json tags and argument count for management interface address and arp cmds May 26, 2026
@Sreevanich16 Sreevanich16 merged commit a08a8d6 into Azure:kubesonic May 26, 2026
10 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.

3 participants