Corrections in vCPE tutorial 22/89822/1
authorjhh <jorge.hernandez-herrero@att.com>
Thu, 13 Jun 2019 15:09:52 +0000 (10:09 -0500)
committerjhh <jorge.hernandez-herrero@att.com>
Thu, 13 Jun 2019 15:09:52 +0000 (10:09 -0500)
Issue-ID: POLICY-1851
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Idc72df51ce713528284fe0834b6673d700a74042

docs/drools/tutorial_cl.rst
docs/drools/tutorial_vCPE.rst

index 6579ed4..936bf28 100644 (file)
@@ -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"
         }
index eef6c5b..d22747e 100644 (file)
@@ -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"
        }