From 2754404822b496392717d260681946debecf8648 Mon Sep 17 00:00:00 2001 From: dhebeha Date: Fri, 10 Apr 2020 06:38:11 -0700 Subject: add aggregation policy for NSI selection made changes for other policy updates Issue-ID: OPTFRA-730 Signed-off-by: dhebeha Change-Id: I3fb4ae184cdae9181037fb059ac144070228c29f --- ...cies.optimization.resource.ThresholdPolicy.yaml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.ThresholdPolicy.yaml (limited to 'osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.ThresholdPolicy.yaml') diff --git a/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.ThresholdPolicy.yaml b/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.ThresholdPolicy.yaml new file mode 100644 index 0000000..ab400dd --- /dev/null +++ b/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.ThresholdPolicy.yaml @@ -0,0 +1,37 @@ +tosca_definitions_version: tosca_simple_yaml_1_1_0 +policy_types: + onap.policies.optimization.resource.ThresholdPolicy: + derived_from: onap.policies.optimization.Resource + version: 1.0.0 + properties: + applicableResources: + type: list + required: true + entry_schema: + type: string + constraints: + - valid_values: + - any + - all + thresholdProperties: + type: list + required: true + entry_schema: + type: policy.data.thresholdProperties_properties +data_types: + policy.data.thresholdProperties_properties: + derived_from: tosca.nodes.Root + properties: + attribute: + type: string + required: true + operator: + type: string + required: true + threshold: + type: float + required: true + unit: + type: string + required: false + -- cgit 1.2.3-korg