liamfallon | 8fdf84c | 2019-03-15 12:36:38 +0000 | [diff] [blame] | 1 | { |
| 2 | "tosca_definitions_version": "tosca_simple_yaml_1_0_0", |
| 3 | "topology_template": { |
| 4 | "policies": [ |
| 5 | { |
| 6 | "operational.modifyconfig": { |
Pamela Dragosh | a807429 | 2020-02-12 11:35:07 -0500 | [diff] [blame^] | 7 | "type": "onap.policies.controlloop.operational.common.Drools", |
| 8 | "type_version": "1.0.0", |
liamfallon | 8fdf84c | 2019-03-15 12:36:38 +0000 | [diff] [blame] | 9 | "metadata": { |
| 10 | "policy-id": "operational.modifyconfig" |
| 11 | }, |
| 12 | "properties": { |
Pamela Dragosh | a807429 | 2020-02-12 11:35:07 -0500 | [diff] [blame^] | 13 | "id": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", |
| 14 | "timeout": 1200, |
| 15 | "abatement": false, |
| 16 | "trigger": "unique-policy-id-1-modifyConfig", |
| 17 | "operations": [ |
liamfallon | 8fdf84c | 2019-03-15 12:36:38 +0000 | [diff] [blame] | 18 | { |
| 19 | "id": "unique-policy-id-1-modifyConfig", |
Pamela Dragosh | a807429 | 2020-02-12 11:35:07 -0500 | [diff] [blame^] | 20 | "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 | } |
liamfallon | 8fdf84c | 2019-03-15 12:36:38 +0000 | [diff] [blame] | 30 | }, |
liamfallon | 8fdf84c | 2019-03-15 12:36:38 +0000 | [diff] [blame] | 31 | "timeout": 300, |
Pamela Dragosh | a807429 | 2020-02-12 11:35:07 -0500 | [diff] [blame^] | 32 | "retries": 0, |
liamfallon | 8fdf84c | 2019-03-15 12:36:38 +0000 | [diff] [blame] | 33 | "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 Dragosh | a807429 | 2020-02-12 11:35:07 -0500 | [diff] [blame^] | 40 | ], |
| 41 | "controllerName": "usecases" |
liamfallon | 8fdf84c | 2019-03-15 12:36:38 +0000 | [diff] [blame] | 42 | } |
| 43 | } |
| 44 | } |
| 45 | ] |
| 46 | } |
| 47 | } |