diff options
author | s00370346 <swarup.nayak1@huawei.com> | 2019-05-14 22:13:57 +0530 |
---|---|---|
committer | s00370346 <swarup.nayak1@huawei.com> | 2019-05-14 22:14:08 +0530 |
commit | 8a09f077a777fff2df144f4cd26e8704ed15d353 (patch) | |
tree | b3460b1d50bdc158817de70b31d2edb6adb306a8 /docs/sections/services/restconf/installation.rst | |
parent | 32b6e8c55d9495743fe47897cb6654f6be602416 (diff) |
Document update (.rst) for Restconf
Issue-ID: DCAEGEN2-1502
Change-Id: I1da5819f45c44de3bc7e0ed12da327f6ce8dcb50
Signed-off-by: s00370346 <swarup.nayak1@huawei.com>
Diffstat (limited to 'docs/sections/services/restconf/installation.rst')
-rw-r--r-- | docs/sections/services/restconf/installation.rst | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/docs/sections/services/restconf/installation.rst b/docs/sections/services/restconf/installation.rst new file mode 100644 index 00000000..2f369873 --- /dev/null +++ b/docs/sections/services/restconf/installation.rst @@ -0,0 +1,47 @@ +Installation +============ + +Sample docker run command could be - +.. code-block:: bash + docker run onap/org.onap.dcaegen2.collectors.restconfcollector + +For Dublin release, it will be a DCAE component that can dynamically be deployed via Cloudify blueprint installation. +Steps to deploy are shown below + +- Transfer blueprint component file in DCAE bootstrap POD under /blueprints directory. Blueprint can be found in + + https://git.onap.org/dcaegen2/collectors/restconf/tree/dpo/blueprints/k8s-rcc-policy.yaml-template?h=master + +- Enter the Bootstrap POD +- Validate blueprint + .. code-block:: bash + + cfy blueprints validate /blueprints/k8s-rcc-policy.yaml +- Upload validated blueprint + .. code-block:: bash + + + cfy blueprints upload -b restconfcollector /blueprints/k8s-rcc-policy.yaml +- Create deployment + .. code-block:: bash + + + cfy deployments create -b restconfcollector restconfcollector +- Deploy blueprint + .. code-block:: bash + + + cfy executions start -d restconfcollector install + +To undeploy restconfcollector, steps are shown below + +- Uninstall running restconfcollector and delete deployment + .. code-block:: bash + + + cfy uninstall restconfcollector +- Delete blueprint + .. code-block:: bash + + + cfy blueprints delete restconfcollector |