From: Andrej Kozemcak Date: Thu, 28 Jul 2016 13:49:05 +0000 (+0200) Subject: CSIT-330: Fix small bug in LISP CSIT test X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=74761b490d96d514b2260c5c347ae8392fdc2e1b CSIT-330: Fix small bug in LISP CSIT test - format bug - bad input data Change-Id: I035d6ed70ca6c73058792c48a0b2c3f93f93122a Signed-off-by: Andrej Kozemcak --- 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,