CSIT-330: Fix small bug in LISP CSIT test 16/2116/2
authorAndrej Kozemcak <akozemca@cisco.com>
Thu, 28 Jul 2016 13:49:05 +0000 (15:49 +0200)
committerJan Gelety <jgelety@cisco.com>
Mon, 1 Aug 2016 13:31:28 +0000 (13:31 +0000)
- format bug
- bad input data

Change-Id: I035d6ed70ca6c73058792c48a0b2c3f93f93122a
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
resources/libraries/robot/lisp/lisp_static_adjacency.robot
resources/test_data/lisp/api/lisp_api_resources.py

index 92d62eb..0a4f438 100644 (file)
 | | ... | - 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.
 | | ... | - 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.
 | | ... | - dut2_to_dut1_mac - DUT2 towards DUT1 interface mac address.
-                               Type: string
+| | ... |                      Type: string
 | | ... | - new_dut1_ip - New DUT1 towards DUT2 interface IP address.
 | | ... | - new_dut1_ip - New DUT1 towards DUT2 interface IP address.
-                          Type: string
+| | ... |                 Type: string
 | | ... | - new_dut2_ip - New DUT2 towards DUT1 interface IP address.
 | | ... | - 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
 | | ... | - prefix - Prefix of the DUT nodes. Type: integer
 | | ... | - old_dut1_static_adjacency - Old DUT1 static adjacency.
 | | ... |                               Type: dictionary
index 81bf8ee..45ae735 100644 (file)
@@ -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.
 
 # 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},
               '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},
               '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},
               '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},
               'vni': 0,
               'eid-prefix-len': 24,
               'locator': [],
               'locator-set': 'ls1',
               'ttl': 0,
               'authoritative': 0},
-             {'eid': '10:1::1',
+             {'eid': '10:1::',
               'vni': 0,
               'vni': 0,
-              'eid-prefix-len': 32,
+              'eid-prefix-len': 64,
               'locator': [],
               'locator-set': 'ls1',
               'ttl': 0,
               'authoritative': 0},
               'locator': [],
               'locator-set': 'ls1',
               'ttl': 0,
               'authoritative': 0},
-             {'eid': '10:2::1',
+             {'eid': '10:2::',
               'vni': 0,
               'vni': 0,
-              'eid-prefix-len': 32,
+              'eid-prefix-len': 64,
               'locator': [],
               'locator-set': 'ls1',
               'ttl': 0,
               'authoritative': 0},
               'locator': [],
               'locator-set': 'ls1',
               'ttl': 0,
               'authoritative': 0},
-             {'eid': '10:3::1',
+             {'eid': '10:3::',
               'vni': 0,
               'vni': 0,
-              'eid-prefix-len': 32,
+              'eid-prefix-len': 64,
               'locator': [],
               'locator-set': 'ls1',
               'ttl': 0,
               'locator': [],
               'locator-set': 'ls1',
               'ttl': 0,