summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorVijay Venkatesh Kumar <vv770d@att.com>2020-04-28 20:27:46 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-28 20:27:46 +0000
commitb9245647657dfcde55315667c911130155b9dc1e (patch)
tree4a4cd18a3c2cdbaf57d4946f8e078ee6bc3d0bda /docs
parent0424f6f58b83ced065a0f49fdafa3e50bff18f1e (diff)
parentcc62d2ee6ac4f016c0759051b5564e696e4fbc2f (diff)
Merge "Update PMSH Frankfurt docs"
Diffstat (limited to 'docs')
-rw-r--r--docs/sections/services/pm-subscription-handler/installation.rst9
-rw-r--r--docs/sections/services/pm-subscription-handler/resources/monitoring-policy.json58
2 files changed, 65 insertions, 2 deletions
diff --git a/docs/sections/services/pm-subscription-handler/installation.rst b/docs/sections/services/pm-subscription-handler/installation.rst
index 3865cfbd..f858222a 100644
--- a/docs/sections/services/pm-subscription-handler/installation.rst
+++ b/docs/sections/services/pm-subscription-handler/installation.rst
@@ -6,8 +6,8 @@
Installation
============
-Due to a bug in the Frankfurt release, the PMSH cannot be deployed through CLAMP. The PMSH can instead be deployed
-using the DCAE Dashboard or via CLI. Steps to deploy using CLI will be shown below.
+In Frankfurt, the PMSH can be deployed using the DCAE Dashboard or via CLI. Steps to deploy using CLI will be shown
+below.
Deployment Prerequisites
^^^^^^^^^^^^^^^^^^^^^^^^
@@ -46,6 +46,11 @@ See :ref:`Subscription configuration<Subscription>`
-H 'Content-Type: application/json' \
-d @monitoring-policy.json
+The following JSON is an example monitoring policy.
+
+.. literalinclude:: resources/monitoring-policy.json
+ :language: json
+
To deploy the PMSH microservice using the deployment handler API, the ``serviceTypeId`` is needed, this can be retrieved
using the inventory API
diff --git a/docs/sections/services/pm-subscription-handler/resources/monitoring-policy.json b/docs/sections/services/pm-subscription-handler/resources/monitoring-policy.json
new file mode 100644
index 00000000..da2d263f
--- /dev/null
+++ b/docs/sections/services/pm-subscription-handler/resources/monitoring-policy.json
@@ -0,0 +1,58 @@
+{
+ "subscription":{
+ "subscriptionName":"subscriptiona",
+ "administrativeState":"UNLOCKED",
+ "fileBasedGP":15,
+ "fileLocation":"/pm/pm.xml",
+ "nfFilter":{
+ "nfNames":[
+ "^pnf1.*"
+ ],
+ "swVersions":[
+ "1.0.0"
+ ]
+ },
+ "measurementGroups":[
+ {
+ "measurementGroup":{
+ "measurementTypes":[
+ {
+ "measurementType":"countera"
+ },
+ {
+ "measurementType":"counterb"
+ }
+ ],
+ "managedObjectDNsBasic":[
+ {
+ "DN":"dna"
+ },
+ {
+ "DN":"dnb"
+ }
+ ]
+ }
+ },
+ {
+ "measurementGroup":{
+ "measurementTypes":[
+ {
+ "measurementType":"counterc"
+ },
+ {
+ "measurementType":"counterd"
+ }
+ ],
+ "managedObjectDNsBasic":[
+ {
+ "DN":"dnc"
+ },
+ {
+ "DN":"dnd"
+ }
+ ]
+ }
+ }
+ ]
+ }
+} \ No newline at end of file