aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/drools/tutorial_cl.rst15
-rw-r--r--docs/drools/tutorial_vCPE.rst2
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"
}