blob: f6f15fe504c80abbfaa1f5515ab81450667ac9de [file] [log] [blame]
liamfallon8fdf84c2019-03-15 12:36:38 +00001{
2 "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
3 "topology_template": {
4 "policies": [
5 {
6 "operational.modifyconfig": {
Pamela Dragosha8074292020-02-12 11:35:07 -05007 "type": "onap.policies.controlloop.operational.common.Drools",
8 "type_version": "1.0.0",
liamfallon8fdf84c2019-03-15 12:36:38 +00009 "metadata": {
10 "policy-id": "operational.modifyconfig"
11 },
12 "properties": {
Pamela Dragosha8074292020-02-12 11:35:07 -050013 "id": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a",
14 "timeout": 1200,
15 "abatement": false,
16 "trigger": "unique-policy-id-1-modifyConfig",
17 "operations": [
liamfallon8fdf84c2019-03-15 12:36:38 +000018 {
19 "id": "unique-policy-id-1-modifyConfig",
Pamela Dragosha8074292020-02-12 11:35:07 -050020 "description": "Modify the packet generator",
21 "operation": {
22 "actor": "APPC",
23 "operation": "ModifyConfig",
24 "target": {
25 "targetType": "VNF",
26 "entityId": {
27 "resourceID": "bbb3cefd-01c8-413c-9bdd-2b92f9ca3d38"
28 }
29 }
liamfallon8fdf84c2019-03-15 12:36:38 +000030 },
liamfallon8fdf84c2019-03-15 12:36:38 +000031 "timeout": 300,
Pamela Dragosha8074292020-02-12 11:35:07 -050032 "retries": 0,
liamfallon8fdf84c2019-03-15 12:36:38 +000033 "success": "final_success",
34 "failure": "final_failure",
35 "failure_timeout": "final_failure_timeout",
36 "failure_retries": "final_failure_retries",
37 "failure_exception": "final_failure_exception",
38 "failure_guard": "final_failure_guard"
39 }
Pamela Dragosha8074292020-02-12 11:35:07 -050040 ],
41 "controllerName": "usecases"
liamfallon8fdf84c2019-03-15 12:36:38 +000042 }
43 }
44 }
45 ]
46 }
47}