2 tosca_definitions_version: tosca_simple_yaml_1_0_0
4 onap.policies.controlloop.operational.Common:
5 derived_from: onap.datatype.controlloop.operation.Failure
7 description: Operational Policy for Control Loop execution
11 description: The unique control loop id.
16 Overall timeout for executing all the operations. This timeout should equal or exceed the total
17 timeout for each operation listed.
20 - valid_values: [1, 2, 5]
28 description: Whether an abatement event message will be expected for the control loop from DCAE.
33 description: Initial operation to execute upon receiving an Onset event message for the Control Loop.
37 description: List of operations to be performed when Control Loop is triggered.
40 type: onap.datatype.controlloop.Operation
41 onap.policies.controlloop.operational.common.Drools:
42 derived_from: onap.policies.controlloop.operational.Common
45 description: Operational policies for Drools PDP
49 description: Drools controller properties
52 # TBD if this is needed
53 onap.datatype.controlloop.operation.Failure:
54 derived_from: onap.datatype.controlloop.Target
55 description: Captures information of an operational failure performed for control loop
59 description: error message
64 The category the error occurred in. Whether this is a general error from the actor, or the operation
65 timed out, retries were exhausted in trying to execute the operation, a guard policy prevented the
66 operation from occuring, or an exception in the system caused the failure.
68 - valid_values: [error, timeout, retries, guard, exception]
69 onap.datatype.controlloop.Target:
70 derived_from: tosca.datatypes.Root
71 description: Definition for a entity in A&AI to perform a control loop operation on
75 description: Category for the target type
78 - valid_values: [VNF, VM, VFMODULE, PNF]
82 Map of values that identify the resource. If none are provided, it is assumed that the
83 entity that generated the ONSET event will be the target.
87 onap.datatype.controlloop.Actor:
88 derived_from: tosca.datatypes.Root
89 description: An actor/operation/target definition
93 description: The actor performing the operation.
95 default: [1,"String",5.5,true]
98 description: The operation the actor is performing.
102 description: The resource the operation should be performed on.
105 clamp_possible_values: <string:see clamp project for syntax>
108 description: Name/value pairs of payload information passed by Policy to the actor
112 onap.datatype.controlloop.Operation:
113 derived_from: tosca.datatypes.Root
114 description: An operation supported by an actor
118 description: Unique identifier for the operation
122 description: A user-friendly description of the intent for the operation
129 type: onap.datatype.controlloop.Actor
130 description: The definition of the operation to be performed.
133 clamp_possible_values: <string:see clamp project for syntax>
136 description: The amount of time for the actor to perform the operation.
139 - valid_values: [3, 4, 5.5, 6, 10]
142 description: The number of retries the actor should attempt to perform the operation.
147 description: Points to the operation to invoke on success. A value of "final_success" indicates and end to the operation.
149 default: final_success
152 description: Points to the operation to invoke on Actor operation failure.
154 default: final_failure
157 description: Points to the operation to invoke when the time out for the operation occurs.
159 default: final_failure_timeout
162 description: Points to the operation to invoke when the current operation has exceeded its max retries.
164 default: final_failure_retries
167 description: Points to the operation to invoke when the current operation causes an exception.
169 default: final_failure_exception
172 description: Points to the operation to invoke when the current operation is blocked due to guard policy enforcement.
174 default: final_failure_guard