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": { |
| 7 | "type": "onap.policies.controlloop.Operational", |
| 8 | "version": "1.0.0", |
| 9 | "metadata": { |
| 10 | "policy-id": "operational.modifyconfig" |
| 11 | }, |
| 12 | "properties": { |
| 13 | "controlLoop": { |
| 14 | "version": "2.0.0", |
| 15 | "controlLoopName": "ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a", |
| 16 | "trigger_policy": "unique-policy-id-1-modifyConfig", |
| 17 | "timeout": 1200, |
| 18 | "abatement": false |
| 19 | }, |
| 20 | "policies": [ |
| 21 | { |
| 22 | "id": "unique-policy-id-1-modifyConfig", |
| 23 | "name": "modify packet gen config", |
| 24 | "description": null, |
| 25 | "actor": "APPC", |
| 26 | "recipe": "ModifyConfig", |
| 27 | "target": { |
| 28 | "resourceID": "Eace933104d443b496b8.nodes.heat.vpg", |
| 29 | "type": "VNF" |
| 30 | }, |
| 31 | "retry": 0, |
| 32 | "timeout": 300, |
| 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 | } |
| 40 | ] |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | ] |
| 45 | } |
| 46 | } |