[AAI] Bump up schema version to 1.12.4
[aai/schema-service.git] / aai-schema / src / main / resources / onap / dbedgerules / v26 / DbEdgeRules_ccvpn_v26.json
1
2 {
3   "rules": [
4         {
5                 "from": "allotted-resource",
6                 "to": "p-interface",
7                 "label": "org.onap.relationships.inventory.Uses",
8                 "direction": "OUT",
9                 "multiplicity": "ONE2MANY",
10                 "contains-other-v": "NONE",
11                 "delete-other-v": "NONE",
12                 "prevent-delete": "NONE",
13                 "default": "true",
14                 "description":"AAI-1925 For CCVPN Usecase"
15         },
16         {
17                 "from": "vpn-binding",
18                 "to": "p-interface",
19                 "label": "org.onap.relationships.inventory.BindsTo",
20                 "direction": "OUT",
21                 "multiplicity": "ONE2MANY",
22                 "contains-other-v": "NONE",
23                 "delete-other-v": "NONE",
24                 "prevent-delete": "NONE",
25                 "default": "true",
26                 "description":"For CCVPN Usecase"
27         },
28         {
29                 "from": "sp-partner",
30                 "to": "service-instance",
31                 "label": "org.onap.relationships.inventory.PartOf",
32                 "direction": "OUT",
33                 "multiplicity": "ONE2MANY",
34                 "contains-other-v": "NONE",
35                 "delete-other-v": "NONE",
36                 "prevent-delete": "NONE",
37                 "default": "true",
38                 "description":"For CCVPN Usecase"
39         },
40         {
41                 "from": "connectivity",
42                 "to": "service-instance",
43                 "label": "org.onap.relationships.inventory.PartOf",
44                 "direction": "OUT",
45                 "multiplicity": "MANY2MANY",
46                 "contains-other-v": "NONE",
47                 "delete-other-v": "NONE",
48                 "prevent-delete": "NONE",
49                 "default": "true",
50                 "description":"For CCVPN Usecase"
51         },
52         {
53                 "from": "connectivity",
54                 "to": "vpn-binding",
55                 "label": "tosca.relationships.network.BindsTo",
56                 "direction": "OUT",
57                 "multiplicity": "MANY2MANY",
58                 "contains-other-v": "NONE",
59                 "delete-other-v": "NONE",
60                 "prevent-delete": "NONE",
61                 "default": "true",
62                 "description":"For CCVPN Usecase"
63         },
64         {
65                 "from": "connectivity",
66                 "to": "connectivity",
67                 "label": "tosca.relationships.network.LinksTo",
68                 "direction": "OUT",
69                 "multiplicity": "MANY2MANY",
70                 "contains-other-v": "NONE",
71                 "delete-other-v": "NONE",
72                 "prevent-delete": "NONE",
73                 "default": "true",
74                 "description":"For CCVPN Usecase -- ETree super and slave connectivity"
75         },
76         {
77                 "from": "connectivity",
78                 "to": "uni",
79                 "label": "org.onap.relationships.inventory.PartOf",
80                 "direction": "OUT",
81                 "multiplicity": "MANY2MANY",
82                 "contains-other-v": "NONE",
83                 "delete-other-v": "NONE",
84                 "prevent-delete": "NONE",
85                 "default": "true",
86                 "description":"For CCVPN Usecase -- ETree"
87         },
88         {
89                 "from": "lan-port-config",
90                 "to": "service-instance",
91                 "label": "org.onap.relationships.inventory.PartOf",
92                 "direction": "OUT",
93                 "multiplicity": "ONE2MANY",
94                 "contains-other-v": "NONE",
95                 "delete-other-v": "NONE",
96                 "prevent-delete": "NONE",
97                 "default": "true",
98                 "description":"For CCVPN Usecase"
99         },
100         {
101                 "from": "lan-port-config",
102                 "to": "dhcp-service",
103                 "label": "org.onap.relationships.inventory.Uses",
104                 "direction": "OUT",
105                 "multiplicity": "ONE2MANY",
106                 "contains-other-v": "${direction}",
107                 "delete-other-v": "${direction}",
108                 "prevent-delete": "NONE",
109                 "default": "true",
110                 "description":"For CCVPN Usecase"
111         },
112         {
113                 "from": "network-resource",
114                 "to": "vpn-binding",
115                 "label": "org.onap.relationships.inventory.Uses",
116                 "direction": "OUT",
117                 "multiplicity": "ONE2MANY",
118                 "contains-other-v": "NONE",
119                 "delete-other-v": "NONE",
120                 "prevent-delete": "NONE",
121                 "default": "true",
122                 "description":"For CCVPN Usecase"
123         },
124         {
125                 "from": "pnf",
126                 "to": "network-resource",
127                 "label": "tosca.relationships.network.LinksTo",
128                 "direction": "OUT",
129                 "multiplicity": "MANY2MANY",
130                 "contains-other-v": "NONE",
131                 "delete-other-v": "!${direction}",
132                 "prevent-delete": "NONE",
133                 "default": "true",
134                 "description":"For CCVPN Usecase"
135         },
136         {
137                 "from": "site-resource",
138                 "to": "service-instance",
139                 "label": "org.onap.relationships.inventory.PartOf",
140                 "direction": "OUT",
141                 "multiplicity": "MANY2MANY",
142                 "contains-other-v": "NONE",
143                 "delete-other-v": "NONE",
144                 "prevent-delete": "NONE",
145                 "default": "true",
146                 "description":"For CCVPN Usecase"
147         },
148         {
149                 "from": "site-resource",
150                 "to": "allotted-resource",
151                 "label": "org.onap.relationships.inventory.Uses",
152                 "direction": "OUT",
153                 "multiplicity": "MANY2MANY",
154                 "contains-other-v": "NONE",
155                 "delete-other-v": "NONE",
156                 "prevent-delete": "NONE",
157                 "default": "true",
158                 "description":"For CCVPN Usecase"
159         },
160         {
161                 "from": "site-resource",
162                 "to": "complex",
163                 "label": "org.onap.relationships.inventory.Uses",
164                 "direction": "OUT",
165                 "multiplicity": "MANY2MANY",
166                 "contains-other-v": "NONE",
167                 "delete-other-v": "NONE",
168                 "prevent-delete": "NONE",
169                 "default": "true",
170                 "description":"For CCVPN Usecase"
171         },
172         {
173                 "from": "sdwan-vpn",
174                 "to": "service-instance",
175                 "label": "org.onap.relationships.inventory.PartOf",
176                 "direction": "OUT",
177                 "multiplicity": "ONE2MANY",
178                 "contains-other-v": "NONE",
179                 "delete-other-v": "NONE",
180                 "prevent-delete": "NONE",
181                 "default": "true",
182                 "description":"For CCVPN Usecase"
183         },
184         {
185                 "from": "sdwan-vpn",
186                 "to": "tenant",
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": "vpn-binding",
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": "device",
210                 "to": "service-instance",
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": "generic-vnf",
223                 "label": "org.onap.relationships.inventory.Uses",
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": "sdwan-vpn",
234                 "to": "generic-vnf",
235                 "label": "org.onap.relationships.inventory.PartOf",
236                 "direction": "OUT",
237                 "multiplicity": "MANY2MANY",
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": "connectivity",
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": "uni",
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": "site-resource",
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": "wan-port-config",
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": "lan-port-config",
294                 "to": "generic-vnf",
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 CCVPN Usecase"
303         },
304         {
305                 "from": "wan-port-config",
306                 "to": "service-instance",
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": "ext-aai-network",
318                 "to": "esr-system-info",
319                 "label": "org.onap.relationships.inventory.Uses",
320                 "direction": "OUT",
321                 "multiplicity": "ONE2MANY",
322                 "contains-other-v": "${direction}",
323                 "delete-other-v": "${direction}",
324                 "prevent-delete": "NONE",
325                 "default": "true",
326                 "description":"For CCVPN Usecase"
327         },
328         {
329                 "from": "logical-link",
330                 "to": "ext-aai-network",
331                 "label": "org.onap.relationships.inventory.BelongsTo",
332                 "direction": "OUT",
333                 "multiplicity": "MANY2MANY",
334                 "contains-other-v": "NONE",
335                 "delete-other-v": "NONE",
336                 "prevent-delete": "!${direction}",
337                 "default": "true",
338                 "description":"For CCVPN Usecase"
339         },
340         {
341                 "from": "vpn-binding",
342                 "to": "ext-aai-network",
343                 "label": "org.onap.relationships.inventory.BelongsTo",
344                 "direction": "OUT",
345                 "multiplicity": "MANY2MANY",
346                 "contains-other-v": "NONE",
347                 "delete-other-v": "NONE",
348                 "prevent-delete": "!${direction}",
349                 "default": "true",
350                 "description":"For CCVPN Usecase"
351         },
352         {
353                 "from": "pnf",
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": "connectivity",
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": "lan-port-config",
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": "network-resource",
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": "site-resource",
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": "sdwan-vpn",
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": "device",
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": "wan-port-config",
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": "tunnel-termination-point",
450                 "to": "pnf",
451                 "label": "tosca.relationships.network.BindsTo",
452                 "direction": "OUT",
453                 "multiplicity": "MANY2MANY",
454                 "contains-other-v": "NONE",
455                 "delete-other-v": "!${direction}",
456                 "prevent-delete": "NONE",
457                 "default": "true",
458                 "description":"For CCVPN Usecase"
459         },
460         {
461                 "from": "p-interface",
462                 "to": "tunnel-termination-point",
463                 "label": "tosca.relationships.network.BindsTo",
464                 "direction": "OUT",
465                 "multiplicity": "MANY2MANY",
466                 "contains-other-v": "NONE",
467                 "delete-other-v": "!${direction}",
468                 "prevent-delete": "NONE",
469                 "default": "true",
470                 "description":"For CCVPN Usecase"
471         },
472         {
473                 "from": "p-interface",
474                 "to": "interlayer-attachment",
475                 "label": "tosca.relationships.network.LinksTo",
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         {
486                 "from": "tunnel-termination-point",
487                 "to": "interlayer-attachment",
488                 "label": "tosca.relationships.network.LinksTo",
489                 "direction": "OUT",
490                 "multiplicity": "MANY2MANY",
491                 "contains-other-v": "NONE",
492                 "delete-other-v": "!${direction}",
493                 "prevent-delete": "NONE",
494                 "default": "true",
495                 "description":"For CCVPN Usecase"
496
497         },
498         {
499                 "from": "uni",
500                 "to": "p-interface",
501                 "label": "org.onap.relationships.inventory.PartOf",
502                 "direction": "OUT",
503                 "multiplicity": "MANY2MANY",
504                 "contains-other-v": "NONE",
505                 "delete-other-v": "NONE",
506                 "prevent-delete": "NONE",
507                 "default": "true",
508                 "description":"For CCVPN Usecase"
509         },
510         {
511                 "from": "logical-link",
512                 "to": "te-link-attribute",
513                 "label": "tosca.relationships.network.LinksTo",
514                 "direction": "OUT",
515                 "multiplicity": "MANY2MANY",
516                 "contains-other-v": "NONE",
517                 "delete-other-v": "!${direction}",
518                 "prevent-delete": "NONE",
519                 "default": "true",
520                 "description":"For CCVPN Usecase"
521
522         },
523         {
524                 "from": "label-restriction",
525                 "to": "te-link-attribute",
526                 "label": "tosca.relationships.network.LinksTo",
527                 "direction": "OUT",
528                 "multiplicity": "MANY2MANY",
529                 "contains-other-v": "NONE",
530                 "delete-other-v": "!${direction}",
531                 "prevent-delete": "NONE",
532                 "default": "true",
533                 "description":"For CCVPN Usecase"
534
535         },
536         {
537                 "from": "bandwidth-attribute",
538                 "to": "p-interface",
539                 "label": "org.onap.relationships.inventory.BelongsTo",
540                 "direction": "OUT",
541                 "multiplicity": "MANY2ONE",
542                 "contains-other-v": "!${direction}",
543                 "delete-other-v": "!${direction}",
544                 "prevent-delete": "NONE",
545                 "default": "true",
546                 "description":"For MDONS usecase"
547         },
548         {
549                 "from": "available-bandwidth",
550                 "to": "bandwidth-attribute",
551                 "label": "org.onap.relationships.inventory.BelongsTo",
552                 "direction": "OUT",
553                 "multiplicity": "MANY2ONE",
554                 "contains-other-v": "!${direction}",
555                 "delete-other-v": "!${direction}",
556                 "prevent-delete": "NONE",
557                 "default": "true",
558                 "description":"For MDONS usecase"
559         }
560   ]
561 }