summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json
diff options
context:
space:
mode:
authorhyu2010 <henry.yu1@huawei.com>2020-09-09 13:28:37 -0400
committerhyu2010 <henry.yu1@huawei.com>2020-09-09 17:49:49 -0400
commit4cb59fb229a76eaba1906e333230f8ec34026478 (patch)
treed3e86048f8c101ecb23fe93ff1c6f1dd1d1317ff /aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json
parent3fd24c79537eb72274a33f330ac102812dd95fc0 (diff)
Use network-route to model 3GPP EP_Transport
(1) Add logicalInterfaceId attribute to "network-route" (2) Add cousin-edge rule between "service-instance" and "network-route" (one-to-many relation) (3) Add cousin-edge rule between allotted-resource and logical-links (one-to-many relation). This is needed for the TN NSSI model Issue-ID: AAI-2920 Signed-off-by: hyu2010 <henry.yu1@huawei.com> Change-Id: If0efa747bdbcd4a4bc4d73fadde66fe721cbfcb8 Signed-off-by: hyu2010 <henry.yu1@huawei.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json25
1 files changed, 25 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json
index e6001b0..6bf69bf 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json
@@ -109,6 +109,18 @@
"description": ""
},
{
+ "from": "allotted-resource",
+ "to": "logical-link",
+ "label": "org.onap.relationships.inventory.ComposedOf",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": ""
+ },
+ {
"from": "availability-zone",
"to": "complex",
"label": "org.onap.relationships.inventory.LocatedIn",
@@ -5823,6 +5835,19 @@
"prevent-delete": "NONE",
"default": "false",
"description": ""
+ },
+ {
+ "from": "service-instance",
+ "to": "network-route",
+ "label": "org.onap.relationships.inventory.ComposedOf",
+ "direction": "OUT",
+ "multiplicity": "ONE2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "${direction}",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description": ""
}
+
]
}