From e2bbf175a2184bd76f6c54ccf8456babeb1a46fc Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 9 Apr 2024 15:16:35 +0200 Subject: Adding upstream version 9.1. Signed-off-by: Daniel Baumann --- tests/ospf6d/test_lsdb.in | 72 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 tests/ospf6d/test_lsdb.in (limited to 'tests/ospf6d/test_lsdb.in') diff --git a/tests/ospf6d/test_lsdb.in b/tests/ospf6d/test_lsdb.in new file mode 100644 index 0000000..0475f3d --- /dev/null +++ b/tests/ospf6d/test_lsdb.in @@ -0,0 +1,72 @@ +lsa set 0 type 1 adv 1.2.3.4 id 0.0.0.1 +lsa set 1 type 1 adv 1.2.3.4 id 0.0.0.2 +lsa set 2 type 2 adv 1.2.3.4 id 0.0.0.3 +lsa set 3 type 2 adv 128.2.3.4 id 0.0.0.4 +lsa set 4 type 2 adv 128.2.3.4 id 0.0.0.5 +lsa set 5 type 3 adv 0.0.0.1 id 0.0.0.6 +lsa refcounts + +lsdb create + +lsdb walk +lsdb walk type 1 +lsdb walk type 2 +lsdb get type 1 adv 1.2.3.4 id 0.0.0.2 +lsdb get-next type 1 adv 1.2.3.4 id 0.0.0.2 +lsa refcounts + +lsdb add 0 +lsdb add 1 +lsa refcounts + +lsdb walk +lsdb walk type 1 +lsdb walk type 2 +lsdb get type 1 adv 1.2.3.4 id 0.0.0.2 +lsdb get-next type 1 adv 1.2.3.4 id 0.0.0.2 +lsa refcounts + +lsdb remove 0 +lsdb add 2 +lsdb add 3 +lsdb add 4 +lsa refcounts + +lsdb walk +lsdb walk type 1 +lsdb walk type 2 +lsdb get type 1 adv 1.2.3.4 id 0.0.0.2 +lsdb get-next type 1 adv 1.2.3.4 id 0.0.0.2 +lsa refcounts + +lsdb add 5 +lsa refcounts + +lsdb walk +lsdb walk type 1 +lsdb walk type 2 +lsdb get type 1 adv 1.2.3.4 id 0.0.0.2 +lsdb get-next type 1 adv 1.2.3.4 id 0.0.0.2 +lsa refcounts + +lsdb remove 1 +lsdb remove 5 +lsa refcounts + +lsdb walk +lsdb walk type 1 +lsdb walk type 2 +lsdb get type 1 adv 1.2.3.4 id 0.0.0.2 +lsdb get-next type 1 adv 1.2.3.4 id 0.0.0.2 +lsa refcounts + +lsdb delete + +lsa refcounts +lsa drop 0 +lsa drop 1 +lsa drop 2 +lsa drop 3 +lsa drop 4 +lsa drop 5 + -- cgit v1.2.3