From 4cb59fb229a76eaba1906e333230f8ec34026478 Mon Sep 17 00:00:00 2001 From: hyu2010 Date: Wed, 9 Sep 2020 13:28:37 -0400 Subject: 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 Change-Id: If0efa747bdbcd4a4bc4d73fadde66fe721cbfcb8 Signed-off-by: hyu2010 --- .../onap/dbedgerules/v21/DbEdgeRules_v21.json | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'aai-schema/src/main/resources/onap/dbedgerules/v21') 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 @@ -108,6 +108,18 @@ "default": "true", "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", @@ -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": "" } + ] } -- cgit 1.2.3-korg