aboutsummaryrefslogtreecommitdiffstats
path: root/resources/test_data/lisp/ipv4_lispgpe_ipv4
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2016-09-26 18:27:57 +0200
committerPeter Mikus <pmikus@cisco.com>2016-10-10 11:27:48 +0000
commit74a354349cf13e8874259faec5473b7bbf25d6e5 (patch)
treee70fc7e5afb22ac7d40608db5682219c1464b6b8 /resources/test_data/lisp/ipv4_lispgpe_ipv4
parenta7568a2eabf0872d25260c14ec084cb3d5ffb0f3 (diff)
CSIT-392: ip4-lispgpe-ip4
- ip4-lispgpe-ip4 - main fib, vrf, virt2lisp Change-Id: I28c81e91689021693ce76352878fa21e953a4ef6 Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/test_data/lisp/ipv4_lispgpe_ipv4')
-rw-r--r--resources/test_data/lisp/ipv4_lispgpe_ipv4/ipv4_lispgpe_ipv4.py59
1 files changed, 39 insertions, 20 deletions
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