Repair policy types in TOSCA service template
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.Optimization.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 policy_types:
3    onap.policies.Optimization:
4       derived_from: tosca.policies.Root
5       version: 1.0.0
6       description: The base policy type for all policies that govern optimization
7       properties:
8          scope:
9             description: Scope for the policy - could be for a specific release.
10             type: list
11             matchable: true
12             required: true
13          services:
14             description: One or more services that the policy applies to.
15             type: list
16             matchable: true
17             required: true
18             entry_schema:
19                type: string
20          resources:
21             description: One or more VNF resources that the policy applies to.
22             type: list
23             matchable: true
24             required: true
25             entry_schema:
26                type: string
27          geography:
28             description: One or more geographic regions
29             type: list
30             matchable: true
31             required: true
32             entry_schema:
33                type: string
34                constraints:
35                -  valid_values:
36                   - US
37                   - International
38          identity:
39             description: Used internally for identification
40             type: string
41             required: true