diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-05-26 15:57:49 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-05-27 09:00:22 +0200 |
commit | 4bf6318c1de924c63e22479cc38549ce3af3e420 (patch) | |
tree | bca01ef7f954c2f6ef5c33d215a89f47e5a5588d /tests/data_plane/configs/vpp_lite_config | |
parent | 05767cf174f01c5ffdc317112dfabb64bd677a6c (diff) |
Add LISP RTR tests
This change adds tests for IPv4overIPv4 and IPv4overIPv6 scenarios.
Change-Id: I68e0e94538914cf0b03625ee1be3b92684184c78
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/vpp_lite_config')
6 files changed, 69 insertions, 0 deletions
diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/rtr.config b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/rtr.config new file mode 100644 index 0000000..7c603ec --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/rtr.config @@ -0,0 +1,10 @@ +create host-interface name xtr_rtr2 +set int state host-xtr_rtr2 up +set int ip address host-xtr_rtr2 6.0.3.3/24 + +lisp enable +lisp locator-set add ls1 iface host-xtr_rtr2 p 1 w 1 +lisp pitr ls ls1 +comment { lisp pitr disable } +lisp remote-mapping deid 6.0.0.0/16 action send-map-request +lisp map-resolver add 6.0.3.100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/vpp1.config b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/vpp1.config new file mode 100644 index 0000000..6aae05d --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/vpp1.config @@ -0,0 +1,12 @@ +create host-interface name vpp1 +set int state host-vpp1 up +set int ip address host-vpp1 6.0.2.1/24 +create host-interface name xtr_rtr1 +set int state host-xtr_rtr1 up +set int ip address host-xtr_rtr1 6.0.3.1/24 + +lisp enable + +lisp map-resolver add 6.0.3.100 +lisp locator-set add ls1 iface host-xtr_rtr1 p 1 w 1 +lisp eid-table add eid 6.0.2.0/24 locator-set ls1 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/vpp2.config b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/vpp2.config new file mode 100644 index 0000000..9a10dc3 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o4/vpp2.config @@ -0,0 +1,12 @@ +create host-interface name vpp2 +set int state host-vpp2 up +set int ip address host-vpp2 6.0.4.1/24 +create host-interface name xtr_rtr3 +set int state host-xtr_rtr3 up +set int ip address host-xtr_rtr3 6.0.3.2/24 + +lisp enable + +lisp map-resolver add 6.0.3.100 +lisp locator-set add ls1 iface host-xtr_rtr3 p 1 w 1 +lisp eid-table add eid 6.0.4.0/24 locator-set ls1 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/rtr.config b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/rtr.config new file mode 100644 index 0000000..95622c9 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/rtr.config @@ -0,0 +1,9 @@ +create host-interface name xtr_rtr2 +set int state host-xtr_rtr2 up +set int ip address host-xtr_rtr2 6:0:3::3/64 + +lisp enable +lisp locator-set add ls1 iface host-xtr_rtr2 p 1 w 1 +lisp pitr ls ls1 +lisp remote-mapping deid 6.0.0.0/16 action send-map-request +lisp map-resolver add 6:0:3::100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/vpp1.config b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/vpp1.config new file mode 100644 index 0000000..70b5a0e --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/vpp1.config @@ -0,0 +1,13 @@ +create host-interface name vpp1 +set int state host-vpp1 up +set int ip address host-vpp1 6.0.2.1/24 + +create host-interface name xtr_rtr1 +set int state host-xtr_rtr1 up +set int ip address host-xtr_rtr1 6:0:3::1/64 + +lisp enable + +lisp map-resolver add 6:0:3::100 +lisp locator-set add ls1 iface host-xtr_rtr1 p 1 w 1 +lisp eid-table add eid 6.0.2.0/24 locator-set ls1 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/vpp2.config b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/vpp2.config new file mode 100644 index 0000000..f75135a --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_single_iface/4o6/vpp2.config @@ -0,0 +1,13 @@ +create host-interface name vpp2 +set int state host-vpp2 up +set int ip address host-vpp2 6.0.4.1/24 + +create host-interface name xtr_rtr3 +set int state host-xtr_rtr3 up +set int ip address host-xtr_rtr3 6:0:3::2/64 + +lisp enable + +lisp map-resolver add 6:0:3::100 +lisp locator-set add ls1 iface host-xtr_rtr3 p 1 w 1 +lisp eid-table add eid 6.0.4.0/24 locator-set ls1 |