aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data/honeycomb/routing.py
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-11-20 19:10:59 +0100
committerMarek Gradzki <mgradzki@cisco.com>2017-11-21 06:33:32 +0100
commitb46efa14a2778715344dc6e45561180f7ca6ac4c (patch)
treeed58468fe61acbeef6e3234b54eb034ac035f230 /resources/test_data/honeycomb/routing.py
parent054bf68a91c383c589626b976af8091db0ba815e (diff)
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 <mgradzki@cisco.com>
Diffstat (limited to 'resources/test_data/honeycomb/routing.py')
-rw-r--r--resources/test_data/honeycomb/routing.py9
1 files changed, 4 insertions, 5 deletions
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': {}