From 74a354349cf13e8874259faec5473b7bbf25d6e5 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Mon, 26 Sep 2016 18:27:57 +0200 Subject: CSIT-392: ip4-lispgpe-ip4 - ip4-lispgpe-ip4 - main fib, vrf, virt2lisp Change-Id: I28c81e91689021693ce76352878fa21e953a4ef6 Signed-off-by: Tibor Frank --- .../lisp/ipv4_lispgpe_ipv4/ipv4_lispgpe_ipv4.py | 59 ++++++++++++++-------- 1 file changed, 39 insertions(+), 20 deletions(-) (limited to 'resources/test_data') diff --git a/resources/test_data/lisp/ipv4_lispgpe_ipv4/ipv4_lispgpe_ipv4.py b/resources/test_data/lisp/ipv4_lispgpe_ipv4/ipv4_lispgpe_ipv4.py index cd1b6383e6..f3754e228b 100644 --- a/resources/test_data/lisp/ipv4_lispgpe_ipv4/ipv4_lispgpe_ipv4.py +++ b/resources/test_data/lisp/ipv4_lispgpe_ipv4/ipv4_lispgpe_ipv4.py @@ -22,33 +22,52 @@ duts_locator_set = {'locator_name': locator_name, 'weight': 1} # IPv4 Lisp static mapping configuration -dut1_to_dut2_ip4 = '6.0.3.1' -dut2_to_dut1_ip4 = '6.0.3.2' -dut1_to_tg_ip4 = '6.0.1.1' -dut2_to_tg_ip4 = '6.0.2.1' -tg1_ip4 = '6.0.1.2' -tg2_ip4 = '6.0.2.2' +tg1_ip4 = '6.0.1.1' +dut1_to_tg_ip4 = '6.0.1.2' + +dut1_vif1_ip4 = '6.0.2.1' +vm1_vif1_ip4 = '6.0.2.2' + +vm1_vif2_ip4 = '6.0.3.1' +dut1_vif2_ip4 = '6.0.3.2' + +dut1_to_dut2_ip4 = '6.0.4.1' +dut2_to_dut1_ip4 = '6.0.4.2' + +dut2_to_tg_ip4 = '6.0.5.1' +tg2_ip4 = '6.0.5.2' + +src_ip_range = '6.0.1.0' +dst_ip_range = '6.0.5.0' + +vm1_vif1_mac = '52:54:00:00:04:01' +vm1_vif2_mac = '52:54:00:00:04:02' prefix4 = 24 dut1_to_dut2_ip4_static_adjacency = {'vni': 0, - 'deid': '6.0.2.0', - 'seid': '6.0.1.0', - 'rloc': '6.0.3.2', - 'prefix': 24} + 'deid': dst_ip_range, + 'seid': src_ip_range, + 'rloc': dut2_to_dut1_ip4, + 'prefix': prefix4} dut2_to_dut1_ip4_static_adjacency = {'vni': 0, - 'deid': '6.0.1.0', - 'seid': '6.0.2.0', - 'rloc': '6.0.3.1', - 'prefix': 24} + 'deid': src_ip_range, + 'seid': dst_ip_range, + 'rloc': dut1_to_dut2_ip4, + 'prefix': prefix4} dut1_ip4_eid = {'locator_name': locator_name, 'vni': 0, - 'eid': '6.0.1.0', - 'prefix': 24} + 'eid': src_ip_range, + 'prefix': prefix4} dut2_ip4_eid = {'locator_name': locator_name, 'vni': 0, - 'eid': '6.0.2.0', - 'prefix': 24} + 'eid': dst_ip_range, + 'prefix': prefix4} + +dut1_fib_table = 1 +dut2_fib_table = 2 + +sock1 = "/tmp/sock1" +sock2 = "/tmp/sock2" -dut1_fib_table = '1' -dut2_fib_table = '2' +bid = 10 -- cgit 1.2.3-korg