aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/operational-policy-payload-legacy.yaml
blob: 41184c9c94a36537bc53aa4866283acaf45bfe1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
controlLoop:
  abatement: true
  controlLoopName: control loop
  timeout: 30
  trigger_policy: new1
  version: 2.0.0
policies:
- actor: SO
  failure: new2
  failure_exception: new2
  failure_guard: new2
  failure_retries: new2
  failure_timeout: new2
  id: new1
  payload:
    configurationParameters: '[{"ip-addr":"$.vf-module-topology.vf-module-parameters.param[10].value","oam-ip-addr":"$.vf-module-topology.vf-module-parameters.param[15].value","enabled":"$.vf-module-topology.vf-module-parameters.param[22].value"}]'
    requestParameters: '{"usePreload":true,"userParams":[]}'
  recipe: Rebuild
  retry: 10
  success: new2
  target:
    resourceTargetId: test
    type: VFC
  timeout: 20
- actor: SDNC
  failure: final_failure
  failure_exception: final_failure_exception
  failure_guard: final_failure_guard
  failure_retries: final_failure_retries
  failure_timeout: final_failure_timeout
  id: new2
  payload: ''
  recipe: Migrate
  retry: 30
  success: final_success
  target:
    resourceTargetId: test
    type: VFC
  timeout: 40