aboutsummaryrefslogtreecommitdiffstats
path: root/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.AggregationPolicy.yaml
diff options
context:
space:
mode:
authordhebeha <dhebeha.mj71@wipro.com>2020-04-10 06:38:11 -0700
committerdhebeha <dhebeha.mj71@wipro.com>2020-04-17 00:07:46 -0700
commit2754404822b496392717d260681946debecf8648 (patch)
tree92b5930025f4655e67e26b37b728526fac6e9edc /osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.AggregationPolicy.yaml
parent16dec1253f5380df53ccfef97d618fbe03e7be64 (diff)
add aggregation policy for NSI selection
made changes for other policy updates Issue-ID: OPTFRA-730 Signed-off-by: dhebeha <dhebeha.mj71@wipro.com> Change-Id: I3fb4ae184cdae9181037fb059ac144070228c29f
Diffstat (limited to 'osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.AggregationPolicy.yaml')
-rw-r--r--osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.AggregationPolicy.yaml42
1 files changed, 42 insertions, 0 deletions
diff --git a/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.AggregationPolicy.yaml b/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.AggregationPolicy.yaml
new file mode 100644
index 0000000..1e3c813
--- /dev/null
+++ b/osdf/models/policy/placement/tosca_upload/onap.policies.optimization.resource.AggregationPolicy.yaml
@@ -0,0 +1,42 @@
+tosca_definitions_version: tosca_simple_yaml_1_1_0
+policy_types:
+ onap.policies.optimization.resource.AggregationPolicy:
+ 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
+ aggregationProperties:
+ type: list
+ required: true
+ entry_schema:
+ type: policy.data.aggregationProperties_properties
+data_types:
+ policy.data.aggregationProperties_properties:
+ derived_from: tosca.nodes.Root
+ properties:
+ attribute:
+ type: string
+ required: true
+ operator:
+ type: string
+ required: true
+ threshold:
+ type: policy.data.thresh_properties
+ required: true
+ unit:
+ type: string
+ required: false
+ function:
+ type: string
+ required: true
+ policy.data.thresh_properties:
+ derived_from: tosca.nodes.Root
+