aboutsummaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policytypes/onap.policies.optimization.Service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'models-examples/src/main/resources/policytypes/onap.policies.optimization.Service.yaml')
-rw-r--r--models-examples/src/main/resources/policytypes/onap.policies.optimization.Service.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policytypes/onap.policies.optimization.Service.yaml b/models-examples/src/main/resources/policytypes/onap.policies.optimization.Service.yaml
new file mode 100644
index 000000000..8e7b724da
--- /dev/null
+++ b/models-examples/src/main/resources/policytypes/onap.policies.optimization.Service.yaml
@@ -0,0 +1,15 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+policy_types:
+ onap.policies.optimization.Service:
+ derived_from: onap.policies.Optimization
+ version: 1.0.0
+ description: The base policy type for all policies that govern optimization for a Service.
+ properties:
+ services:
+ description: One or more services that the policy applies to.
+ type: list
+ metadata:
+ matchable: true
+ required: true
+ entry_schema:
+ type: string \ No newline at end of file