aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukasz Rajewski <lukasz.rajewski@orange.com>2020-05-14 11:08:43 +0200
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-05-25 10:03:05 +0000
commit61a35bca9ce57331289e097b32a7db722f6e4da3 (patch)
tree192c4b20df3d40d5694ad3773e90fb7039d517a9
parentb81a56ad46ad2278c1b88dee42a872de8a4447a1 (diff)
Hardcoded APPC password removed
Hardcoded APPC password removed from doc Issue-ID: INT-1277 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Iaad61a8d3c436f6a0861d1c4f94fdc804763d940
-rw-r--r--docs/docs_vFWDT.rst18
1 files changed, 13 insertions, 5 deletions
diff --git a/docs/docs_vFWDT.rst b/docs/docs_vFWDT.rst
index 0ff3340f3..ebf9e8985 100644
--- a/docs/docs_vFWDT.rst
+++ b/docs/docs_vFWDT.rst
@@ -292,7 +292,7 @@ what should show following folders
::
root@sb01-rancher:~/demo/tutorials/vFWDT# ls
- playbooks preloads workflow
+ get_secret.sh playbooks policies preloads workflow
.. note:: Remember vFWDT tutorial directory `~/demo/tutorials/vFWDT` for the further use
@@ -740,19 +740,27 @@ Configuration of APPC DB for Ansible
For each VNF that uses the Ansible protocol you need to configure *PASSWORD* and *URL* field in the *DEVICE_AUTHENTICATION* table. This step must be performed after configuration in CDT which populates data in *DEVICE_AUTHENTICATION* table.
-1. Enter the APPC DB container
+1. Read APPC DB password
+
+Enter vFWDT tutorial directory `Preparation of Workflow Script Environment`_ on Rancher server.
+
+::
+
+ ./get_secret.sh `kubectl get secrets | grep appc-db-root-pass`
+
+2. Enter the APPC DB container
::
kubectl exec -it -n onap `kubectl get pods -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}' | grep appc-db-0` -- sh
-2. Enter the APPC DB CLI (password is *gamma*)
+3. Enter the APPC DB CLI
::
- mysql -u sdnctl -p
+ mysql -u root -p
-3. Execute the following SQL commands
+4. Execute the following SQL commands
::