X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=tutorials%2F5GE2ENetworkSlicing%2Fcommon%2Fpolicies%2Fnst_policies%2Fattribute_policy_nst.json;fp=tutorials%2F5GE2ENetworkSlicing%2Fcommon%2Fpolicies%2Fnst_policies%2Fattribute_policy_nst.json;h=f9b1099beb3621b76081de259e7f2788be41b49a;hb=142b5372b98ac9fbe0e8c847d90a52952e09f948;hp=0000000000000000000000000000000000000000;hpb=554afbb5729fe19b6d978d4add1b4b7c6e34ef7a;p=demo.git diff --git a/tutorials/5GE2ENetworkSlicing/common/policies/nst_policies/attribute_policy_nst.json b/tutorials/5GE2ENetworkSlicing/common/policies/nst_policies/attribute_policy_nst.json new file mode 100644 index 00000000..f9b1099b --- /dev/null +++ b/tutorials/5GE2ENetworkSlicing/common/policies/nst_policies/attribute_policy_nst.json @@ -0,0 +1,41 @@ +{ + "tosca_definitions_version": "tosca_simple_yaml_1_1_0", + "topology_template": { + "policies": [ + { + "Threshold_nst": { + "metadata": { + "policy-id": "Threshold_nst", + "policy-version": 1 + }, + "properties": { + "geography": [], + "identity": "nst_Threshold", + "resources": [ + "nst" + ], + "scope": [ + "OSDF_GUILIN" + ], + "services": [ + "nst" + ], + "thresholdProperties": [ + { + "attribute": "latency", + "operator": "lte", + "threshold": { + "get_param": "latency" + }, + "unit": "ms" + } + ] + }, + "type": "onap.policies.optimization.resource.ThresholdPolicy", + "type_version": "1.0.0", + "version": "1.0.0" + } + } + ] + } +}