blob: 1655ca48802d7efcc559a05ade1dc37816545bf5 (
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
|
- transformation-for: nodeTemplate
name: PnfExtCp transformation
description: converts any node template that has a type tosca.nodes.nfv.PnfExtCp
query:
type: tosca.nodes.nfv.PnfExtCp
conversions:
- query:
properties:
trunk_mode:
to-name: trunk_mode_copy
to-value:
strategy: copy
- query:
properties:
role:
to-name: role
to-value:
strategy: copy
to-get-input: stringTransformation
- transformation-for: getInputFunction
name: stringTransformation
description: converts a string input
conversions:
- query:
type:
invalid-another-attribute: #cannot have two attributes in the attribute query
to-name: type
to-value:
strategy: copy
- query:
description:
to-name: description
to-value:
strategy: copy
- query:
default:
to-name: default
to-value:
strategy: copy
|