mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 19:21:17 +00:00
ospf-topo: Mask IPv6 local-addressess instead of removing them
Just mask out the random part makes the diff output better readable
This commit is contained in:
parent
99dca1a0b8
commit
0e8ccff311
@ -136,8 +136,8 @@ def compare_show_ipv6_ospf6(rname, expected):
|
|||||||
expected = topotest.normalize_text(expected)
|
expected = topotest.normalize_text(expected)
|
||||||
|
|
||||||
# Remove the link addresses
|
# Remove the link addresses
|
||||||
current = re.sub(r'fe80:[^ ]+', '', current)
|
current = re.sub(r'fe80::[^ ]+', 'fe80::xxxx:xxxx:xxxx:xxxx', current)
|
||||||
expected = re.sub(r'fe80:[^ ]+', '', expected)
|
expected = re.sub(r'fe80::[^ ]+', 'fe80::xxxx:xxxx:xxxx:xxxx', expected)
|
||||||
|
|
||||||
# Remove the time
|
# Remove the time
|
||||||
current = re.sub(r'\d+:\d{2}:\d{2}', '', current)
|
current = re.sub(r'\d+:\d{2}:\d{2}', '', current)
|
||||||
|
Loading…
Reference in New Issue
Block a user