Skip to content

Commit

Permalink
topotests: nhrp_topo1, ignore the 'used' variable of cache entries
Browse files Browse the repository at this point in the history
The 'used' attribute is dynamic and relies on the state of the
system neighbor entry attached to the protocol address. Periodically,
the value is set to false, when receiving a NUD_PROBE notification
from netlink. Then, NHRP re-programs the link entry and re-sets the
'used ' value to true.

Because that value may be intermittently set to false, it is better to
remove it from the tests.

Signed-off-by: Philippe Guibert <[email protected]>
  • Loading branch information
pguibert6WIND committed Apr 9, 2024
1 parent b032582 commit 6f386ab
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions tests/topotests/nhrp_topo/r1/nhrp4_cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"protocol":"10.255.255.2",
"nbma":"10.2.1.2",
"claimed_nbma":"10.2.1.2",
"used":false,
"timeout":true,
"auth":false,
"identity":""
Expand All @@ -20,7 +19,6 @@
"protocol":"10.255.255.1",
"nbma":"10.1.1.1",
"claimed_nbma":"10.1.1.1",
"used":false,
"timeout":false,
"auth":false,
"identity":"-"
Expand Down
2 changes: 0 additions & 2 deletions tests/topotests/nhrp_topo/r2/nhrp4_cache.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"protocol":"10.255.255.2",
"nbma":"10.2.1.2",
"claimed_nbma":"10.2.1.2",
"used":false,
"timeout":false,
"auth":false,
"identity":"-"
Expand All @@ -20,7 +19,6 @@
"protocol":"10.255.255.1",
"nbma":"10.1.1.1",
"claimed_nbma":"10.1.1.1",
"used":false,
"timeout":true,
"auth":false,
"identity":""
Expand Down

0 comments on commit 6f386ab

Please sign in to comment.