summaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/operational-policy-payload-legacy.yaml
blob: 72bbf9badf9ca7cd8eecc728dcd5cecf8d9b4f41 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
controlLoop:
  abatement: true
  controlLoopName: LOOP_ASJOy_v1_0_ResourceInstanceName1_tca
  timeout: 0
  trigger_policy: policy1
policies:
- actor: APPC
  failure: policy2
  failure_exception: final_failure_exception
  failure_guard: final_failure_guard
  failure_retries: final_failure_retries
  failure_timeout: final_failure_timeout
  id: policy1
  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: Restart
  retry: 0
  success: final_success
  target:
    resourceID: vLoadBalancerMS
    type: VNF
  timeout: 0
- actor: SO
  failure: final_failure
  failure_exception: final_failure_exception
  failure_guard: final_failure_guard
  failure_retries: final_failure_retries
  failure_timeout: final_failure_timeout
  id: policy2
  recipe: VF Module Create
  retry: 0
  success: final_success
  target:
    modelCustomizationId: 1bffdc31-a37d-4dee-b65c-dde623a76e52
    modelInvariantId: ca052563-eb92-4b5b-ad41-9111768ce043
    modelName: Vloadbalancerms..vpkg..module-1
    modelVersion: 1
    modelVersionId: 1e725ccc-b823-4f67-82b9-4f4367070dbc
    resourceID: Vloadbalancerms..vpkg..module-1
    type: VFMODULE
  timeout: 0
- actor: CDS
  failure: final_failure
  failure_exception: final_failure_exception
  failure_guard: final_failure_guard
  failure_retries: final_failure_retries
  failure_timeout: final_failure_timeout
  id: policy3
  payload:
    artifact_name: baseconfiguration
    artifact_version: 1.0.0
    data:
      resource-assignment-properties:
        action-name: action-name
        hostname: hostname
        request-id: request-id
        scope-type: scope-type
        service-instance-id: service-instance-id
        vnf-id: vnf-id
        vnf_name: vnf_name
    mode: async
  recipe: resource-assignment
  retry: 0
  success: final_success
  target:
    modelCustomizationId: 1bffdc31-a37d-4dee-b65c-dde623a76e52
    modelInvariantId: ca052563-eb92-4b5b-ad41-9111768ce043
    modelName: Vloadbalancerms..vpkg..module-1
    modelVersion: 1
    modelVersionId: 1e725ccc-b823-4f67-82b9-4f4367070dbc
    resourceID: Vloadbalancerms..vpkg..module-1
    type: VFMODULE
  timeout: 0