-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[minigraph] Support parse IPv6 in device_desc.xml #11095
Conversation
This pull request fixes 1 alert when merging e50c789 into 0b1ae9c - view on LGTM.com fixed alerts:
|
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This pull request fixes 1 alert when merging 3dd201f into c1d0d2e - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging 1feee4d into c1d0d2e - view on LGTM.com fixed alerts:
|
This pull request fixes 1 alert when merging ecdefad into 4afe209 - view on LGTM.com fixed alerts:
|
Signed-off-by: Jing Kan jika@microsoft.com
Signed-off-by: Jing Kan jika@microsoft.com
Signed-off-by: Jing Kan jika@microsoft.com
sonic-net#11095) (sonic-net#11273) * [minigraph] Support parse IPv6 in device_desc.xml (sonic-net#11095) Signed-off-by: Jing Kan jika@microsoft.com
Signed-off-by: Jing Kan jika@microsoft.com
<ManagementAddress xmlns:a="Microsoft.Search.Autopilot.NetMux"> | ||
<a:IPPrefix>0.0.0.0/0</a:IPPrefix> | ||
</ManagementAddress> | ||
<ManagementAddressV6 xmlns:a="Microsoft.Search.Autopilot.NetMux"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<Hostname>switch-t0</Hostname> | ||
<HwSku>Force10-S6000</HwSku> | ||
<ClusterName>AAA00PrdStr00</ClusterName> | ||
<ManagementAddress xmlns:a="Microsoft.Search.Autopilot.NetMux"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why I did it
minigraph parser can parse initial configuration from a fragment of minigraph (device_desc.xml), however it can only get IPv4 address from it and due to some reason, if the device only has IPv6 management IP address, then the IPv4 address will be
0.0.0.0/0
which will causeconfig load_mgmt_config
command failHow I did it
0.0.0.0/0
to mgmt configHow to verify it
Which release branch to backport (provide reason below if selected)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)