1b37f4719af6e84a1075dff49ded6625e8035467
[aai/aai-common.git] / aai-schema / src / main / resources / onap / dbedgerules / v14 / DbEdgeRules_ccvpn_v14.json
1 {
2   "rules": [
3         {
4                 "from": "vpn-binding",
5                 "to": "p-interface",
6                 "label": "org.onap.relationships.inventory.BindsTo",
7                 "direction": "OUT",
8                 "multiplicity": "ONE2MANY",
9                 "contains-other-v": "NONE",
10                 "delete-other-v": "NONE",
11                 "prevent-delete": "NONE",
12                 "default": "true",
13                 "description":"For CCVPN Usecase"
14         },
15         {
16                 "from": "sp-partner",
17                 "to": "service-instance",
18                 "label": "org.onap.relationships.inventory.PartOf",
19                 "direction": "OUT",
20                 "multiplicity": "ONE2MANY",
21                 "contains-other-v": "NONE",
22                 "delete-other-v": "NONE",
23                 "prevent-delete": "NONE",
24                 "default": "true",
25                 "description":"For CCVPN Usecase"
26         },
27         {
28                 "from": "connectivity",
29                 "to": "service-instance",
30                 "label": "org.onap.relationships.inventory.PartOf",
31                 "direction": "OUT",
32                 "multiplicity": "ONE2MANY",
33                 "contains-other-v": "NONE",
34                 "delete-other-v": "NONE",
35                 "prevent-delete": "NONE",
36                 "default": "true",
37                 "description":"For CCVPN Usecase"
38         },
39         {
40                 "from": "connectivity",
41                 "to": "vpn-binding",
42                 "label": "org.onap.relationships.inventory.PartOf",
43                 "direction": "OUT",
44                 "multiplicity": "ONE2MANY",
45                 "contains-other-v": "NONE",
46                 "delete-other-v": "NONE",
47                 "prevent-delete": "NONE",
48                 "default": "true",
49                 "description":"For CCVPN Usecase"
50         },
51         {
52                 "from": "lan-port-config",
53                 "to": "service-instance",
54                 "label": "org.onap.relationships.inventory.PartOf",
55                 "direction": "OUT",
56                 "multiplicity": "ONE2MANY",
57                 "contains-other-v": "NONE",
58                 "delete-other-v": "NONE",
59                 "prevent-delete": "NONE",
60                 "default": "true",
61                 "description":"For CCVPN Usecase"
62         },
63         {
64                 "from": "lan-port-config",
65                 "to": "dhcp-service",
66                 "label": "org.onap.relationships.inventory.Uses",
67                 "direction": "OUT",
68                 "multiplicity": "ONE2MANY",
69                 "contains-other-v": "${direction}",
70                 "delete-other-v": "${direction}",
71                 "prevent-delete": "!${direction}",
72                 "default": "true",
73                 "description":"For CCVPN Usecase"
74         },
75         {
76                 "from": "network-resource",
77                 "to": "vpn-binding",
78                 "label": "org.onap.relationships.inventory.Uses",
79                 "direction": "OUT",
80                 "multiplicity": "ONE2MANY",
81                 "contains-other-v": "NONE",
82                 "delete-other-v": "NONE",
83                 "prevent-delete": "NONE",
84                 "default": "true",
85                 "description":"For CCVPN Usecase"
86         },
87         {
88                 "from": "pnf",
89                 "to": "network-resource",
90                 "label": "tosca.relationships.network.LinksTo",
91                 "direction": "OUT",
92                 "multiplicity": "MANY2MANY",
93                 "contains-other-v": "NONE",
94                 "delete-other-v": "!${direction}",
95                 "prevent-delete": "${direction}",
96                 "default": "true",
97                 "description":"For CCVPN Usecase"
98         },
99         {
100                 "from": "site-resource",
101                 "to": "service-instance",
102                 "label": "org.onap.relationships.inventory.PartOf",
103                 "direction": "OUT",
104                 "multiplicity": "MANY2MANY",
105                 "contains-other-v": "NONE",
106                 "delete-other-v": "NONE",
107                 "prevent-delete": "NONE",
108                 "default": "true",
109                 "description":"For CCVPN Usecase"
110         },
111         {
112                 "from": "site-resource",
113                 "to": "allotted-resource",
114                 "label": "org.onap.relationships.inventory.Uses",
115                 "direction": "OUT",
116                 "multiplicity": "MANY2MANY",
117                 "contains-other-v": "NONE",
118                 "delete-other-v": "NONE",
119                 "prevent-delete": "NONE",
120                 "default": "true",
121                 "description":"For CCVPN Usecase"
122         },
123         {
124                 "from": "site-resource",
125                 "to": "complex",
126                 "label": "org.onap.relationships.inventory.Uses",
127                 "direction": "OUT",
128                 "multiplicity": "MANY2MANY",
129                 "contains-other-v": "NONE",
130                 "delete-other-v": "NONE",
131                 "prevent-delete": "NONE",
132                 "default": "true",
133                 "description":"For CCVPN Usecase"
134         },
135         {
136                 "from": "sdwan-vpn",
137                 "to": "service-instance",
138                 "label": "org.onap.relationships.inventory.PartOf",
139                 "direction": "OUT",
140                 "multiplicity": "ONE2MANY",
141                 "contains-other-v": "NONE",
142                 "delete-other-v": "NONE",
143                 "prevent-delete": "NONE",
144                 "default": "true",
145                 "description":"For CCVPN Usecase"
146         },
147         {
148                 "from": "device",
149                 "to": "service-instance",
150                 "label": "org.onap.relationships.inventory.PartOf",
151                 "direction": "OUT",
152                 "multiplicity": "ONE2MANY",
153                 "contains-other-v": "NONE",
154                 "delete-other-v": "NONE",
155                 "prevent-delete": "NONE",
156                 "default": "true",
157                 "description":"For CCVPN Usecase"
158         },
159         {
160                 "from": "device",
161                 "to": "generic-vnf",
162                 "label": "org.onap.relationships.inventory.Uses",
163                 "direction": "OUT",
164                 "multiplicity": "ONE2MANY",
165                 "contains-other-v": "NONE",
166                 "delete-other-v": "NONE",
167                 "prevent-delete": "NONE",
168                 "default": "true",
169                 "description":"For CCVPN Usecase"
170         },
171         {
172                 "from": "wan-port-config",
173                 "to": "service-instance",
174                 "label": "org.onap.relationships.inventory.PartOf",
175                 "direction": "OUT",
176                 "multiplicity": "ONE2MANY",
177                 "contains-other-v": "NONE",
178                 "delete-other-v": "NONE",
179                 "prevent-delete": "NONE",
180                 "default": "true",
181                 "description":"For CCVPN Usecase"
182         }
183   ]
184 }