From 851f17ce855e42560ed6b6506f5f64f7402e3552 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Tue, 7 Nov 2023 14:17:00 +0100 Subject: [PATCH] topotests: nhrp_topo1, ignore the 'used' variable of cache entries 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 --- tests/topotests/nhrp_topo/r1/nhrp4_cache.json | 2 -- tests/topotests/nhrp_topo/r2/nhrp4_cache.json | 2 -- 2 files changed, 4 deletions(-) diff --git a/tests/topotests/nhrp_topo/r1/nhrp4_cache.json b/tests/topotests/nhrp_topo/r1/nhrp4_cache.json index 6426a939beb3..e852caa14323 100644 --- a/tests/topotests/nhrp_topo/r1/nhrp4_cache.json +++ b/tests/topotests/nhrp_topo/r1/nhrp4_cache.json @@ -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":"" @@ -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":"-" diff --git a/tests/topotests/nhrp_topo/r2/nhrp4_cache.json b/tests/topotests/nhrp_topo/r2/nhrp4_cache.json index 34558e0c2883..6303eb84b3d2 100644 --- a/tests/topotests/nhrp_topo/r2/nhrp4_cache.json +++ b/tests/topotests/nhrp_topo/r2/nhrp4_cache.json @@ -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":"-" @@ -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":""