aboutsummaryrefslogtreecommitdiffstats
path: root/sdv/docs/docker/urls/userguide.rst
diff options
context:
space:
mode:
authoropensource-tnbt <sridhar.rao@spirent.com>2020-09-10 17:43:24 +0530
committerSridhar Rao <sridhar.rao@spirent.com>2020-09-12 03:38:19 +0000
commit53162c3c767acca082b1471294ff54e98169abe9 (patch)
tree2048b2110e0ca38d7b4d981f45cee94704804feb /sdv/docs/docker/urls/userguide.rst
parent27fff834bee372c53e1b5d222c398543ac3f34aa (diff)
CIRV_SDV: URLS Checker in container.
This patch implements a Installer Manifest URLS checker as a container application. Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: Iff143034a0f4a883e6a06db289bf784dc5cc2b72
Diffstat (limited to 'sdv/docs/docker/urls/userguide.rst')
-rw-r--r--sdv/docs/docker/urls/userguide.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/sdv/docs/docker/urls/userguide.rst b/sdv/docs/docker/urls/userguide.rst
new file mode 100644
index 0000000..15d0724
--- /dev/null
+++ b/sdv/docs/docker/urls/userguide.rst
@@ -0,0 +1,24 @@
+********************************************************
+CIRV-SDV: Validating the URLs in the Installer Manifests
+********************************************************
+
+Supported Installer Manifest: Airship.
+
+Building and starting the container:
+* Go to folder sdv/docker/sdvurls
+* Build the container with 'docker build' command. Consider naming/tagging the container properly.
+* Run the container using docker run. The container creates a report under /tmp folder. Hence, consider mapping a volume to '/tmp' folder to get the report.
+
+
+Interacting with the container
+##############################
+Inputs:
+
+* Installer Used. Keyword: "installer". Example Value: "airship". This is mandatory
+* Link to the installer manifests. Keyword: "link". Example Value: "https://gerrit.opnfv.org/gerrit/airship". This is mandatory
+* Version (For Airship, this refers to Treasuremap Version). Keyword: "version". Example Value: "v1.7". This is mandatory only for Airship.
+* Name of the site. Keyword: "name". Example Value: "intel-pod10". This is mandatory only for Airship
+
+Assuming the container is running locally, the example command would be::
+
+ curl --header "Content-Type: application/json" --redata '{"installer":"airship", "link":"https://gerrit.opnfv.org/gerrit/airship", "version":"v1.7", "name":"intel-pod10"}' http://localhost:8989/airship