summaryrefslogtreecommitdiffstats
path: root/src/test/resources/updateEdgeTestRules.json
blob: 4da2b591bef48dc6672367d8d3058ee0e72f5ceb (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
{
    "rules": [
    {
    "from": "generic-vnf",
    "to": "l-interface",
    "label": "hasLInterface",
    "direction": "OUT",
    "multiplicity": "MANY2MANY",
    "contains-other-v": "!${direction}",
    "delete-other-v": "!${direction}",
    "SVC-INFRA": "${direction}",
    "prevent-delete": "NONE",
    "description": "An edge comment",
    "default": "true",
    "newProperty": "newValue"
    },
    {
    "from": "pserver",
    "to": "vnfc",
    "label": "tosca.relationships.HostedOn",
    "direction": "OUT",
    "multiplicity": "MANY2MANY",
    "contains-other-v": "!${direction}",
    "delete-other-v": "!${direction}",
    "SVC-INFRA": "${direction}",
    "prevent-delete": "NONE",
    "description": "A pserver/vnfc edge description",
    "default": "true",
    "newProperty": "newValue"
    },
    {
    "from": "l-interface",
    "to": "logical-link",
    "label": "usesLogicalLink",
    "direction": "OUT",
    "multiplicity": "MANY2MANY",
    "contains-other-v": "!${direction}",
    "delete-other-v": "!${direction}",
    "SVC-INFRA": "${direction}",
    "prevent-delete": "NONE",
    "description": "A l-interface/logical-link(1) edge description",
    "default": "true",
    "newProperty": "newValue"
    },
    {
    "from": "l-interface",
    "to": "logical-link",
    "label": "sourceLInterface",
    "direction": "OUT",
    "multiplicity": "MANY2MANY",
    "contains-other-v": "!${direction}",
    "delete-other-v": "!${direction}",
    "SVC-INFRA": "${direction}",
    "prevent-delete": "NONE",
    "description": "A l-interface/logical-link(2) edge description",
    "default": "true",
    "newProperty": "newValue"
    }
    ]
}