9d91685e3936caca500b5803845c70744b2d7013
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.Optimization.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_1_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             metadata:
12                matchable: true
13             required: true
14             entry_schema:
15                type: string
16          geography:
17             description: One or more geographic regions
18             type: list
19             metadata:
20                matchable: true
21             required: true
22             entry_schema:
23                type: string
24                constraints:
25                -  valid_values:
26                   - US
27                   - International
28          identity:
29             description: Used internally for identification
30             type: string
31             required: true