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

[Mgmt] Fix show mgmt-interface address CLI for DHCP #2555

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

praveen-ramamoorthi
Copy link

What I did

show management_interface address CLI doesn't display management address configured via DHCP.

How I did it

For DHCP Management IP , Get the IP details from kernel via ipintutil

How to verify it

The DHCP IP of eth0 will be displayed in show management_interface address output.

Previous command output (if the output of a command-line utility has changed)

Without Fix :
root@sonic:~#  show management_interface address
root@sonic:~#

New command output (if the output of a command-line utility has changed)

With Fix :
root@sonic:~#  show management_interface address
Management IP address = 10.208.140.130/24
root@sonic:~#

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.

1 participant