AAI-1468 -1480 Add Conn /lan-port-config for CCVPN
[aai/aai-common.git] / aai-schema / src / main / resources / onap / dbedgerules / v14 / DbEdgeRules_ccvpn_v14.json
1 {
2   "rules": [
3         {
4                 "from": "vpn-binding",
5                 "to": "p-interface",
6                 "label": "org.onap.relationships.inventory.BindsTo",
7                 "direction": "OUT",
8                 "multiplicity": "ONE2MANY",
9                 "contains-other-v": "NONE",
10                 "delete-other-v": "NONE",
11                 "prevent-delete": "NONE",
12                 "default": "true",
13                 "description":"For CCVPN Usecase"
14         },
15         {
16                 "from": "sp-partner",
17                 "to": "service-instance",
18                 "label": "org.onap.relationships.inventory.PartOf",
19                 "direction": "OUT",
20                 "multiplicity": "ONE2MANY",
21                 "contains-other-v": "NONE",
22                 "delete-other-v": "NONE",
23                 "prevent-delete": "NONE",
24                 "default": "true",
25                 "description":"For CCVPN Usecase"
26         },
27         {
28                 "from": "connectivity",
29                 "to": "service-instance",
30                 "label": "org.onap.relationships.inventory.PartOf",
31                 "direction": "OUT",
32                 "multiplicity": "ONE2MANY",
33                 "contains-other-v": "NONE",
34                 "delete-other-v": "NONE",
35                 "prevent-delete": "NONE",
36                 "default": "true",
37                 "description":"For CCVPN Usecase"
38         },
39         {
40                 "from": "connectivity",
41                 "to": "vpn-binding",
42                 "label": "org.onap.relationships.inventory.PartOf",
43                 "direction": "OUT",
44                 "multiplicity": "ONE2MANY",
45                 "contains-other-v": "NONE",
46                 "delete-other-v": "NONE",
47                 "prevent-delete": "NONE",
48                 "default": "true",
49                 "description":"For CCVPN Usecase"
50         },
51         {
52                 "from": "lan-port-config",
53                 "to": "service-instance",
54                 "label": "org.onap.relationships.inventory.PartOf",
55                 "direction": "OUT",
56                 "multiplicity": "ONE2MANY",
57                 "contains-other-v": "NONE",
58                 "delete-other-v": "NONE",
59                 "prevent-delete": "NONE",
60                 "default": "true",
61                 "description":"For CCVPN Usecase"
62         },
63         {
64                 "from": "lan-port-config",
65                 "to": "dhcp-service",
66                 "label": "org.onap.relationships.inventory.Uses",
67                 "direction": "OUT",
68                 "multiplicity": "ONE2MANY",
69                 "contains-other-v": "${direction}",
70                 "delete-other-v": "${direction}",
71                 "prevent-delete": "!${direction}",
72                 "default": "true",
73                 "description":"For CCVPN Usecase"
74         }
75   ]
76 }