8aa9ac9003b35512a2dcff257abcda868bd8267f
[aai/schema-service.git] / aai-schema / src / main / resources / onap / dbedgerules / v28 / DbEdgeRules_ccvpn_v28.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": "MANY2MANY",
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": "tosca.relationships.network.BindsTo",
55                 "direction": "OUT",
56                 "multiplicity": "MANY2MANY",
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": "connectivity",
65                 "to": "connectivity",
66                 "label": "tosca.relationships.network.LinksTo",
67                 "direction": "OUT",
68                 "multiplicity": "MANY2MANY",
69                 "contains-other-v": "NONE",
70                 "delete-other-v": "NONE",
71                 "prevent-delete": "NONE",
72                 "default": "true",
73                 "description":"For CCVPN Usecase -- ETree super and slave connectivity"
74         },
75         {
76                 "from": "connectivity",
77                 "to": "uni",
78                 "label": "org.onap.relationships.inventory.PartOf",
79                 "direction": "OUT",
80                 "multiplicity": "MANY2MANY",
81                 "contains-other-v": "NONE",
82                 "delete-other-v": "NONE",
83                 "prevent-delete": "NONE",
84                 "default": "true",
85                 "description":"For CCVPN Usecase -- ETree"
86         },
87         {
88                 "from": "lan-port-config",
89                 "to": "service-instance",
90                 "label": "org.onap.relationships.inventory.PartOf",
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": "lan-port-config",
101                 "to": "dhcp-service",
102                 "label": "org.onap.relationships.inventory.Uses",
103                 "direction": "OUT",
104                 "multiplicity": "ONE2MANY",
105                 "contains-other-v": "${direction}",
106                 "delete-other-v": "${direction}",
107                 "prevent-delete": "NONE",
108                 "default": "true",
109                 "description":"For CCVPN Usecase"
110         },
111         {
112                 "from": "network-resource",
113                 "to": "vpn-binding",
114                 "label": "org.onap.relationships.inventory.Uses",
115                 "direction": "OUT",
116                 "multiplicity": "ONE2MANY",
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": "pnf",
125                 "to": "network-resource",
126                 "label": "tosca.relationships.network.LinksTo",
127                 "direction": "OUT",
128                 "multiplicity": "MANY2MANY",
129                 "contains-other-v": "NONE",
130                 "delete-other-v": "!${direction}",
131                 "prevent-delete": "NONE",
132                 "default": "true",
133                 "description":"For CCVPN Usecase"
134         },
135         {
136                 "from": "site-resource",
137                 "to": "service-instance",
138                 "label": "org.onap.relationships.inventory.PartOf",
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": "site-resource",
149                 "to": "allotted-resource",
150                 "label": "org.onap.relationships.inventory.Uses",
151                 "direction": "OUT",
152                 "multiplicity": "MANY2MANY",
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": "site-resource",
161                 "to": "complex",
162                 "label": "org.onap.relationships.inventory.Uses",
163                 "direction": "OUT",
164                 "multiplicity": "MANY2MANY",
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": "site-resource",
173                 "to": "site-resource",
174                 "label": "org.onap.relationships.inventory.Supports",
175                 "direction": "OUT",
176                 "multiplicity": "MANY2MANY",
177                 "contains-other-v": "NONE",
178                 "delete-other-v": "NONE",
179                 "SVC-INFRA": "NONE",
180                 "prevent-delete": "NONE",
181                 "default": "true",
182                 "description": "For Cell Usecase"
183         },
184         {
185                 "from": "sdwan-vpn",
186                 "to": "service-instance",
187                 "label": "org.onap.relationships.inventory.PartOf",
188                 "direction": "OUT",
189                 "multiplicity": "ONE2MANY",
190                 "contains-other-v": "NONE",
191                 "delete-other-v": "NONE",
192                 "prevent-delete": "NONE",
193                 "default": "true",
194                 "description":"For CCVPN Usecase"
195         },
196         {
197                 "from": "sdwan-vpn",
198                 "to": "tenant",
199                 "label": "org.onap.relationships.inventory.PartOf",
200                 "direction": "OUT",
201                 "multiplicity": "ONE2MANY",
202                 "contains-other-v": "NONE",
203                 "delete-other-v": "NONE",
204                 "prevent-delete": "NONE",
205                 "default": "true",
206                 "description":"For CCVPN Usecase"
207         },
208         {
209                 "from": "sdwan-vpn",
210                 "to": "vpn-binding",
211                 "label": "org.onap.relationships.inventory.PartOf",
212                 "direction": "OUT",
213                 "multiplicity": "ONE2MANY",
214                 "contains-other-v": "NONE",
215                 "delete-other-v": "NONE",
216                 "prevent-delete": "NONE",
217                 "default": "true",
218                 "description":"For CCVPN Usecase"
219         },
220         {
221                 "from": "device",
222                 "to": "service-instance",
223                 "label": "org.onap.relationships.inventory.PartOf",
224                 "direction": "OUT",
225                 "multiplicity": "ONE2MANY",
226                 "contains-other-v": "NONE",
227                 "delete-other-v": "NONE",
228                 "prevent-delete": "NONE",
229                 "default": "true",
230                 "description":"For CCVPN Usecase"
231         },
232         {
233                 "from": "device",
234                 "to": "generic-vnf",
235                 "label": "org.onap.relationships.inventory.Uses",
236                 "direction": "OUT",
237                 "multiplicity": "ONE2MANY",
238                 "contains-other-v": "NONE",
239                 "delete-other-v": "NONE",
240                 "prevent-delete": "NONE",
241                 "default": "true",
242                 "description":"For CCVPN Usecase"
243         },
244         {
245                 "from": "sdwan-vpn",
246                 "to": "generic-vnf",
247                 "label": "org.onap.relationships.inventory.PartOf",
248                 "direction": "OUT",
249                 "multiplicity": "MANY2MANY",
250                 "contains-other-v": "NONE",
251                 "delete-other-v": "NONE",
252                 "prevent-delete": "NONE",
253                 "default": "true",
254                 "description":"For CCVPN Usecase"
255         },
256         {
257                 "from": "connectivity",
258                 "to": "generic-vnf",
259                 "label": "org.onap.relationships.inventory.PartOf",
260                 "direction": "OUT",
261                 "multiplicity": "MANY2MANY",
262                 "contains-other-v": "NONE",
263                 "delete-other-v": "NONE",
264                 "prevent-delete": "NONE",
265                 "default": "true",
266                 "description":"For CCVPN Usecase"
267         },
268         {
269                 "from": "uni",
270                 "to": "generic-vnf",
271                 "label": "org.onap.relationships.inventory.PartOf",
272                 "direction": "OUT",
273                 "multiplicity": "MANY2MANY",
274                 "contains-other-v": "NONE",
275                 "delete-other-v": "NONE",
276                 "prevent-delete": "NONE",
277                 "default": "true",
278                 "description":"For CCVPN Usecase"
279         },
280         {
281                 "from": "site-resource",
282                 "to": "generic-vnf",
283                 "label": "org.onap.relationships.inventory.PartOf",
284                 "direction": "OUT",
285                 "multiplicity": "MANY2MANY",
286                 "contains-other-v": "NONE",
287                 "delete-other-v": "NONE",
288                 "prevent-delete": "NONE",
289                 "default": "true",
290                 "description":"For CCVPN Usecase"
291         },
292         {
293                 "from": "site-resource",
294                 "to": "pnf",
295                 "label": "org.onap.relationships.inventory.PartOf",
296                 "direction": "OUT",
297                 "multiplicity": "MANY2MANY",
298                 "contains-other-v": "NONE",
299                 "delete-other-v": "NONE",
300                 "prevent-delete": "NONE",
301                 "default": "true",
302                 "description":"For Cell Usecase"
303         },
304         {
305                 "from": "wan-port-config",
306                 "to": "generic-vnf",
307                 "label": "org.onap.relationships.inventory.PartOf",
308                 "direction": "OUT",
309                 "multiplicity": "MANY2MANY",
310                 "contains-other-v": "NONE",
311                 "delete-other-v": "NONE",
312                 "prevent-delete": "NONE",
313                 "default": "true",
314                 "description":"For CCVPN Usecase"
315         },
316         {
317                 "from": "lan-port-config",
318                 "to": "generic-vnf",
319                 "label": "org.onap.relationships.inventory.PartOf",
320                 "direction": "OUT",
321                 "multiplicity": "MANY2MANY",
322                 "contains-other-v": "NONE",
323                 "delete-other-v": "NONE",
324                 "prevent-delete": "NONE",
325                 "default": "true",
326                 "description":"For CCVPN Usecase"
327         },
328         {
329                 "from": "wan-port-config",
330                 "to": "service-instance",
331                 "label": "org.onap.relationships.inventory.PartOf",
332                 "direction": "OUT",
333                 "multiplicity": "MANY2MANY",
334                 "contains-other-v": "NONE",
335                 "delete-other-v": "NONE",
336                 "prevent-delete": "NONE",
337                 "default": "true",
338                 "description":"For CCVPN Usecase"
339         },
340         {
341                 "from": "ext-aai-network",
342                 "to": "esr-system-info",
343                 "label": "org.onap.relationships.inventory.Uses",
344                 "direction": "OUT",
345                 "multiplicity": "ONE2MANY",
346                 "contains-other-v": "${direction}",
347                 "delete-other-v": "${direction}",
348                 "prevent-delete": "NONE",
349                 "default": "true",
350                 "description":"For CCVPN Usecase"
351         },
352         {
353                 "from": "logical-link",
354                 "to": "ext-aai-network",
355                 "label": "org.onap.relationships.inventory.BelongsTo",
356                 "direction": "OUT",
357                 "multiplicity": "MANY2MANY",
358                 "contains-other-v": "NONE",
359                 "delete-other-v": "NONE",
360                 "prevent-delete": "!${direction}",
361                 "default": "true",
362                 "description":"For CCVPN Usecase"
363         },
364         {
365                 "from": "vpn-binding",
366                 "to": "ext-aai-network",
367                 "label": "org.onap.relationships.inventory.BelongsTo",
368                 "direction": "OUT",
369                 "multiplicity": "MANY2MANY",
370                 "contains-other-v": "NONE",
371                 "delete-other-v": "NONE",
372                 "prevent-delete": "!${direction}",
373                 "default": "true",
374                 "description":"For CCVPN Usecase"
375         },
376         {
377                 "from": "pnf",
378                 "to": "ext-aai-network",
379                 "label": "org.onap.relationships.inventory.BelongsTo",
380                 "direction": "OUT",
381                 "multiplicity": "MANY2MANY",
382                 "contains-other-v": "NONE",
383                 "delete-other-v": "NONE",
384                 "prevent-delete": "!${direction}",
385                 "default": "true",
386                 "description":"For CCVPN Usecase"
387         },
388         {
389                 "from": "connectivity",
390                 "to": "ext-aai-network",
391                 "label": "org.onap.relationships.inventory.BelongsTo",
392                 "direction": "OUT",
393                 "multiplicity": "MANY2MANY",
394                 "contains-other-v": "NONE",
395                 "delete-other-v": "NONE",
396                 "prevent-delete": "!${direction}",
397                 "default": "true",
398                 "description":"For CCVPN Usecase"
399         },
400         {
401                 "from": "lan-port-config",
402                 "to": "ext-aai-network",
403                 "label": "org.onap.relationships.inventory.BelongsTo",
404                 "direction": "OUT",
405                 "multiplicity": "MANY2MANY",
406                 "contains-other-v": "NONE",
407                 "delete-other-v": "NONE",
408                 "prevent-delete": "!${direction}",
409                 "default": "true",
410                 "description":"For CCVPN Usecase"
411         },
412         {
413                 "from": "network-resource",
414                 "to": "ext-aai-network",
415                 "label": "org.onap.relationships.inventory.BelongsTo",
416                 "direction": "OUT",
417                 "multiplicity": "MANY2MANY",
418                 "contains-other-v": "NONE",
419                 "delete-other-v": "NONE",
420                 "prevent-delete": "!${direction}",
421                 "default": "true",
422                 "description":"For CCVPN Usecase"
423         },
424         {
425                 "from": "site-resource",
426                 "to": "ext-aai-network",
427                 "label": "org.onap.relationships.inventory.BelongsTo",
428                 "direction": "OUT",
429                 "multiplicity": "MANY2MANY",
430                 "contains-other-v": "NONE",
431                 "delete-other-v": "NONE",
432                 "prevent-delete": "!${direction}",
433                 "default": "true",
434                 "description":"For CCVPN Usecase"
435         },
436         {
437                 "from": "sdwan-vpn",
438                 "to": "ext-aai-network",
439                 "label": "org.onap.relationships.inventory.BelongsTo",
440                 "direction": "OUT",
441                 "multiplicity": "MANY2MANY",
442                 "contains-other-v": "NONE",
443                 "delete-other-v": "NONE",
444                 "prevent-delete": "!${direction}",
445                 "default": "true",
446                 "description":"For CCVPN Usecase"
447         },
448         {
449                 "from": "device",
450                 "to": "ext-aai-network",
451                 "label": "org.onap.relationships.inventory.BelongsTo",
452                 "direction": "OUT",
453                 "multiplicity": "MANY2MANY",
454                 "contains-other-v": "NONE",
455                 "delete-other-v": "NONE",
456                 "prevent-delete": "!${direction}",
457                 "default": "true",
458                 "description":"For CCVPN Usecase"
459         },
460         {
461                 "from": "wan-port-config",
462                 "to": "ext-aai-network",
463                 "label": "org.onap.relationships.inventory.BelongsTo",
464                 "direction": "OUT",
465                 "multiplicity": "MANY2MANY",
466                 "contains-other-v": "NONE",
467                 "delete-other-v": "NONE",
468                 "prevent-delete": "!${direction}",
469                 "default": "true",
470                 "description":"For CCVPN Usecase"
471         },
472         {
473                 "from": "tunnel-termination-point",
474                 "to": "pnf",
475                 "label": "tosca.relationships.network.BindsTo",
476                 "direction": "OUT",
477                 "multiplicity": "MANY2MANY",
478                 "contains-other-v": "NONE",
479                 "delete-other-v": "!${direction}",
480                 "prevent-delete": "NONE",
481                 "default": "true",
482                 "description":"For CCVPN Usecase"
483         },
484         {
485                 "from": "p-interface",
486                 "to": "tunnel-termination-point",
487                 "label": "tosca.relationships.network.BindsTo",
488                 "direction": "OUT",
489                 "multiplicity": "MANY2MANY",
490                 "contains-other-v": "NONE",
491                 "delete-other-v": "!${direction}",
492                 "prevent-delete": "NONE",
493                 "default": "true",
494                 "description":"For CCVPN Usecase"
495         },
496         {
497                 "from": "p-interface",
498                 "to": "interlayer-attachment",
499                 "label": "tosca.relationships.network.LinksTo",
500                 "direction": "OUT",
501                 "multiplicity": "MANY2MANY",
502                 "contains-other-v": "NONE",
503                 "delete-other-v": "!${direction}",
504                 "prevent-delete": "NONE",
505                 "default": "true",
506                 "description":"For CCVPN Usecase"
507
508         },
509         {
510                 "from": "tunnel-termination-point",
511                 "to": "interlayer-attachment",
512                 "label": "tosca.relationships.network.LinksTo",
513                 "direction": "OUT",
514                 "multiplicity": "MANY2MANY",
515                 "contains-other-v": "NONE",
516                 "delete-other-v": "!${direction}",
517                 "prevent-delete": "NONE",
518                 "default": "true",
519                 "description":"For CCVPN Usecase"
520
521         },
522         {
523                 "from": "uni",
524                 "to": "p-interface",
525                 "label": "org.onap.relationships.inventory.PartOf",
526                 "direction": "OUT",
527                 "multiplicity": "MANY2MANY",
528                 "contains-other-v": "NONE",
529                 "delete-other-v": "NONE",
530                 "prevent-delete": "NONE",
531                 "default": "true",
532                 "description":"For CCVPN Usecase"
533         },
534         {
535                 "from": "logical-link",
536                 "to": "te-link-attribute",
537                 "label": "tosca.relationships.network.LinksTo",
538                 "direction": "OUT",
539                 "multiplicity": "MANY2MANY",
540                 "contains-other-v": "NONE",
541                 "delete-other-v": "!${direction}",
542                 "prevent-delete": "NONE",
543                 "default": "true",
544                 "description":"For CCVPN Usecase"
545
546         },
547         {
548                 "from": "label-restriction",
549                 "to": "te-link-attribute",
550                 "label": "tosca.relationships.network.LinksTo",
551                 "direction": "OUT",
552                 "multiplicity": "MANY2MANY",
553                 "contains-other-v": "NONE",
554                 "delete-other-v": "!${direction}",
555                 "prevent-delete": "NONE",
556                 "default": "true",
557                 "description":"For CCVPN Usecase"
558
559         },
560         {
561                 "from": "bandwidth-attribute",
562                 "to": "p-interface",
563                 "label": "org.onap.relationships.inventory.BelongsTo",
564                 "direction": "OUT",
565                 "multiplicity": "MANY2ONE",
566                 "contains-other-v": "!${direction}",
567                 "delete-other-v": "!${direction}",
568                 "prevent-delete": "NONE",
569                 "default": "true",
570                 "description":"For MDONS usecase"
571         },
572         {
573                 "from": "available-bandwidth",
574                 "to": "bandwidth-attribute",
575                 "label": "org.onap.relationships.inventory.BelongsTo",
576                 "direction": "OUT",
577                 "multiplicity": "MANY2ONE",
578                 "contains-other-v": "!${direction}",
579                 "delete-other-v": "!${direction}",
580                 "prevent-delete": "NONE",
581                 "default": "true",
582                 "description":"For MDONS usecase"
583         }
584   ]
585 }