Commit 589375f
authored
correctly parsing complete ipv6 vnet info (sonic-net#2827)
cisco sonic router will hit below error message from route_check
str3-8101-02 ERR monit[519]: 'routeCheck' status failed (255) –
Failure results: #12 "Unaccounted_ROUTE_ENTRY_TABLE_entries": #12 "fddd:a150:a0::a66:1/128",#12 "fddd:a150:a0::a67:1/128",#12 "fddd:a150:a0::a71:1/128",#12 "fddd:a150:a0::a78:1/128",#12 "fddd:a150:a0::a80:1/128"#12
#12#012Failed. Look at reported mismatches above#012add: []#012del: []
the parser will only cut the chars before : regardless it is the IPv6 format.
For instance,
route_check: "fddd:a150:a0::a21:1/128
Will be parsed as “fddd" ONLY
Vnet_v6_in_v4-0: : a150:a0::a21:1/128"
solution:
fix the parsing scheme on route check when APPL_DB refers IPv6 format.1 parent 634ac77 commit 589375f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
439 | | - | |
| 439 | + | |
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| |||
0 commit comments