diff options
author | Filip Tehlar <ftehlar@cisco.com> | 2016-08-30 14:49:58 +0200 |
---|---|---|
committer | Filip Tehlar <ftehlar@cisco.com> | 2016-08-31 09:04:50 +0200 |
commit | 1df1d674eaace35d52973786403eb1dbe3c0d5eb (patch) | |
tree | 39546a92cb3715a957fe44f9318ae3a2cc3718bb /tests/data_plane/configs/vpp_lite_config/rtr_two_iface | |
parent | 4543d2821b1ab69579a525d83497ff84e9084bed (diff) |
Use VAT in testsstable/1609
Change-Id: If8f08c5e998c5fbd9ea5c1f0252a77e01ea347ec
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
Diffstat (limited to 'tests/data_plane/configs/vpp_lite_config/rtr_two_iface')
18 files changed, 63 insertions, 59 deletions
diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/rtr.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/rtr.config index e18129e..a4a481e 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/rtr.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/rtr.config @@ -5,10 +5,3 @@ set int ip address host-rtr_vpp1 6.0.3.2/24 create host-interface name rtr_vpp2 set int state host-rtr_vpp2 up set int ip address host-rtr_vpp2 6.0.5.2/24 - -lisp enable - -lisp locator-set add ls1 iface host-rtr_vpp1 p 1 w 1 iface host-rtr_vpp2 p 1 w 1 -lisp pitr ls ls1 -lisp remote-mapping eid 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_two_iface/4o4/vpp1.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp1.config index 4ef387e..066d34e 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp1.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp1.config @@ -4,10 +4,3 @@ set int ip address host-vpp1 6.0.2.1/24 create host-interface name vpp1_rtr set int state host-vpp1_rtr up set int ip address host-vpp1_rtr 6.0.3.1/24 - -lisp enable - -lisp map-resolver add 6.0.3.100 -lisp locator-set add ls1 iface host-vpp1_rtr 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_two_iface/4o4/vpp1.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp1.vat new file mode 100644 index 0000000..d4ca711 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp1.vat @@ -0,0 +1,6 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-vpp1_rtr p 1 w 1 +lisp_add_del_local_eid eid 6.0.2.0/24 locator-set ls1 +lisp_add_del_map_resolver 6.0.3.100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp2.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp2.config index ff7af94..26b7e7a 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp2.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp2.config @@ -4,9 +4,3 @@ set int ip address host-vpp2 6.0.4.1/24 create host-interface name vpp2_rtr set int state host-vpp2_rtr up set int ip address host-vpp2_rtr 6.0.5.1/24 - -lisp enable - -lisp map-resolver add 6.0.5.100 -lisp locator-set add ls1 iface host-vpp2_rtr 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_two_iface/4o4/vpp2.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp2.vat new file mode 100644 index 0000000..3262c09 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp2.vat @@ -0,0 +1,6 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-vpp2_rtr p 1 w 1 +lisp_add_del_local_eid eid 6.0.4.0/24 locator-set ls1 +lisp_add_del_map_resolver 6.0.5.100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp3.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp3.vat new file mode 100644 index 0000000..ecb238a --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o4/vpp3.vat @@ -0,0 +1,9 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-rtr_vpp1 p 1 w 1 +lisp_add_del_locator locator-set ls1 iface host-rtr_vpp2 p 1 w 1 + +lisp_pitr_set_locator_set locator-set ls1 +lisp_add_del_remote_mapping add vni 0 deid 6.0.0.0/16 action 2 +lisp_add_del_map_resolver 6.0.3.100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/rtr.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/rtr.config index 07fe676..a70a2c9 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/rtr.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/rtr.config @@ -5,10 +5,3 @@ set int ip address host-rtr_vpp1 6:0:3::2/64 create host-interface name rtr_vpp2 set int state host-rtr_vpp2 up set int ip address host-rtr_vpp2 6:0:5::2/64 - -lisp enable - -lisp locator-set add ls1 iface host-rtr_vpp1 p 1 w 1 iface host-rtr_vpp2 p 1 w 1 -lisp pitr ls ls1 -lisp remote-mapping eid 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_two_iface/4o6/vpp1.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp1.config index b2c523b..449cd58 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp1.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp1.config @@ -4,9 +4,3 @@ set int ip address host-vpp1 6.0.2.1/24 create host-interface name vpp1_rtr set int state host-vpp1_rtr up set int ip address host-vpp1_rtr 6:0:3::1/64 - -lisp enable - -lisp map-resolver add 6:0:3::100 -lisp locator-set add ls1 iface host-vpp1_rtr 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_two_iface/4o6/vpp1.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp1.vat new file mode 100644 index 0000000..2948ec8 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp1.vat @@ -0,0 +1,6 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-vpp1_rtr p 1 w 1 +lisp_add_del_local_eid eid 6.0.2.0/24 locator-set ls1 +lisp_add_del_map_resolver 6:0:3::100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp2.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp2.config index 27d58b5..efff7b3 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp2.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp2.config @@ -4,9 +4,3 @@ set int ip address host-vpp2 6.0.4.1/24 create host-interface name vpp2_rtr set int state host-vpp2_rtr up set int ip address host-vpp2_rtr 6:0:5::1/64 - -lisp enable - -lisp map-resolver add 6:0:5::100 -lisp locator-set add ls1 iface host-vpp2_rtr 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_two_iface/4o6/vpp2.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp2.vat new file mode 100644 index 0000000..8aa96ca --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp2.vat @@ -0,0 +1,6 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-vpp2_rtr p 1 w 1 +lisp_add_del_local_eid eid 6.0.4.0/24 locator-set ls1 +lisp_add_del_map_resolver 6:0:5::100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp3.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp3.vat new file mode 100644 index 0000000..02794af --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/4o6/vpp3.vat @@ -0,0 +1,9 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-rtr_vpp1 p 1 w 1 +lisp_add_del_locator locator-set ls1 iface host-rtr_vpp2 p 1 w 1 + +lisp_pitr_set_locator_set locator-set ls1 +lisp_add_del_remote_mapping add vni 0 deid 6.0.0.0/16 action 2 +lisp_add_del_map_resolver 6:0:3::100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/rtr.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/rtr.config index df53d93..03614b5 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/rtr.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/rtr.config @@ -5,11 +5,3 @@ set int ip address host-rtr_vpp1 6.0.3.2/24 create host-interface name rtr_vpp2 set int state host-rtr_vpp2 up set int ip address host-rtr_vpp2 6:0:5::2/64 - -lisp enable - -lisp locator-set add ls1 iface host-rtr_vpp1 p 1 w 1 iface host-rtr_vpp2 p 1 w 1 -lisp pitr ls ls1 -comment { lisp pitr disable } -lisp remote-mapping eid 6:0:0::0/32 action send-map-request -lisp map-resolver add 6.0.3.100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp1.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp1.config index 72e460b..24a23b5 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp1.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp1.config @@ -4,9 +4,3 @@ set int ip address host-vpp1 6:0:2::1/64 create host-interface name vpp1_rtr set int state host-vpp1_rtr up set int ip address host-vpp1_rtr 6.0.3.1/24 - -lisp enable - -lisp map-resolver add 6.0.3.100 -lisp locator-set add ls1 iface host-vpp1_rtr p 1 w 1 -lisp eid-table add eid 6:0:2::0/64 locator-set ls1 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp1.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp1.vat new file mode 100644 index 0000000..a01f7a8 --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp1.vat @@ -0,0 +1,6 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-vpp1_rtr p 1 w 1 +lisp_add_del_local_eid eid 6:0:2::0/64 locator-set ls1 +lisp_add_del_map_resolver 6.0.3.100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp2.config b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp2.config index eddefba..8a5fe7f 100644 --- a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp2.config +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp2.config @@ -4,9 +4,3 @@ set int ip address host-vpp2 6:0:4::1/64 create host-interface name vpp2_rtr set int state host-vpp2_rtr up set int ip address host-vpp2_rtr 6:0:5::1/64 - -lisp enable - -lisp map-resolver add 6:0:5::100 -lisp locator-set add ls1 iface host-vpp2_rtr p 1 w 1 -lisp eid-table add eid 6:0:4::0/64 locator-set ls1 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp2.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp2.vat new file mode 100644 index 0000000..134b24f --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp2.vat @@ -0,0 +1,6 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-vpp2_rtr p 1 w 1 +lisp_add_del_local_eid eid 6:0:4::0/64 locator-set ls1 +lisp_add_del_map_resolver 6:0:5::100 diff --git a/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp3.vat b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp3.vat new file mode 100644 index 0000000..06a522a --- /dev/null +++ b/tests/data_plane/configs/vpp_lite_config/rtr_two_iface/6o46/vpp3.vat @@ -0,0 +1,9 @@ +lisp_enable_disable enable + +lisp_add_del_locator_set locator-set ls1 +lisp_add_del_locator locator-set ls1 iface host-rtr_vpp1 p 1 w 1 +lisp_add_del_locator locator-set ls1 iface host-rtr_vpp2 p 1 w 1 + +lisp_pitr_set_locator_set locator-set ls1 +lisp_add_del_remote_mapping add vni 0 deid 6:0:0::0/32 action 2 +lisp_add_del_map_resolver 6.0.3.100 |