summaryrefslogtreecommitdiffstats
path: root/dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy.json
diff options
context:
space:
mode:
authorqingshuting <qingshuting1@huawei.com>2022-07-30 10:20:05 +0800
committerqingshuting <qingshuting1@huawei.com>2022-08-02 11:46:00 +0800
commit50a707922b3b3c687329eee4d48305f01f86e598 (patch)
treed82580c2c3b9effe7dae9c2a43accf778c4f27b2 /dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy.json
parent3bf1d8265dbe2c7034de6a8e38b71bdafd3fd2f5 (diff)
[DCAEGEN2-Services] Add example policy types, policies and instrucitons for policy sync
Add example policy types, policies and readme for policy sync. Modify ./gitignore to exclude intellij config file. Issue-ID: DCAEGEN2-3195 Signed-off-by: qingshuting <qingshuting1@huawei.com> Change-Id: Id11dac92740db98dd7ba6003e6a035e2fc16d0d7
Diffstat (limited to 'dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy.json')
-rw-r--r--dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy.json b/dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy.json
new file mode 100644
index 0000000..4f7066f
--- /dev/null
+++ b/dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy.json
@@ -0,0 +1,27 @@
+{
+ "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
+ "topology_template": {
+ "policies": [
+ {
+ "onap.sonhms": {
+ "type": "onap.policies.monitoring.docker.sonhandler.app",
+ "type_version": "1.0.0",
+ "version": "1.0.0",
+ "metadata": {
+ "policy-id": "onap.sonhms",
+ "policy-version": "1"
+ },
+ "properties": {
+ "PCI_SDNR_TARGET_NAME": "SDNR",
+ "PCI_MODCONFIG_POLICY_NAME": "ControlLoop-vPCI-fb41f388-a5f2-11e8-98d0-529269fb1459",
+ "PCI_MODCONFIGANR_POLICY_NAME": "ControlLoop-vSONH-7d4baf04-8875-4d1f-946d-06b874048b61",
+ "PCI_OPTMIZATION_ALGO_CATEGORY_IN_OOF": "OOF-PCI-OPTIMIZATION",
+ "PCI_NEIGHBOR_CHANGE_CLUSTER_TIMEOUT_IN_SECS": 60
+ }
+ }
+ }
+ ]
+ },
+ "name": "ToscaServiceTemplateSimple",
+ "version": "1.0.0"
+}