aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrej Kozemcak <akozemca@cisco.com>2016-07-28 15:49:05 +0200
committerJan Gelety <jgelety@cisco.com>2016-08-01 13:31:28 +0000
commit74761b490d96d514b2260c5c347ae8392fdc2e1b (patch)
treea8fa3878e1c41ce45b97a06d89df8eb243f87d2d
parente016192850d275c0259de288f8afefd3a54f74c5 (diff)
CSIT-330: Fix small bug in LISP CSIT test
- format bug - bad input data Change-Id: I035d6ed70ca6c73058792c48a0b2c3f93f93122a Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
-rw-r--r--resources/libraries/robot/lisp/lisp_static_adjacency.robot8
-rw-r--r--resources/test_data/lisp/api/lisp_api_resources.py20
2 files changed, 14 insertions, 14 deletions
diff --git a/resources/libraries/robot/lisp/lisp_static_adjacency.robot b/resources/libraries/robot/lisp/lisp_static_adjacency.robot
index 92d62eb549..0a4f438e5f 100644
--- a/resources/libraries/robot/lisp/lisp_static_adjacency.robot
+++ b/resources/libraries/robot/lisp/lisp_static_adjacency.robot
@@ -107,13 +107,13 @@
| | ... | - dut1_to_dut2 - DUT1 towards DUT2 interface name. Type: string
| | ... | - dut2_to_dut1 - DUT2 towards DUT1 interface name. Type: string
| | ... | - dut1_to_dut2_mac - DUT1 towards DUT2 interface mac address.
- Type: string
+| | ... | Type: string
| | ... | - dut2_to_dut1_mac - DUT2 towards DUT1 interface mac address.
- Type: string
+| | ... | Type: string
| | ... | - new_dut1_ip - New DUT1 towards DUT2 interface IP address.
- Type: string
+| | ... | Type: string
| | ... | - new_dut2_ip - New DUT2 towards DUT1 interface IP address.
- Type: string
+| | ... | Type: string
| | ... | - prefix - Prefix of the DUT nodes. Type: integer
| | ... | - old_dut1_static_adjacency - Old DUT1 static adjacency.
| | ... | Type: dictionary
diff --git a/resources/test_data/lisp/api/lisp_api_resources.py b/resources/test_data/lisp/api/lisp_api_resources.py
index 81bf8ee171..45ae73510f 100644
--- a/resources/test_data/lisp/api/lisp_api_resources.py
+++ b/resources/test_data/lisp/api/lisp_api_resources.py
@@ -21,51 +21,51 @@ lisp_status = [{"gpe_status":"disabled",
# Example lisp local eid we want set to VPP
# and then check if it is set correctly.
-eid_table = [{'eid': '192.168.0.1',
+eid_table = [{'eid': '192.168.0.0',
'vni': 0,
'eid-prefix-len': 24,
'locator': [],
'locator-set': 'ls1',
'ttl': 0,
'authoritative': 0},
- {'eid': '192.168.1.1',
+ {'eid': '192.168.1.0',
'vni': 0,
'eid-prefix-len': 24,
'locator': [],
'locator-set': 'ls1',
'ttl': 0,
'authoritative': 0},
- {'eid': '192.168.2.1',
+ {'eid': '192.168.2.0',
'vni': 0,
'eid-prefix-len': 24,
'locator': [],
'locator-set': 'ls1',
'ttl': 0,
'authoritative': 0},
- {'eid': '192.168.3.1',
+ {'eid': '192.168.3.0',
'vni': 0,
'eid-prefix-len': 24,
'locator': [],
'locator-set': 'ls1',
'ttl': 0,
'authoritative': 0},
- {'eid': '10:1::1',
+ {'eid': '10:1::',
'vni': 0,
- 'eid-prefix-len': 32,
+ 'eid-prefix-len': 64,
'locator': [],
'locator-set': 'ls1',
'ttl': 0,
'authoritative': 0},
- {'eid': '10:2::1',
+ {'eid': '10:2::',
'vni': 0,
- 'eid-prefix-len': 32,
+ 'eid-prefix-len': 64,
'locator': [],
'locator-set': 'ls1',
'ttl': 0,
'authoritative': 0},
- {'eid': '10:3::1',
+ {'eid': '10:3::',
'vni': 0,
- 'eid-prefix-len': 32,
+ 'eid-prefix-len': 64,
'locator': [],
'locator-set': 'ls1',
'ttl': 0,