diff options
Diffstat (limited to 'dcae-services-policy-sync/resources')
6 files changed, 133 insertions, 0 deletions
diff --git a/dcae-services-policy-sync/resources/slicems-policy-examples/deploy.json b/dcae-services-policy-sync/resources/slicems-policy-examples/deploy.json new file mode 100644 index 0000000..1e22ce4 --- /dev/null +++ b/dcae-services-policy-sync/resources/slicems-policy-examples/deploy.json @@ -0,0 +1,8 @@ +{ + "policies": [ + { + "policy-id": "onap.dcae.slicems.config", + "policy-version": 1 + } + ] +} diff --git a/dcae-services-policy-sync/resources/slicems-policy-examples/slicems_config_policy.json b/dcae-services-policy-sync/resources/slicems-policy-examples/slicems_config_policy.json new file mode 100644 index 0000000..ec9b273 --- /dev/null +++ b/dcae-services-policy-sync/resources/slicems-policy-examples/slicems_config_policy.json @@ -0,0 +1,23 @@ +{
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "topology_template": {
+ "policies": [
+ {
+ "onap.dcae.slicems.config": {
+ "type": "onap.policies.monitoring.docker.slicems.app",
+ "type_version": "1.0.0",
+ "version": "1.0.0",
+ "metadata": {
+ "policy-id": "onap.dcae.slicems.config",
+ "policy-version": 1
+ },
+ "properties": {
+ "ves_ccvpn_notification_topic": "on",
+ "ccvpnThreshold": "0.8",
+ "isPeriodicOn": "true"
+ }
+ }
+ }
+ ]
+ }
+}
diff --git a/dcae-services-policy-sync/resources/slicems-policy-examples/slicems_config_policy_type.json b/dcae-services-policy-sync/resources/slicems-policy-examples/slicems_config_policy_type.json new file mode 100644 index 0000000..7fb9e43 --- /dev/null +++ b/dcae-services-policy-sync/resources/slicems-policy-examples/slicems_config_policy_type.json @@ -0,0 +1,34 @@ +{
+ "tosca_definitions_version": "tosca_simple_yaml_1_1_0",
+ "policy_types": {
+ "onap.policies.monitoring.docker.slicems.app": {
+ "version": "1.0.0",
+ "description": "son handler policy type",
+ "derived_from": "onap.policies.Monitoring:1.0.0",
+ "description": "Runtime Configuration of Slice MS",
+ "properties": {
+ "ves_ccvpn_notification_topic": {
+ "type": "string",
+ "required": false,
+ "description": "set ccvpn dmaap topic listening or not"
+ },
+ "ccvpnThreshold": {
+ "type": "string",
+ "required": false,
+ "description": "ccvpn threshold"
+ },
+ "isPeriodicOn": {
+ "type": "string",
+ "required": false,
+ "description": "close loop bw adjust on"
+ },
+ "cllId": {
+ "type": "string",
+ "required": false,
+ "description": "cloud leased line service id"
+ }
+ }
+ }
+ }
+}
+
diff --git a/dcae-services-policy-sync/resources/son-handler-policy-examples/deploy.json b/dcae-services-policy-sync/resources/son-handler-policy-examples/deploy.json new file mode 100644 index 0000000..3e12908 --- /dev/null +++ b/dcae-services-policy-sync/resources/son-handler-policy-examples/deploy.json @@ -0,0 +1,8 @@ +{ + "policies": [ + { + "policy-id": "com.Config_PCIMS_CONFIG_POLICY", + "policy-version": 1 + } + ] +} 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" +} diff --git a/dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy_type.json b/dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy_type.json new file mode 100644 index 0000000..a36e0da --- /dev/null +++ b/dcae-services-policy-sync/resources/son-handler-policy-examples/son_policy_type.json @@ -0,0 +1,33 @@ +{
+ "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
+ "policy_types":
+ {
+ "onap.policies.monitoring.docker.sonhandler.app": {
+ "version": "1.0.0",
+ "description": "son handler policy type",
+ "derived_from": "onap.policies.Monitoring:1.0.0",
+ "properties": {
+ "PCI_NEIGHBOR_CHANGE_CLUSTER_TIMEOUT_IN_SECS": {
+ "required": true,
+ "type": "string"
+ },
+ "PCI_MODCONFIG_POLICY_NAME": {
+ "required": true,
+ "type": "string"
+ },
+ "PCI_MODCONFIGANR_POLICY_NAME": {
+ "required": true,
+ "type": "string"
+ },
+ "PCI_OPTMIZATION_ALGO_CATEGORY_IN_OOF": {
+ "required": true,
+ "type": "string"
+ },
+ "PCI_SDNR_TARGET_NAME": {
+ "required": true,
+ "type": "string"
+ }
+ }
+ }
+ }
+}
|