Skip to content

[route_check] fix IPv6 address handling#64

Closed
stepanblyschak wants to merge 1 commit intomasterfrom
route_check_ipv6
Closed

[route_check] fix IPv6 address handling#64
stepanblyschak wants to merge 1 commit intomasterfrom
route_check_ipv6

Conversation

@stepanblyschak
Copy link
Owner

What I did

In case user has configured an IPv6 address on an interface in CONFIG DB in non simplified form like 2000:31:0:0::1/64 it is present in a simplified form in ASIC_DB. This leads to route_check failure since it just compares strings.

How I did it

Convert prefix string using ip_network().

How to verify it

UT replicates the issue.

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

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

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