aboutsummaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/v5gSonA1.policy.operational.input.tosca.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2022-08-30 16:14:03 -0500
committerjhh <jorge.hernandez-herrero@att.com>2022-08-30 16:14:56 -0500
commite4cfe3fc84f138fbb2c08ed1695586989734a0b4 (patch)
tree0d20d332e3ab868fa2217ce82f5e83375f89ded1 /models-examples/src/main/resources/policies/v5gSonA1.policy.operational.input.tosca.json
parent6a75c3cd6b96a8ceef4ba02cf13832f88a15e352 (diff)
Sample 5G SON A1 and O1 policies
Issue-ID: POLICY-4108 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Id8df70ab7405ee6225443f6d98de834582f8de5d
Diffstat (limited to 'models-examples/src/main/resources/policies/v5gSonA1.policy.operational.input.tosca.json')
-rw-r--r--models-examples/src/main/resources/policies/v5gSonA1.policy.operational.input.tosca.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policies/v5gSonA1.policy.operational.input.tosca.json b/models-examples/src/main/resources/policies/v5gSonA1.policy.operational.input.tosca.json
new file mode 100644
index 000000000..c38e209ef
--- /dev/null
+++ b/models-examples/src/main/resources/policies/v5gSonA1.policy.operational.input.tosca.json
@@ -0,0 +1,36 @@
+{
+ "type": "onap.policies.controlloop.operational.common.Drools",
+ "type_version": "1.0.0",
+ "name": "op.5g.son.a1",
+ "version": "1.0.0",
+ "metadata": {
+ "policy-id": "op.5g.son.a1"
+ },
+ "properties": {
+ "id": "ControlLoop-SONA1-7d4baf04-8875-4d1f-946d-06b874048b61",
+ "timeout": 1200,
+ "abatement": false,
+ "trigger": "modify-a1-config",
+ "operations": [
+ {
+ "id": "modify-a1-config",
+ "description": "Control Loop Modify A1 Policy",
+ "operation": {
+ "actor": "SDNR",
+ "operation": "ModifyA1Config",
+ "target": {
+ "targetType": "PNF"
+ }
+ },
+ "timeout": 60,
+ "retries": 0,
+ "success": "final_success",
+ "failure": "final_failure",
+ "failure_timeout": "final_failure_timeout",
+ "failure_retries": "final_failure_retries",
+ "failure_exception": "final_failure_exception",
+ "failure_guard": "final_failure_guard"
+ }
+ ]
+ }
+}