From b46efa14a2778715344dc6e45561180f7ca6ac4c Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Mon, 20 Nov 2017 19:10:59 +0100 Subject: HC Test: update routing suite to use compressed IPv6 addresses HC reports IPv6 addresses using compressed form since https://gerrit.fd.io/r/#/c/9497/ Change-Id: I7771ce796a4ec4817e7ee4a68fdb8e6a95f5da37 Signed-off-by: Marek Gradzki --- resources/test_data/honeycomb/routing.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'resources/test_data') diff --git a/resources/test_data/honeycomb/routing.py b/resources/test_data/honeycomb/routing.py index df7d94121c..c28b2212a4 100644 --- a/resources/test_data/honeycomb/routing.py +++ b/resources/test_data/honeycomb/routing.py @@ -44,8 +44,7 @@ def get_variables(node, ip_version, out_interface): "dut_to_tg_if2_ip": "11::1", "src_ip": "10::2", "dst_ip": "12::1", - "dst_net": "12::0", - "dst_net_full": "12:0:0:0:0:0:0:0", + "dst_net": "12::", "prefix_len": 64, "next_hop": "11::2", "next_hop1": "11::3", @@ -177,7 +176,7 @@ def get_variables(node, ip_version, out_interface): }, "table4_oper": { "destination-prefix": - "{0}/{1}".format(ipv6_base["dst_net_full"], + "{0}/{1}".format(ipv6_base["dst_net"], ipv6_base["prefix_len"]), "next-hop": ipv6_base["next_hop"], "outgoing-interface": out_interface, @@ -185,7 +184,7 @@ def get_variables(node, ip_version, out_interface): }, "table5_oper": { "destination-prefix": - "{0}/{1}".format(ipv6_base["dst_net_full"], + "{0}/{1}".format(ipv6_base["dst_net"], ipv6_base["prefix_len"]), "next-hop-list": { "next-hop": [ @@ -205,7 +204,7 @@ def get_variables(node, ip_version, out_interface): }, "table6_oper": { "destination-prefix": - "{0}/{1}".format(ipv6_base["dst_net_full"], + "{0}/{1}".format(ipv6_base["dst_net"], ipv6_base["prefix_len"]), "special-next-hop": "blackhole", 'vpp-ipv6-route-state': {} -- cgit 1.2.3-korg