fix v20 schema changes
[aai/schema-service.git] / aai-schema / src / main / resources / onap / dbedgerules / v20 / DbEdgeRules_ccvpn_v20.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": "ONE2MANY",
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": "org.onap.relationships.inventory.PartOf",
56                 "direction": "OUT",
57                 "multiplicity": "ONE2MANY",
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": "lan-port-config",
66                 "to": "service-instance",
67                 "label": "org.onap.relationships.inventory.PartOf",
68                 "direction": "OUT",
69                 "multiplicity": "ONE2MANY",
70                 "contains-other-v": "NONE",
71                 "delete-other-v": "NONE",
72                 "prevent-delete": "NONE",
73                 "default": "true",
74                 "description":"For CCVPN Usecase"
75         },
76         {
77                 "from": "lan-port-config",
78                 "to": "dhcp-service",
79                 "label": "org.onap.relationships.inventory.Uses",
80                 "direction": "OUT",
81                 "multiplicity": "ONE2MANY",
82                 "contains-other-v": "${direction}",
83                 "delete-other-v": "${direction}",
84                 "prevent-delete": "NONE",
85                 "default": "true",
86                 "description":"For CCVPN Usecase"
87         },
88         {
89                 "from": "network-resource",
90                 "to": "vpn-binding",
91                 "label": "org.onap.relationships.inventory.Uses",
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": "pnf",
102                 "to": "network-resource",
103                 "label": "tosca.relationships.network.LinksTo",
104                 "direction": "OUT",
105                 "multiplicity": "MANY2MANY",
106                 "contains-other-v": "NONE",
107                 "delete-other-v": "!${direction}",
108                 "prevent-delete": "NONE",
109                 "default": "true",
110                 "description":"For CCVPN Usecase"
111         },
112         {
113                 "from": "site-resource",
114                 "to": "service-instance",
115                 "label": "org.onap.relationships.inventory.PartOf",
116                 "direction": "OUT",
117                 "multiplicity": "MANY2MANY",
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": "site-resource",
126                 "to": "allotted-resource",
127                 "label": "org.onap.relationships.inventory.Uses",
128                 "direction": "OUT",
129                 "multiplicity": "MANY2MANY",
130                 "contains-other-v": "NONE",
131                 "delete-other-v": "NONE",
132                 "prevent-delete": "NONE",
133                 "default": "true",
134                 "description":"For CCVPN Usecase"
135         },
136         {
137                 "from": "site-resource",
138                 "to": "complex",
139                 "label": "org.onap.relationships.inventory.Uses",
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": "sdwan-vpn",
150                 "to": "service-instance",
151                 "label": "org.onap.relationships.inventory.PartOf",
152                 "direction": "OUT",
153                 "multiplicity": "ONE2MANY",
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": "sdwan-vpn",
162                 "to": "tenant",
163                 "label": "org.onap.relationships.inventory.PartOf",
164                 "direction": "OUT",
165                 "multiplicity": "ONE2MANY",
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": "vpn-binding",
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": "device",
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": "device",
198                 "to": "generic-vnf",
199                 "label": "org.onap.relationships.inventory.Uses",
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": "generic-vnf",
211                 "label": "org.onap.relationships.inventory.PartOf",
212                 "direction": "OUT",
213                 "multiplicity": "MANY2MANY",
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": "connectivity",
222                 "to": "generic-vnf",
223                 "label": "org.onap.relationships.inventory.PartOf",
224                 "direction": "OUT",
225                 "multiplicity": "MANY2MANY",
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": "uni",
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": "site-resource",
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": "wan-port-config",
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": "lan-port-config",
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": "service-instance",
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": "ext-aai-network",
294                 "to": "esr-system-info",
295                 "label": "org.onap.relationships.inventory.Uses",
296                 "direction": "OUT",
297                 "multiplicity": "ONE2MANY",
298                 "contains-other-v": "${direction}",
299                 "delete-other-v": "${direction}",
300                 "prevent-delete": "NONE",
301                 "default": "true",
302                 "description":"For CCVPN Usecase"
303         },
304         {
305                 "from": "logical-link",
306                 "to": "ext-aai-network",
307                 "label": "org.onap.relationships.inventory.BelongsTo",
308                 "direction": "OUT",
309                 "multiplicity": "MANY2MANY",
310                 "contains-other-v": "NONE",
311                 "delete-other-v": "NONE",
312                 "prevent-delete": "!${direction}",
313                 "default": "true",
314                 "description":"For CCVPN Usecase"
315         },
316         {
317                 "from": "vpn-binding",
318                 "to": "ext-aai-network",
319                 "label": "org.onap.relationships.inventory.BelongsTo",
320                 "direction": "OUT",
321                 "multiplicity": "MANY2MANY",
322                 "contains-other-v": "NONE",
323                 "delete-other-v": "NONE",
324                 "prevent-delete": "!${direction}",
325                 "default": "true",
326                 "description":"For CCVPN Usecase"
327         },
328         {
329                 "from": "pnf",
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": "connectivity",
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": "lan-port-config",
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": "network-resource",
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": "site-resource",
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": "sdwan-vpn",
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": "device",
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": "wan-port-config",
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": "tunnel-termination-point",
426                 "to": "pnf",
427                 "label": "tosca.relationships.network.BindsTo",
428                 "direction": "OUT",
429                 "multiplicity": "MANY2MANY",
430                 "contains-other-v": "NONE",
431                 "delete-other-v": "!${direction}",
432                 "prevent-delete": "NONE",
433                 "default": "true",
434                 "description":"For CCVPN Usecase"
435         },
436         {
437                 "from": "p-interface",
438                 "to": "tunnel-termination-point",
439                 "label": "tosca.relationships.network.BindsTo",
440                 "direction": "OUT",
441                 "multiplicity": "MANY2MANY",
442                 "contains-other-v": "NONE",
443                 "delete-other-v": "!${direction}",
444                 "prevent-delete": "NONE",
445                 "default": "true",
446                 "description":"For CCVPN Usecase"
447         },
448         {
449                 "from": "p-interface",
450                 "to": "interlayer-attachment",
451                 "label": "tosca.relationships.network.LinksTo",
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         {
462                 "from": "tunnel-termination-point",
463                 "to": "interlayer-attachment",
464                 "label": "tosca.relationships.network.LinksTo",
465                 "direction": "OUT",
466                 "multiplicity": "MANY2MANY",
467                 "contains-other-v": "NONE",
468                 "delete-other-v": "!${direction}",
469                 "prevent-delete": "NONE",
470                 "default": "true",
471                 "description":"For CCVPN Usecase"
472
473         },
474         {
475                 "from": "uni",
476                 "to": "p-interface",
477                 "label": "org.onap.relationships.inventory.PartOf",
478                 "direction": "OUT",
479                 "multiplicity": "MANY2MANY",
480                 "contains-other-v": "NONE",
481                 "delete-other-v": "NONE",
482                 "prevent-delete": "NONE",
483                 "default": "true",
484                 "description":"For CCVPN Usecase"
485         },
486         {
487                 "from": "logical-link",
488                 "to": "te-link-attribute",
489                 "label": "tosca.relationships.network.LinksTo",
490                 "direction": "OUT",
491                 "multiplicity": "MANY2MANY",
492                 "contains-other-v": "NONE",
493                 "delete-other-v": "!${direction}",
494                 "prevent-delete": "NONE",
495                 "default": "true",
496                 "description":"For CCVPN Usecase"
497
498         },
499         {
500                 "from": "label-restriction",
501                 "to": "te-link-attribute",
502                 "label": "tosca.relationships.network.LinksTo",
503                 "direction": "OUT",
504                 "multiplicity": "MANY2MANY",
505                 "contains-other-v": "NONE",
506                 "delete-other-v": "!${direction}",
507                 "prevent-delete": "NONE",
508                 "default": "true",
509                 "description":"For CCVPN Usecase"
510
511         },
512         {
513                 "from": "bandwidth-attribute",
514                 "to": "p-interface",
515                 "label": "org.onap.relationships.inventory.BelongsTo",
516                 "direction": "OUT",
517                 "multiplicity": "MANY2ONE",
518                 "contains-other-v": "!${direction}",
519                 "delete-other-v": "!${direction}",
520                 "prevent-delete": "NONE",
521                 "default": "true",
522                 "description":"For MDONS usecase"
523         },
524         {
525                 "from": "available-bandwidth",
526                 "to": "bandwidth-attribute",
527                 "label": "org.onap.relationships.inventory.BelongsTo",
528                 "direction": "OUT",
529                 "multiplicity": "MANY2ONE",
530                 "contains-other-v": "!${direction}",
531                 "delete-other-v": "!${direction}",
532                 "prevent-delete": "NONE",
533                 "default": "true",
534                 "description":"For MDONS usecase"
535         },
536         {
537                 "from": "label-restriction",
538                 "to": "bandwidth-attribute",
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 }