summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2020-04-16 18:42:05 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-16 18:42:05 +0000
commit955b479749ef6127a63498dcc147aa4c387137aa (patch)
treee0f73eab2f20c65c64c8df9f6f91a21796687bc6 /models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
parent96924e42a3e7ec817b29b2de268b1d60205ea729 (diff)
parentd3f7c6e9cf6bad3fc295fd35283e1d79e6166f3d (diff)
Merge "Add version to example yaml files"
Diffstat (limited to 'models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml')
-rw-r--r--models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml7
1 files changed, 4 insertions, 3 deletions
diff --git a/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml b/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
index 3381c4b10..1d8927d25 100644
--- a/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
+++ b/models-examples/src/main/resources/policies/vCPE.policy.operational.output.tosca.yaml
@@ -2,10 +2,11 @@ tosca_definitions_version: tosca_simple_yaml_1_1_0
topology_template:
policies:
-
- operational.restart:
+ operational.restart:
type: onap.policies.controlloop.Operational
+ type_version: 1.0.0
version: 1.0.0
- metadata:
+ metadata:
policy-id: operational.restart
policy-version: 1
properties:
@@ -15,7 +16,7 @@ topology_template:
trigger_policy: unique-policy-id-1-restart
timeout: 3600
abatement: true
-
+
policies:
- id: unique-policy-id-1-restart
name: Restart the VM