-
Notifications
You must be signed in to change notification settings - Fork 39
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
Issues #251 and #264 in ansible solutions. #361
base: develop
Are you sure you want to change the base?
Conversation
IPv6 address inventory failure. NDFC returns ipv6 address with unabbrevated form (e.g) 2001:0:0:12 instead of 2001::12 for below requests. /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/lanConfig/getLanSwitchCredentials "ipAddress": "2001:420:448b:8006:fab2:0:0:13", /appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/hello/inventory/test-reachability in netascode/ansible-dc-vxlan#251
@@ -38,4 +38,4 @@ | |||
- 'controller_version != "Unable to determine controller version"' | |||
tags: sanity | |||
|
|||
- { include: dcnm.yaml, tags: ['dcnm'] } | |||
- { include_tasks: dcnm.yaml, tags: ['dcnm'] } |
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.
I merged #354 which introduced a merge conflict for this file.
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.
Resolved the merge conflict
or isinstance(ipaddress.ip_address(ip_addr), ipaddress.IPv4Address)): | ||
sw_ip = str(ipaddress.ip_address(ip_addr)) | ||
except ValueError: | ||
sw_ip = ip_addr |
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.
Help me understand the intent here. Why are we just setting sw_ip to the value that was passed in if we encounter an error?
IPv6 address inventory failure.
NDFC returns ipv6 address in unabbrevated form (e.g) 2001:0:0:12 instead of 2001::12 for below requests. It mismatches value in inventory and NDFC response.
/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/lanConfig/getLanSwitchCredentials
"ipAddress": "2001:420:448b:8006:fab2:0:0:13",
/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/hello/inventory/test-reachability
in netascode/ansible-dc-vxlan#251