blob: 2f3698737d7808d709ddf4c0798828158a0a1078 [file] [log] [blame]
s003703468a09f072019-05-14 22:13:57 +05301Installation
2============
3
4Sample docker run command could be -
5.. code-block:: bash
6 docker run onap/org.onap.dcaegen2.collectors.restconfcollector
7
8For Dublin release, it will be a DCAE component that can dynamically be deployed via Cloudify blueprint installation.
9Steps to deploy are shown below
10
11- Transfer blueprint component file in DCAE bootstrap POD under /blueprints directory. Blueprint can be found in
12
13 https://git.onap.org/dcaegen2/collectors/restconf/tree/dpo/blueprints/k8s-rcc-policy.yaml-template?h=master
14
15- Enter the Bootstrap POD
16- Validate blueprint
17 .. code-block:: bash
18
19 cfy blueprints validate /blueprints/k8s-rcc-policy.yaml
20- Upload validated blueprint
21 .. code-block:: bash
22
23
24 cfy blueprints upload -b restconfcollector /blueprints/k8s-rcc-policy.yaml
25- Create deployment
26 .. code-block:: bash
27
28
29 cfy deployments create -b restconfcollector restconfcollector
30- Deploy blueprint
31 .. code-block:: bash
32
33
34 cfy executions start -d restconfcollector install
35
36To undeploy restconfcollector, steps are shown below
37
38- Uninstall running restconfcollector and delete deployment
39 .. code-block:: bash
40
41
42 cfy uninstall restconfcollector
43- Delete blueprint
44 .. code-block:: bash
45
46
47 cfy blueprints delete restconfcollector