diff options
author | 2016-05-16 15:46:18 +0200 | |
---|---|---|
committer | 2016-05-16 16:02:33 +0200 | |
commit | 46e4b31a8a57e9af1be2cdbc0c67c153ec9cd9b3 (patch) | |
tree | ae02fa95391cce269f16a97730fe5989a90cbab2 /tests/data_plane/vpp_lite_topo/lisp_ip6.sh | |
parent | 676362e1714afe4e7bb1557828580e710670b602 (diff) |
Add new test for IP4 over IP6 and IP6 over IP4
Change-Id: Icc411c22f041c447d595cb158102675f4055a7de
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'tests/data_plane/vpp_lite_topo/lisp_ip6.sh')
-rw-r--r-- | tests/data_plane/vpp_lite_topo/lisp_ip6.sh | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/tests/data_plane/vpp_lite_topo/lisp_ip6.sh b/tests/data_plane/vpp_lite_topo/lisp_ip6.sh index c49ecbf..103f113 100644 --- a/tests/data_plane/vpp_lite_topo/lisp_ip6.sh +++ b/tests/data_plane/vpp_lite_topo/lisp_ip6.sh @@ -22,12 +22,8 @@ sudo ip netns exec vppns2 \ ip route add 6:0:1::0/64 via 6:0:2::1 " -curl -X POST http://${ODL_IP}:${ODL_PORT}/restconf/operations/odl-mappingservice:add-mapping \ - -H "Content-Type: application/json" --data-binary "@${ODL_CONFIG_DIR}${ODL_ADD_CONFIG1_6}" \ - -u ${ODL_USER}:${ODL_PASSWD} -curl -X POST http://${ODL_IP}:${ODL_PORT}/restconf/operations/odl-mappingservice:add-mapping \ - -H "Content-Type: application/json" --data-binary "@${ODL_CONFIG_DIR}${ODL_ADD_CONFIG2_6}" \ - -u ${ODL_USER}:${ODL_PASSWD} +post_curl "add-mapping" ${ODL_ADD_CONFIG1_6} +post_curl "add-mapping" ${ODL_ADD_CONFIG2_6} ping_lisp6 @@ -40,8 +36,6 @@ send "set int ip address host-intervpp2 6:0:3::20/64\r" expect -re ".*>" EOF -curl -X POST http://${ODL_IP}:${ODL_PORT}/restconf/operations/odl-mappingservice:update-mapping \ - -H "Content-Type: application/json" --data-binary "@${ODL_CONFIG_DIR}${ODL_REPLACE_CONFIG2_6}" \ - -u ${ODL_USER}:${ODL_PASSWD} +post_curl "update-mapping" ${ODL_REPLACE_CONFIG2_6} ping_lisp6 |