[DOCUMENTATION] Add a simulator section in documentation 70/120070/1
authormorganrol <morgan.richomme@orange.com>
Wed, 31 Mar 2021 16:06:47 +0000 (18:06 +0200)
committermorganrol <morgan.richomme@orange.com>
Wed, 31 Mar 2021 16:06:47 +0000 (18:06 +0200)
Create a simulator section in integration documentation
This section aims to highlight the existing simulators
and encourage people to reuse them

it is a first skeleton, other patches shall complete
the new sections

Issue-ID: INT-1888

Signed-off-by: morganrol <morgan.richomme@orange.com>
Change-Id: If4510001bc1bb754a4bdaf3963175873edb3601c

docs/files/csv/repo-integration.csv
docs/files/csv/repo-simulators.csv [new file with mode: 0644]
docs/files/csv/simulators.csv [new file with mode: 0644]
docs/index.rst
docs/integration-repositories.rst
docs/integration-resources.rst
docs/integration-simulators.rst [new file with mode: 0644]
docs/simulators/ns_simulator.rst [new file with mode: 0644]

index e96ab32..51edf36 100644 (file)
@@ -4,10 +4,6 @@ integration/csit;Repository hosting some tooling to start component functional t
 integration/docker/onap-java11;Java11 baseline image conformed to SECCOM recommendations;`link <https://gerrit.onap.org/r/admin/repos/integration/docker/onap-java11>`__
 integration/docker/onap-python;Python baseline image conformed to SECCOM recommendations;`link <https://gerrit.onap.org/r/admin/repos/integration/docker/onap-python>`__
 integration/seccom;Repory hosting seccom recommended versions and security test waivers;`link <https://gerrit.onap.org/r/admin/repos/integration/seccom>`__
-**integration/simulators/5G-core-nf-simulator**;**5G core nf simulator**;`link <https://gerrit.onap.org/r/admin/repos/integration/simulators/5G-core-nf-simulator>`__
-integration/simulators/dc-simulator;Data Center simulator;`link <https://gerrit.onap.org/r/admin/repos/integration/simulators/dc-simulator>`__
-integration/simulators/pnf-simulator;PNF Simulator;`link <https://gerrit.onap.org/r/admin/repos/integration/simulators/pnf-simulator>`__
-integration/simulators/ran-simulator;RAN simulator;`link <https://gerrit.onap.org/r/admin/repos/integration/simulators/ran-simulator>`__
 **integration/terraform**;**Terraform based alternative infrastructure installation**;`link <https://gerrit.onap.org/r/admin/repos/integration/terraform>`__
 **integration/terragrunt**;**Compagnon repository of terraform**;`link <https://gerrit.onap.org/r/admin/repos/integration/terragrunt>`__
 integration/usecases/bbs;BBS use case introduced in Dublin and extracted from global repository in frankfurt;`link <https://gerrit.onap.org/r/admin/repos/integration/usecases/bbs>`__
diff --git a/docs/files/csv/repo-simulators.csv b/docs/files/csv/repo-simulators.csv
new file mode 100644 (file)
index 0000000..09327ab
--- /dev/null
@@ -0,0 +1,5 @@
+Repository;Description;Link
+**integration/simulators/5G-core-nf-simulator**;**5G core nf simulator**;`link <https://gerrit.onap.org/r/admin/repos/integration/simulators/5G-core-nf-simulator>`__
+integration/simulators/dc-simulator;Data Center simulator;`link <https://gerrit.onap.org/r/admin/repos/integration/simulators/dc-simulator>`__
+integration/simulators/pnf-simulator;PNF Simulator;`link <https://gerrit.onap.org/r/admin/repos/integration/simulators/pnf-simulator>`__
+integration/simulators/ran-simulator;RAN simulator;`link <https://gerrit.onap.org/r/admin/repos/integration/simulators/ran-simulator>`__
diff --git a/docs/files/csv/simulators.csv b/docs/files/csv/simulators.csv
new file mode 100644 (file)
index 0000000..c743bd2
--- /dev/null
@@ -0,0 +1,3 @@
+Name;Description;Link;Contacts
+NS Simulator;Evolution of the pnf simulator, the Network service simulator.....;:ref:`official doc <ns_simulator>`;K.Kuzmicki
+Another Simulator;yes another  ;;John Doe
index 7b4d296..9e2a89c 100644 (file)
@@ -14,4 +14,5 @@ INTEGRATION
    integration-labs.rst
    integration-CICD.rst
    integration-tests.rst
+   integration-simulators.rst
    integration-tooling.rst
index 211f2d3..ac40067 100644 (file)
@@ -76,6 +76,13 @@ rather than systematically re-inventing the wheel.
     :delim: ;
     :header-rows: 1
 
+.. csv-table:: Integration Simulators
+    :file: ./files/csv/repo-simulators.csv
+    :widths: 30,50,20
+    :delim: ;
+    :header-rows: 1
+
+
 Testsuite
 ---------
 
index a782fc9..a8dc4b9 100644 (file)
@@ -61,13 +61,6 @@ VNF demo Artifacts
 VNF demo artifacts are hosted in the demo repositories and published in
 https://nexus.onap.org/content/repositories/releases/org/onap/demo/vnf/.
 
-Simulators
-----------
-
-There is a list of `available simulators <https://wiki.onap.org/pages/viewpage.action?pageId=81399210>`_.
-Please consider any of them (they are open source and can be modified,
-updated...) before creating a new one.
-
 Communication channels
 ----------------------
 
diff --git a/docs/integration-simulators.rst b/docs/integration-simulators.rst
new file mode 100644 (file)
index 0000000..2105d3f
--- /dev/null
@@ -0,0 +1,59 @@
+.. This work is licensed under a
+   Creative Commons Attribution 4.0 International License.
+.. integration-tooling:
+
+.. _integration-simulators:
+
+Simulators
+==========
+
+Simulators are regularly created for use cases. The goal of this section is to:
+
+- Highlight the existing Simulators
+- Provide recommendations when starting developing a new simulator
+
+.. important::
+    Before developing a new simulator, check that it does not exist...and
+    refactor/contribute to existing simulators rather than recreating new ones.
+
+
+Existing simulators
+-------------------
+
+.. csv-table:: Simulators
+  :file: ./files/csv/simulators.csv
+  :widths: 10,50,20,20
+  :delim: ;
+  :header-rows: 1
+
+
+Recommendations
+---------------
+
+The simulator code
+..................
+
+We recommend to create a dedicated repository (ask Integration team).
+
+.. csv-table:: Simulator repositories
+    :file: ./files/csv/repo-simulators.csv
+    :widths: 30,50,20
+    :delim: ;
+    :header-rows: 1
+
+
+Dockerization
+.............
+
+From this repository, create a jenkins job to automatically build the dockers.
+
+Helm Chart
+..........
+
+It is recommended to create a helm chart in order to run the simulators.
+
+
+Start your simulator from pythonsdk
+...................................
+
+TODO
diff --git a/docs/simulators/ns_simulator.rst b/docs/simulators/ns_simulator.rst
new file mode 100644 (file)
index 0000000..f9f724e
--- /dev/null
@@ -0,0 +1,28 @@
+.. This work is licensed under a Creative Commons Attribution 4.0
+   International License. http://creativecommons.org/licenses/by/4.0
+
+.. _ns_simulator:
+
+:orphan:
+
+NS Simulator
+============
+
+Description
+-----------
+
+TODO
+
+
+Guides
+======
+
+User Guide
+-----------
+
+TODO
+
+Developer Guide
+---------------
+
+TODO