diff options
author | Michael Mokry <mm117s@att.com> | 2018-09-10 15:23:15 -0500 |
---|---|---|
committer | Michael Mokry <mm117s@att.com> | 2018-09-11 10:31:26 -0500 |
commit | e957a1d9a9fa6bd0f9f8348d1e864c09cfe2cb92 (patch) | |
tree | a09024bc2c7e6a3b69affd95de9352c7d4d5c468 /docs/platform/guardpolicy.rst | |
parent | 1134bd40da28d3833a0dd4f821e75ec938f6061f (diff) |
New min/max Guard Policy
Made changes to support Guard policy create/update and other policy manager
functions including deletePolicy and pushPolicy.
Includes changes for new Guard policy support using GUI and API (Rest and Java Client)
Made changes to address Jim's comments
Made changes to address Liam's comments
Change-Id: I133fe1fd9287ea77ea41a2788de90c7642c36b6a
Issue-ID: POLICY-1038
Signed-off-by: Mike Mokry <mm117s@att.com>
Diffstat (limited to 'docs/platform/guardpolicy.rst')
-rw-r--r-- | docs/platform/guardpolicy.rst | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/docs/platform/guardpolicy.rst b/docs/platform/guardpolicy.rst index 6c72ce6d4..2b44c468b 100644 --- a/docs/platform/guardpolicy.rst +++ b/docs/platform/guardpolicy.rst @@ -66,6 +66,32 @@ The request should be in the following form for the regular guard policy: } } +The request should be in the following form for the Min/Max guard policy: + +.. code-block:: json + :caption: Min/Max Guard Policy Creation + :linenos: + + { + "policyClass": "Decision", + "policyName": "Test.TestingGUARDMinMaxtest", + "policyDescription": "Testing new Min/Max Guard Policy", + "onapName": "PDPD", + "ruleProvider": "GUARD_MIN_MAX", + "attributes": { + "MATCHING": { + "actor": "SO", + "recipe": "scaleOut", + "targets" : ".*", + "clname" : "test", + "min": "1", + "max": "5", + "guardActiveStart": "05:00:00-05:00", + "guardActiveEnd": "23:59:59-05:00" + } + } + } + The request should be in the following form for blacklist guard policy: .. code-block:: json @@ -117,7 +143,8 @@ The guard_request.json should be in the form of the following: "actor": "APPC", "recipe": "Restart", "target": "test13", - "clname" : "piptest" + "clname" : "piptest", + "vfCount" : "4" }, "onapName": "PDPD" } |