diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2019-06-13 10:09:52 -0500 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2019-06-13 10:09:52 -0500 |
commit | 2e478fa17f69cb97562a790e433c5873ed4502e9 (patch) | |
tree | 009013885af3cd2b6d0807a2afd5376563fa7b16 /docs/drools | |
parent | 0ac4c6a0a3c5eacf7db3b1766048a8d1405f3e96 (diff) |
Corrections in vCPE tutorial
Issue-ID: POLICY-1851
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Idc72df51ce713528284fe0834b6673d700a74042
Diffstat (limited to 'docs/drools')
-rw-r--r-- | docs/drools/tutorial_cl.rst | 15 | ||||
-rw-r--r-- | docs/drools/tutorial_vCPE.rst | 2 |
2 files changed, 12 insertions, 5 deletions
diff --git a/docs/drools/tutorial_cl.rst b/docs/drools/tutorial_cl.rst index 6579ed43..936bf28f 100644 --- a/docs/drools/tutorial_cl.rst +++ b/docs/drools/tutorial_cl.rst @@ -36,7 +36,7 @@ without companion components. .. code-block:: bash - docker run --rm --env-file config/base.conf -p 9696:9696 -it --name pdp nexus3.onap.org:10001/onap/policy-pdpd-cl:1.4.1 bash + docker run --rm --env-file config/base.conf --env-file feature-healthcheck.conf -p 9696:9696 -p 6969:6969 -it --name pdpd -h pdpd nexus3.onap.org:10001/onap/policy-pdpd-cl:1.4.1 bash **Step 4:** Disable the distributed-locking feature, since this is a single CL PDP-D instance. @@ -44,19 +44,26 @@ without companion components. features disable distributed-locking -**Step 4:** [OPTIONAL] If using simulators (see tutorials), enable the *controlloop-utils* feature. +**Step 5:** If using simulators (see tutorials), enable the *controlloop-utils* feature. .. code-block:: bash features enable controlloop-utils -**Step 5:** [OPTIONAL] To reduce error logs due to being unable to communicate with DMaaP, change the official configuration to use *noop* topics instead (no network IO involved). +**Step 6:** To reduce error logs due to being unable to communicate with DMaaP, change the official configuration to use *noop* topics instead (no network IO involved). .. code-block:: bash cd $POLICY_HOME/config sed -i "s/^dmaap/noop/g" *.properties +**Step 7:** Disable PDP-X guard functionality. + + .. code-block:: bash + + cd $POLICY_HOME/config + sed -i "s/^guard.disabled=*$/guard.disabled=true/g" $POLICY_HOME/config/controlloop.properties.environment + **Step 5:** Start the CL PDP-D. .. code-block:: bash @@ -73,7 +80,7 @@ without companion components. "messageName": "PDP_STATE_CHANGE", "requestId": "385146af-adeb-4157-b97d-6ae85c1ddcb3", "timestampMs": 1555791893587, - "name": "8a9e0c256c59", + "name": "pdpd", "pdpGroup": "controlloop", "pdpSubgroup": "drools" } diff --git a/docs/drools/tutorial_vCPE.rst b/docs/drools/tutorial_vCPE.rst index eef6c5be..d22747ed 100644 --- a/docs/drools/tutorial_vCPE.rst +++ b/docs/drools/tutorial_vCPE.rst @@ -43,7 +43,7 @@ Running the Flow "messageName": "PDP_UPDATE", "requestId": "a7a32d3b-37b4-4fb7-9322-b90c6a6fe365", "timestampMs": 1556125347251, - "name": "8a9e0c256c59", # note this is the hostname + "name": "pdpd", "pdpGroup": "controlloop", "pdpSubgroup": "drools" } |