TOSCA Compliant Guard Policies
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.optimization.Resource.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_1_0
2 policy_types:
3    onap.policies.optimization.Resource:
4       derived_from: onap.policies.Optimization
5       version: 1.0.0
6       description: The base policy type for all policies that govern optimization for a Resource in a Service.
7       properties:
8          services:
9             description: One or more services that the policy applies to.
10             type: list
11             metadata:
12                matchable: true
13             required: true
14             entry_schema:
15                type: string
16          resources:
17             description: One or more VNF resources that the policy applies to.
18             type: list
19             metadata:
20                matchable: true
21             required: true
22             entry_schema:
23                type: string