5856f2096223b52a5068a002b868c8abc314c215
[aai/schema-service.git] / aai-schema / src / main / resources / onap / dbedgerules / v19 / DbEdgeRules_ccvpn_v19.json
1 {
2   "rules": [
3         {
4                 "from": "allotted-resource",
5                 "to": "p-interface",
6                 "label": "org.onap.relationships.inventory.Uses",
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":"AAI-1925 For CCVPN Usecase"
14         },
15         {
16                 "from": "vpn-binding",
17                 "to": "p-interface",
18                 "label": "org.onap.relationships.inventory.BindsTo",
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": "sp-partner",
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": "service-instance",
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": "connectivity",
53                 "to": "vpn-binding",
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": "service-instance",
66                 "label": "org.onap.relationships.inventory.PartOf",
67                 "direction": "OUT",
68                 "multiplicity": "ONE2MANY",
69                 "contains-other-v": "NONE",
70                 "delete-other-v": "NONE",
71                 "prevent-delete": "NONE",
72                 "default": "true",
73                 "description":"For CCVPN Usecase"
74         },
75         {
76                 "from": "lan-port-config",
77                 "to": "dhcp-service",
78                 "label": "org.onap.relationships.inventory.Uses",
79                 "direction": "OUT",
80                 "multiplicity": "ONE2MANY",
81                 "contains-other-v": "${direction}",
82                 "delete-other-v": "${direction}",
83                 "prevent-delete": "NONE",
84                 "default": "true",
85                 "description":"For CCVPN Usecase"
86         },
87         {
88                 "from": "network-resource",
89                 "to": "vpn-binding",
90                 "label": "org.onap.relationships.inventory.Uses",
91                 "direction": "OUT",
92                 "multiplicity": "ONE2MANY",
93                 "contains-other-v": "NONE",
94                 "delete-other-v": "NONE",
95                 "prevent-delete": "NONE",
96                 "default": "true",
97                 "description":"For CCVPN Usecase"
98         },
99         {
100                 "from": "pnf",
101                 "to": "network-resource",
102                 "label": "tosca.relationships.network.LinksTo",
103                 "direction": "OUT",
104                 "multiplicity": "MANY2MANY",
105                 "contains-other-v": "NONE",
106                 "delete-other-v": "!${direction}",
107                 "prevent-delete": "NONE",
108                 "default": "true",
109                 "description":"For CCVPN Usecase"
110         },
111         {
112                 "from": "site-resource",
113                 "to": "service-instance",
114                 "label": "org.onap.relationships.inventory.PartOf",
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": "allotted-resource",
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": "site-resource",
137                 "to": "complex",
138                 "label": "org.onap.relationships.inventory.Uses",
139                 "direction": "OUT",
140                 "multiplicity": "MANY2MANY",
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": "sdwan-vpn",
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": "sdwan-vpn",
161                 "to": "tenant",
162                 "label": "org.onap.relationships.inventory.PartOf",
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": "sdwan-vpn",
173                 "to": "vpn-binding",
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                 "from": "device",
185                 "to": "service-instance",
186                 "label": "org.onap.relationships.inventory.PartOf",
187                 "direction": "OUT",
188                 "multiplicity": "ONE2MANY",
189                 "contains-other-v": "NONE",
190                 "delete-other-v": "NONE",
191                 "prevent-delete": "NONE",
192                 "default": "true",
193                 "description":"For CCVPN Usecase"
194         },
195         {
196                 "from": "device",
197                 "to": "generic-vnf",
198                 "label": "org.onap.relationships.inventory.Uses",
199                 "direction": "OUT",
200                 "multiplicity": "ONE2MANY",
201                 "contains-other-v": "NONE",
202                 "delete-other-v": "NONE",
203                 "prevent-delete": "NONE",
204                 "default": "true",
205                 "description":"For CCVPN Usecase"
206         },
207         {
208                 "from": "sdwan-vpn",
209                 "to": "generic-vnf",
210                 "label": "org.onap.relationships.inventory.PartOf",
211                 "direction": "OUT",
212                 "multiplicity": "MANY2MANY",
213                 "contains-other-v": "NONE",
214                 "delete-other-v": "NONE",
215                 "prevent-delete": "NONE",
216                 "default": "true",
217                 "description":"For CCVPN Usecase"
218         },
219         {
220                 "from": "site-resource",
221                 "to": "generic-vnf",
222                 "label": "org.onap.relationships.inventory.PartOf",
223                 "direction": "OUT",
224                 "multiplicity": "MANY2MANY",
225                 "contains-other-v": "NONE",
226                 "delete-other-v": "NONE",
227                 "prevent-delete": "NONE",
228                 "default": "true",
229                 "description":"For CCVPN Usecase"
230         },
231         {
232                 "from": "wan-port-config",
233                 "to": "generic-vnf",
234                 "label": "org.onap.relationships.inventory.PartOf",
235                 "direction": "OUT",
236                 "multiplicity": "MANY2MANY",
237                 "contains-other-v": "NONE",
238                 "delete-other-v": "NONE",
239                 "prevent-delete": "NONE",
240                 "default": "true",
241                 "description":"For CCVPN Usecase"
242         },
243         {
244                 "from": "lan-port-config",
245                 "to": "generic-vnf",
246                 "label": "org.onap.relationships.inventory.PartOf",
247                 "direction": "OUT",
248                 "multiplicity": "MANY2MANY",
249                 "contains-other-v": "NONE",
250                 "delete-other-v": "NONE",
251                 "prevent-delete": "NONE",
252                 "default": "true",
253                 "description":"For CCVPN Usecase"
254         },
255         {
256                 "from": "wan-port-config",
257                 "to": "service-instance",
258                 "label": "org.onap.relationships.inventory.PartOf",
259                 "direction": "OUT",
260                 "multiplicity": "MANY2MANY",
261                 "contains-other-v": "NONE",
262                 "delete-other-v": "NONE",
263                 "prevent-delete": "NONE",
264                 "default": "true",
265                 "description":"For CCVPN Usecase"
266         },
267         {
268                 "from": "ext-aai-network",
269                 "to": "esr-system-info",
270                 "label": "org.onap.relationships.inventory.Uses",
271                 "direction": "OUT",
272                 "multiplicity": "ONE2MANY",
273                 "contains-other-v": "${direction}",
274                 "delete-other-v": "${direction}",
275                 "prevent-delete": "NONE",
276                 "default": "true",
277                 "description":"For CCVPN Usecase"
278         },
279         {
280                 "from": "logical-link",
281                 "to": "ext-aai-network",
282                 "label": "org.onap.relationships.inventory.BelongsTo",
283                 "direction": "OUT",
284                 "multiplicity": "MANY2MANY",
285                 "contains-other-v": "NONE",
286                 "delete-other-v": "NONE",
287                 "prevent-delete": "!${direction}",
288                 "default": "true",
289                 "description":"For CCVPN Usecase"
290         },
291         {
292                 "from": "vpn-binding",
293                 "to": "ext-aai-network",
294                 "label": "org.onap.relationships.inventory.BelongsTo",
295                 "direction": "OUT",
296                 "multiplicity": "MANY2MANY",
297                 "contains-other-v": "NONE",
298                 "delete-other-v": "NONE",
299                 "prevent-delete": "!${direction}",
300                 "default": "true",
301                 "description":"For CCVPN Usecase"
302         },
303         {
304                 "from": "pnf",
305                 "to": "ext-aai-network",
306                 "label": "org.onap.relationships.inventory.BelongsTo",
307                 "direction": "OUT",
308                 "multiplicity": "MANY2MANY",
309                 "contains-other-v": "NONE",
310                 "delete-other-v": "NONE",
311                 "prevent-delete": "!${direction}",
312                 "default": "true",
313                 "description":"For CCVPN Usecase"
314         },
315         {
316                 "from": "connectivity",
317                 "to": "ext-aai-network",
318                 "label": "org.onap.relationships.inventory.BelongsTo",
319                 "direction": "OUT",
320                 "multiplicity": "MANY2MANY",
321                 "contains-other-v": "NONE",
322                 "delete-other-v": "NONE",
323                 "prevent-delete": "!${direction}",
324                 "default": "true",
325                 "description":"For CCVPN Usecase"
326         },
327         {
328                 "from": "lan-port-config",
329                 "to": "ext-aai-network",
330                 "label": "org.onap.relationships.inventory.BelongsTo",
331                 "direction": "OUT",
332                 "multiplicity": "MANY2MANY",
333                 "contains-other-v": "NONE",
334                 "delete-other-v": "NONE",
335                 "prevent-delete": "!${direction}",
336                 "default": "true",
337                 "description":"For CCVPN Usecase"
338         },
339         {
340                 "from": "network-resource",
341                 "to": "ext-aai-network",
342                 "label": "org.onap.relationships.inventory.BelongsTo",
343                 "direction": "OUT",
344                 "multiplicity": "MANY2MANY",
345                 "contains-other-v": "NONE",
346                 "delete-other-v": "NONE",
347                 "prevent-delete": "!${direction}",
348                 "default": "true",
349                 "description":"For CCVPN Usecase"
350         },
351         {
352                 "from": "site-resource",
353                 "to": "ext-aai-network",
354                 "label": "org.onap.relationships.inventory.BelongsTo",
355                 "direction": "OUT",
356                 "multiplicity": "MANY2MANY",
357                 "contains-other-v": "NONE",
358                 "delete-other-v": "NONE",
359                 "prevent-delete": "!${direction}",
360                 "default": "true",
361                 "description":"For CCVPN Usecase"
362         },
363         {
364                 "from": "sdwan-vpn",
365                 "to": "ext-aai-network",
366                 "label": "org.onap.relationships.inventory.BelongsTo",
367                 "direction": "OUT",
368                 "multiplicity": "MANY2MANY",
369                 "contains-other-v": "NONE",
370                 "delete-other-v": "NONE",
371                 "prevent-delete": "!${direction}",
372                 "default": "true",
373                 "description":"For CCVPN Usecase"
374         },
375         {
376                 "from": "device",
377                 "to": "ext-aai-network",
378                 "label": "org.onap.relationships.inventory.BelongsTo",
379                 "direction": "OUT",
380                 "multiplicity": "MANY2MANY",
381                 "contains-other-v": "NONE",
382                 "delete-other-v": "NONE",
383                 "prevent-delete": "!${direction}",
384                 "default": "true",
385                 "description":"For CCVPN Usecase"
386         },
387         {
388                 "from": "wan-port-config",
389                 "to": "ext-aai-network",
390                 "label": "org.onap.relationships.inventory.BelongsTo",
391                 "direction": "OUT",
392                 "multiplicity": "MANY2MANY",
393                 "contains-other-v": "NONE",
394                 "delete-other-v": "NONE",
395                 "prevent-delete": "!${direction}",
396                 "default": "true",
397                 "description":"For CCVPN Usecase"
398         },
399         {
400                 "from": "tunnel-termination-point",
401                 "to": "pnf",
402                 "label": "tosca.relationships.network.BindsTo",
403                 "direction": "OUT",
404                 "multiplicity": "MANY2ONE",
405                 "contains-other-v": "!${direction}",
406                 "delete-other-v": "NONE",
407                 "prevent-delete": "NONE",
408                 "default": "true",
409                 "description":""
410         },
411         {
412                 "from": "p-interface",
413                 "to": "tunnel-termination-point",
414                 "label": "tosca.relationships.network.BindsTo",
415                 "direction": "OUT",
416                 "multiplicity": "MANY2ONE",
417                 "contains-other-v": "${direction}",
418                 "delete-other-v": "NONE",
419                 "prevent-delete": "NONE",
420                 "default": "true",
421                 "description":""
422         },
423         {
424                 "from": "p-interface",
425                 "to": "interlayer-attachment",
426                 "label": "tosca.relationships.network.BindsTo",
427                 "direction": "OUT",
428                 "multiplicity": "MANY2ONE",
429                 "contains-other-v": "${direction}",
430                 "delete-other-v": "NONE",
431                 "prevent-delete": "NONE",
432                 "default": "true",
433                 "description":""
434         },
435         {
436                 "from": "tunnel-termination-point",
437                 "to": "interlayer-attachment",
438                 "label": "tosca.relationships.network.BindsTo",
439                 "direction": "OUT",
440                 "multiplicity": "MANY2ONE",
441                 "contains-other-v": "${direction}",
442                 "delete-other-v": "NONE",
443                 "prevent-delete": "NONE",
444                 "default": "true",
445                 "description":""
446         },
447         {
448                 "from": "p-interface",
449                 "to": "uni",
450                 "label": "tosca.relationships.network.BindsTo",
451                 "direction": "OUT",
452                 "multiplicity": "MANY2ONE",
453                 "contains-other-v": "${direction}",
454                 "delete-other-v": "NONE",
455                 "prevent-delete": "NONE",
456                 "default": "true",
457                 "description":""
458         },
459         {
460                 "from": "logical-link",
461                 "to": "te-link-attribute",
462                 "label": "tosca.relationships.network.BindsTo",
463                 "direction": "OUT",
464                 "multiplicity": "ONE2ONE",
465                 "contains-other-v": "${direction}",
466                 "delete-other-v": "NONE",
467                 "prevent-delete": "NONE",
468                 "default": "true",
469                 "description":""
470         },
471         {
472                 "from": "label-restriction",
473                 "to": "te-link-attributes",
474                 "label": "tosca.relationships.network.BindsTo",
475                 "direction": "OUT",
476                 "multiplicity": "MANY2ONE",
477                 "contains-other-v": "${direction}",
478                 "delete-other-v": "NONE",
479                 "prevent-delete": "NONE",
480                 "default": "true",
481                 "description":""
482         },
483         {
484                 "from": "bandwidth-attribute",
485                 "to": "p-interface",
486                 "label": "org.onap.relationships.inventory.BelongsTo",
487                 "direction": "OUT",
488                 "multiplicity": "MANY2ONE",
489                 "contains-other-v": "!${direction}",
490                 "delete-other-v": "!${direction}",
491                 "prevent-delete": "NONE",
492                 "default": "true",
493                 "description":"For MDONS usecase"
494         },
495         {
496                 "from": "available-bandwidth",
497                 "to": "bandwidth-attribute",
498                 "label": "org.onap.relationships.inventory.BelongsTo",
499                 "direction": "OUT",
500                 "multiplicity": "MANY2ONE",
501                 "contains-other-v": "!${direction}",
502                 "delete-other-v": "!${direction}",
503                 "prevent-delete": "NONE",
504                 "default": "true",
505                 "description":"For MDONS usecase"
506         },
507         {
508                 "from": "label-restriction",
509                 "to": "bandwidth-attribute",
510                 "label": "org.onap.relationships.inventory.BelongsTo",
511                 "direction": "OUT",
512                 "multiplicity": "MANY2ONE",
513                 "contains-other-v": "!${direction}",
514                 "delete-other-v": "!${direction}",
515                 "prevent-delete": "NONE",
516                 "default": "true",
517                 "description":"For MDONS usecase"
518         }
519   ]
520 }