aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main
diff options
context:
space:
mode:
authorVenkata Harish Kajur <vk250x@att.com>2021-01-22 17:53:12 +0000
committerGerrit Code Review <gerrit@onap.org>2021-01-22 17:53:12 +0000
commit61542d846b0d87aeae9a12fe3a86c4659f5896a3 (patch)
treefd42eef7f9fe2bf12c8ce2d823ba7915abe09d23 /aai-schema/src/main
parent48b51fcb7fe74b9398ea3a083461ba12d97acf2a (diff)
parente477c0a6f564ddf8dea29cc6e2a4c3d684dadf11 (diff)
Merge "Updated AAI schema and DBEdge rules for the MDONS use Case" into guilin
Diffstat (limited to 'aai-schema/src/main')
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json12
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json4
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json12
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_v21.json4
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml6
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v21/aai_oxm_v21.xml6
6 files changed, 10 insertions, 34 deletions
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json
index 883c6ef..2f295e7 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_ccvpn_v20.json
@@ -532,18 +532,6 @@
"prevent-delete": "NONE",
"default": "true",
"description":"For MDONS usecase"
- },
- {
- "from": "label-restriction",
- "to": "bandwidth-attribute",
- "label": "org.onap.relationships.inventory.BelongsTo",
- "direction": "OUT",
- "multiplicity": "MANY2ONE",
- "contains-other-v": "!${direction}",
- "delete-other-v": "!${direction}",
- "prevent-delete": "NONE",
- "default": "true",
- "description":"For MDONS usecase"
}
]
}
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json
index 977af56..a2065da 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v20/DbEdgeRules_v20.json
@@ -1481,9 +1481,9 @@
"to": "logical-link",
"label": "tosca.relationships.network.LinksTo",
"direction": "OUT",
- "multiplicity": "MANY2ONE",
+ "multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "NONE",
+ "delete-other-v": "${direction}",
"prevent-delete": "NONE",
"default": "true",
"description":""
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json
index f1dfae3..0c7e77c 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v21/DbEdgeRules_ccvpn_v21.json
@@ -532,18 +532,6 @@
"prevent-delete": "NONE",
"default": "true",
"description":"For MDONS usecase"
- },
- {
- "from": "label-restriction",
- "to": "bandwidth-attribute",
- "label": "org.onap.relationships.inventory.BelongsTo",
- "direction": "OUT",
- "multiplicity": "MANY2ONE",
- "contains-other-v": "!${direction}",
- "delete-other-v": "!${direction}",
- "prevent-delete": "NONE",
- "default": "true",
- "description":"For MDONS usecase"
}
]
}
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 2c2c0fc..1e748e2 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
@@ -1457,9 +1457,9 @@
"to": "logical-link",
"label": "tosca.relationships.network.LinksTo",
"direction": "OUT",
- "multiplicity": "MANY2ONE",
+ "multiplicity": "MANY2MANY",
"contains-other-v": "NONE",
- "delete-other-v": "NONE",
+ "delete-other-v": "${direction}",
"prevent-delete": "NONE",
"default": "true",
"description": ""
diff --git a/aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml b/aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml
index 41a7e72..0304670 100644
--- a/aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml
+++ b/aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml
@@ -2495,7 +2495,7 @@
</xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v20.RelationshipList"/>
<xml-element java-attribute="availableBandwidthMap" name="available-bandwidth-map" type="inventory.aai.onap.org.v20.AvailableBandwidthMap"/>
- <xml-element java-attribute="OTNLabelRestrictions" name="otn-label-restrictions" type="inventory.aai.onap.org.v20.OTNLabelRestrictions"/>
+ <!--xml-element java-attribute="OTNLabelRestrictions" name="otn-label-restrictions" type="inventory.aai.onap.org.v20.OTNLabelRestrictions"/-->
</java-attributes>
<xml-properties>
<xml-property name="description" value="Instance of a bandwidth-attribute"/>
@@ -2559,7 +2559,7 @@
</xml-properties>
</java-type>
- <java-type name="OTNLabelRestrictions">
+ <!--java-type name="OTNLabelRestrictions">
<xml-properties>
<xml-property name="description" value="Collection of Label Restriction. Added for ENNI in MDONS use case."/>
</xml-properties>
@@ -2607,7 +2607,7 @@
<xml-property name="dependentOn" value="bandwidth-attribute"/>
<xml-property name="requiredProps" value="lr-id"/>
</xml-properties>
- </java-type>
+ </java-type-->
<java-type name="LagInterfaces">
<xml-properties>
diff --git a/aai-schema/src/main/resources/onap/oxm/v21/aai_oxm_v21.xml b/aai-schema/src/main/resources/onap/oxm/v21/aai_oxm_v21.xml
index 716b98b..aff32ee 100644
--- a/aai-schema/src/main/resources/onap/oxm/v21/aai_oxm_v21.xml
+++ b/aai-schema/src/main/resources/onap/oxm/v21/aai_oxm_v21.xml
@@ -3040,7 +3040,7 @@
</xml-element>
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v21.RelationshipList"/>
<xml-element java-attribute="availableBandwidthMap" name="available-bandwidth-map" type="inventory.aai.onap.org.v21.AvailableBandwidthMap"/>
- <xml-element java-attribute="OTNLabelRestrictions" name="otn-label-restrictions" type="inventory.aai.onap.org.v21.OTNLabelRestrictions"/>
+ <!--xml-element java-attribute="OTNLabelRestrictions" name="otn-label-restrictions" type="inventory.aai.onap.org.v21.OTNLabelRestrictions"/-->
</java-attributes>
<xml-properties>
<xml-property name="description" value="Instance of a bandwidth-attribute"/>
@@ -3104,7 +3104,7 @@
</xml-properties>
</java-type>
- <java-type name="OTNLabelRestrictions">
+ <!--java-type name="OTNLabelRestrictions">
<xml-properties>
<xml-property name="description" value="Collection of Label Restriction. Added for ENNI in MDONS use case."/>
</xml-properties>
@@ -3152,7 +3152,7 @@
<xml-property name="dependentOn" value="bandwidth-attribute"/>
<xml-property name="requiredProps" value="lr-id"/>
</xml-properties>
- </java-type>
+ </java-type-->
<java-type name="Vrfs">
<xml-root-element name="vrfs"/>