lisp_locator_set_with_locator ls1 host-intervpp1 1 1
lisp_local_eid eid 6.0.1.0/24 locator-set ls1
lisp_remote_mapping eid 6.0.2.0/24 rloc 6.0.3.2
-lisp_adjacency seid 6.0.1.0/24 deid 6.0.2.0/24
+lisp_adjacency leid 6.0.1.0/24 reid 6.0.2.0/24
lisp_locator_set_with_locator ls1 host-intervpp2 1 1
lisp_local_eid eid 6.0.2.0/24 locator-set ls1
lisp_remote_mapping eid 6.0.1.0/24 rloc 6.0.3.1
-lisp_adjacency seid 6.0.2.0/24 deid 6.0.1.0/24
+lisp_adjacency leid 6.0.2.0/24 reid 6.0.1.0/24
lisp_locator_set_with_locator ls1 host-intervpp1 1 1
lisp_local_eid eid 6:0:1::0/64 locator-set ls1
lisp_remote_mapping eid 6:0:2::0/64 rloc 6:0:3::2
-lisp_adjacency seid 6:0:1::0/64 deid 6:0:2::0/64
+lisp_adjacency leid 6:0:1::0/64 reid 6:0:2::0/64
lisp_locator_set_with_locator ls1 host-intervpp2 1 1
lisp_local_eid eid 6:0:2::0/64 locator-set ls1
lisp_remote_mapping eid 6:0:1::0/64 rloc 6:0:3::1
-lisp_adjacency deid 6:0:1::0/64 seid 6:0:2::0/64
+lisp_adjacency reid 6:0:1::0/64 leid 6:0:2::0/64
mac=`echo "sh hard host-intervpp1" | nc 0 5002 | grep 'Ethernet address' | awk '{print $3}'`
echo "set ip arp host-intervpp2 6.0.3.1 $mac" | nc 0 5003
+ echo "set ip6 neighbor host-intervpp2 6:0:3::1 $mac" | nc 0 5003
mac=`echo "sh hard host-intervpp2" | nc 0 5003 | grep 'Ethernet address' | awk '{print $3}'`
echo "set ip arp host-intervpp1 6.0.3.2 $mac" | nc 0 5002
+ echo "set ip6 neighbor host-intervpp1 6:0:3::2 $mac" | nc 0 5002
}
function 2_node_topo_clean
start_vpp 5002 vpp1
start_vpp 5003 vpp2
+ sleep 2
echo "* Selected configuration method: $CFG_METHOD"
if [ "$CFG_METHOD" == "cli" ] ; then
echo "exec ${VPP_LITE_CONF}/vpp1.cli" | nc 0 5002
echo "exec ${VPP_LITE_CONF}/vpp2.cli" | nc 0 5003
elif [ "$CFG_METHOD" == "vat" ] ; then
- sleep 2
${VPP_API_TEST} chroot prefix vpp1 script in ${VPP_LITE_CONF}/vpp1.vat
${VPP_API_TEST} chroot prefix vpp2 script in ${VPP_LITE_CONF}/vpp2.vat
else