CSIT-723: Source code auto-generation for 1707 98/7598/2
authorTibor Frank <tifrank@cisco.com>
Mon, 17 Jul 2017 13:27:00 +0000 (15:27 +0200)
committerTibor Frank <tifrank@cisco.com>
Tue, 18 Jul 2017 06:59:19 +0000 (08:59 +0200)
Change-Id: Ia178ac180fd344db620757dcc2b9cbb5010276c7
Signed-off-by: Tibor Frank <tifrank@cisco.com>
20 files changed:
resources/libraries/robot/__init__.robot [new file with mode: 0644]
resources/tools/doc_gen/gen_rst.py
resources/tools/doc_gen/src/index.rst
resources/tools/doc_gen/src/requirements.txt
resources/tools/doc_gen/src/tests.dpdk.perf.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.func.rst [deleted file]
resources/tools/doc_gen/src/tests.nsh_sfc.func.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.perf.rst [deleted file]
resources/tools/doc_gen/src/tests.tldk.func.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.vpp.func.ip4_tunnels.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.vpp.func.ip6_tunnels.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.vpp.func.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.vpp.func.vm_vhost.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.vpp.perf.ip4_tunnels.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.vpp.perf.ip6_tunnels.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.vpp.perf.rst [new file with mode: 0644]
resources/tools/doc_gen/src/tests.vpp.perf.vm_vhost.rst [new file with mode: 0644]
tests/vpp/func/ip4_tunnels/__init__.robot [new file with mode: 0644]
tests/vpp/func/ip6_tunnels/__init__.robot [new file with mode: 0644]
tests/vpp/func/vm_vhost/__init__.robot [new file with mode: 0644]

diff --git a/resources/libraries/robot/__init__.robot b/resources/libraries/robot/__init__.robot
new file mode 100644 (file)
index 0000000..501a130
--- /dev/null
@@ -0,0 +1,12 @@
+# Copyright (c) 2017 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.
index c79ffc0..898f215 100755 (executable)
@@ -198,7 +198,8 @@ def generate_py_rst_files():
             for file in files:
                 module_name = file.split('.')[0]
                 write_module_title(fh, module_name)
-                fh.write(rst_py_module.format('.'.join(module_path), module_name))
+                fh.write(rst_py_module.format('.'.join(module_path),
+                                              module_name))
 
 
 def generate_rf_rst_files(file_names, incl_tests=True, incl_keywords=True):
index 77c6966..6f44feb 100644 (file)
@@ -9,6 +9,9 @@ Contents
    overview
    resources.libraries.python
    resources.libraries.robot
-   tests.func
-   tests.perf
+   tests.dpdk.perf
+   tests.nsh_sfc.func
+   tests.tldk.func
+   tests.vpp.func
+   tests.vpp.perf
    indices
index cf6b0e6..2cf7cd9 100644 (file)
@@ -1,3 +1,3 @@
-Sphinx
+Sphinx==1.5.5
 sphinxcontrib_robotdoc
 sphinx-rtd-theme
\ No newline at end of file
diff --git a/resources/tools/doc_gen/src/tests.dpdk.perf.rst b/resources/tools/doc_gen/src/tests.dpdk.perf.rst
new file mode 100644 (file)
index 0000000..a528a41
--- /dev/null
@@ -0,0 +1,3 @@
+DPDK Performance Tests
+======================
+
diff --git a/resources/tools/doc_gen/src/tests.func.rst b/resources/tools/doc_gen/src/tests.func.rst
deleted file mode 100644 (file)
index 74b26f1..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Functional Tests
-================
-
diff --git a/resources/tools/doc_gen/src/tests.nsh_sfc.func.rst b/resources/tools/doc_gen/src/tests.nsh_sfc.func.rst
new file mode 100644 (file)
index 0000000..e06d26d
--- /dev/null
@@ -0,0 +1,3 @@
+NSH SFC Functional Tests
+========================
+
diff --git a/resources/tools/doc_gen/src/tests.perf.rst b/resources/tools/doc_gen/src/tests.perf.rst
deleted file mode 100644 (file)
index 226545b..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-Performance Tests
-=================
-
diff --git a/resources/tools/doc_gen/src/tests.tldk.func.rst b/resources/tools/doc_gen/src/tests.tldk.func.rst
new file mode 100644 (file)
index 0000000..85042fc
--- /dev/null
@@ -0,0 +1,3 @@
+TLDK Functional Tests
+=====================
+
diff --git a/resources/tools/doc_gen/src/tests.vpp.func.ip4_tunnels.rst b/resources/tools/doc_gen/src/tests.vpp.func.ip4_tunnels.rst
new file mode 100644 (file)
index 0000000..1c296e3
--- /dev/null
@@ -0,0 +1,3 @@
+IPv4 Tunnels
+============
+
diff --git a/resources/tools/doc_gen/src/tests.vpp.func.ip6_tunnels.rst b/resources/tools/doc_gen/src/tests.vpp.func.ip6_tunnels.rst
new file mode 100644 (file)
index 0000000..40dbbc5
--- /dev/null
@@ -0,0 +1,3 @@
+IPv6 Tunnels
+============
+
diff --git a/resources/tools/doc_gen/src/tests.vpp.func.rst b/resources/tools/doc_gen/src/tests.vpp.func.rst
new file mode 100644 (file)
index 0000000..c0e02ee
--- /dev/null
@@ -0,0 +1,3 @@
+VPP Functional Tests
+====================
+
diff --git a/resources/tools/doc_gen/src/tests.vpp.func.vm_vhost.rst b/resources/tools/doc_gen/src/tests.vpp.func.vm_vhost.rst
new file mode 100644 (file)
index 0000000..c669b23
--- /dev/null
@@ -0,0 +1,3 @@
+VM VHOST
+========
+
diff --git a/resources/tools/doc_gen/src/tests.vpp.perf.ip4_tunnels.rst b/resources/tools/doc_gen/src/tests.vpp.perf.ip4_tunnels.rst
new file mode 100644 (file)
index 0000000..1c296e3
--- /dev/null
@@ -0,0 +1,3 @@
+IPv4 Tunnels
+============
+
diff --git a/resources/tools/doc_gen/src/tests.vpp.perf.ip6_tunnels.rst b/resources/tools/doc_gen/src/tests.vpp.perf.ip6_tunnels.rst
new file mode 100644 (file)
index 0000000..40dbbc5
--- /dev/null
@@ -0,0 +1,3 @@
+IPv6 Tunnels
+============
+
diff --git a/resources/tools/doc_gen/src/tests.vpp.perf.rst b/resources/tools/doc_gen/src/tests.vpp.perf.rst
new file mode 100644 (file)
index 0000000..e349eaf
--- /dev/null
@@ -0,0 +1,3 @@
+VPP Performance Tests
+=====================
+
diff --git a/resources/tools/doc_gen/src/tests.vpp.perf.vm_vhost.rst b/resources/tools/doc_gen/src/tests.vpp.perf.vm_vhost.rst
new file mode 100644 (file)
index 0000000..c669b23
--- /dev/null
@@ -0,0 +1,3 @@
+VM VHOST
+========
+
diff --git a/tests/vpp/func/ip4_tunnels/__init__.robot b/tests/vpp/func/ip4_tunnels/__init__.robot
new file mode 100644 (file)
index 0000000..501a130
--- /dev/null
@@ -0,0 +1,12 @@
+# Copyright (c) 2017 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.
diff --git a/tests/vpp/func/ip6_tunnels/__init__.robot b/tests/vpp/func/ip6_tunnels/__init__.robot
new file mode 100644 (file)
index 0000000..501a130
--- /dev/null
@@ -0,0 +1,12 @@
+# Copyright (c) 2017 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.
diff --git a/tests/vpp/func/vm_vhost/__init__.robot b/tests/vpp/func/vm_vhost/__init__.robot
new file mode 100644 (file)
index 0000000..501a130
--- /dev/null
@@ -0,0 +1,12 @@
+# Copyright (c) 2017 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.

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.