summaryrefslogtreecommitdiffstats
path: root/test/tests
diff options
context:
space:
mode:
Diffstat (limited to 'test/tests')
-rw-r--r--test/tests/suites/__init__.robot15
-rw-r--r--test/tests/suites/bridge_domain/test.robot26
-rw-r--r--test/tests/suites/vhost_user_dummy/__init__.robot14
-rw-r--r--test/tests/suites/vhost_user_dummy/test1.robot18
-rw-r--r--test/tests/suites/vhost_user_dummy/test2.robot18
5 files changed, 91 insertions, 0 deletions
diff --git a/test/tests/suites/__init__.robot b/test/tests/suites/__init__.robot
new file mode 100644
index 00000000000..5959befce1d
--- /dev/null
+++ b/test/tests/suites/__init__.robot
@@ -0,0 +1,15 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*** Settings ***
+| Library | resources/libraries/python/SetupFramework.py
+| Suite Setup | Setup Framework | ${nodes}
diff --git a/test/tests/suites/bridge_domain/test.robot b/test/tests/suites/bridge_domain/test.robot
new file mode 100644
index 00000000000..06b05cd5f97
--- /dev/null
+++ b/test/tests/suites/bridge_domain/test.robot
@@ -0,0 +1,26 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*** Settings ***
+| Resource | resources/libraries/robot/default.robot
+| Resource | resources/libraries/robot/interfaces.robot
+| Test Setup | Setup all DUTs before test
+
+*** Test Cases ***
+| VPP reports interfaces
+| | VPP reports interfaces on | ${nodes['DUT1']}
+
+
+| Loop the test
+| | : FOR | ${INDEX} | in range | 10
+| | | VPP reports interfaces on | ${nodes['DUT1']}
+
diff --git a/test/tests/suites/vhost_user_dummy/__init__.robot b/test/tests/suites/vhost_user_dummy/__init__.robot
new file mode 100644
index 00000000000..f1b637aaf6d
--- /dev/null
+++ b/test/tests/suites/vhost_user_dummy/__init__.robot
@@ -0,0 +1,14 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*** Settings ***
+| Documentation | Dummy test suite to test suite execution
diff --git a/test/tests/suites/vhost_user_dummy/test1.robot b/test/tests/suites/vhost_user_dummy/test1.robot
new file mode 100644
index 00000000000..b5ad24cc12e
--- /dev/null
+++ b/test/tests/suites/vhost_user_dummy/test1.robot
@@ -0,0 +1,18 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*** Settings ***
+| Force Tags | vhost-user | hw
+
+*** Test Cases ***
+| Create vhost user interface on hw
+| | Log | interface created
diff --git a/test/tests/suites/vhost_user_dummy/test2.robot b/test/tests/suites/vhost_user_dummy/test2.robot
new file mode 100644
index 00000000000..742f409c741
--- /dev/null
+++ b/test/tests/suites/vhost_user_dummy/test2.robot
@@ -0,0 +1,18 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+*** Settings ***
+| Force Tags | vhost-user | virl
+
+*** Test Cases ***
+| Create vhost user interface on virl
+| | Log | interface created