aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources
diff options
context:
space:
mode:
authorRahul_cool <rahul.tamrkar@huawei.com>2020-04-17 17:47:22 +0530
committerJames Forsyth <jf2512@att.com>2020-04-22 21:11:11 +0000
commit45daf29ffd6230da5b2df1507c9c47b14180227c (patch)
tree2a2bedd8ee3d298254af8864cc23f776965fe52b /aai-schema/src/main/resources
parent2c231432261d41be7a9a2e0b5308700bc5b9fbc9 (diff)
sotn nni integration test issue fix
1. te-link-attribute resource unable to query issue fix 2.logical-link relationship with te-link-attribute update 3.label-restriction relationship with te-link-attribute update 4.interlayer-attachment relationship with p-interface update Issue-ID: AAI-2593 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I227a8af5ebbe2897d82f56fab0d8acef59fda9b4 (cherry picked from commit 90904124f3b392d3bb9b7cdd1a611bbc54f654b3)
Diffstat (limited to 'aai-schema/src/main/resources')
-rw-r--r--aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd18
-rw-r--r--aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json98
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml17
3 files changed, 81 insertions, 52 deletions
diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd
index b07c1e1..de0859b 100644
--- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd
+++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd
@@ -10582,7 +10582,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
<xs:complexType>
<xs:annotation>
<xs:appinfo>
- <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Instance of an te-link-attribute",indexedProps="id,labelStart,labelEnd,rangeBitmap,operational-status,model-invariant-id,model-version-id",searchable="id",uniqueProps="id",container="label-restrictions",namespace="network",requiredProps="id",uriTemplate="/network/label-restrictions/label-restriction/{id}")</annox:annotate>
+ <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Instance of an label restriction",indexedProps="id,label-start,label-end,range-bitmap,operational-status,model-invariant-id,model-version-id",searchable="id",uniqueProps="id",container="label-restrictions",namespace="network",requiredProps="id",uriTemplate="/network/label-restrictions/label-restriction/{id}")</annox:annotate>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
@@ -10798,7 +10798,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
<xs:complexType>
<xs:annotation>
<xs:appinfo>
- <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Instance of an te-link-attribute",indexedProps="id,linkProtectionType,accessType,operational-status,model-invariant-id,model-version-id",searchable="id",uniqueProps="id",container="te-link-attributes",namespace="network",requiredProps="id",uriTemplate="/network/te-link-attributes/te-link-attribute/{id}")</annox:annotate>
+ <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Instance of an te-link-attribute",indexedProps="id,link-protection-type,access-type,operational-status,model-invariant-id,model-version-id",searchable="id",uniqueProps="id",container="te-link-attributes",namespace="network",requiredProps="id",uriTemplate="/network/te-link-attributes/te-link-attribute/{id}")</annox:annotate>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
@@ -10809,13 +10809,6 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
</xs:appinfo>
</xs:annotation>
</xs:element>
- <xs:element name="is-abstract" type="xs:boolean" minOccurs="0">
- <xs:annotation>
- <xs:appinfo>
- <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Indicate wheather link is abstract or native")</annox:annotate>
- </xs:appinfo>
- </xs:annotation>
- </xs:element>
<xs:element name="link-protection-type" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:appinfo>
@@ -10851,6 +10844,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
</xs:appinfo>
</xs:annotation>
</xs:element>
+ <xs:element name="is-abstract" type="xs:boolean" minOccurs="0">
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Indicate wheather link is abstract or native")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
<xs:element name="selflink" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:appinfo>
diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json
index 5856f20..396d970 100644
--- a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json
+++ b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_ccvpn_v19.json
@@ -216,6 +216,30 @@
"default": "true",
"description":"For CCVPN Usecase"
},
+ {
+ "from": "connectivity",
+ "to": "generic-vnf",
+ "label": "org.onap.relationships.inventory.PartOf",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":"For CCVPN Usecase"
+ },
+ {
+ "from": "uni",
+ "to": "generic-vnf",
+ "label": "org.onap.relationships.inventory.PartOf",
+ "direction": "OUT",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "NONE",
+ "prevent-delete": "NONE",
+ "default": "true",
+ "description":"For CCVPN Usecase"
+ },
{
"from": "site-resource",
"to": "generic-vnf",
@@ -401,84 +425,88 @@
"to": "pnf",
"label": "tosca.relationships.network.BindsTo",
"direction": "OUT",
- "multiplicity": "MANY2ONE",
- "contains-other-v": "!${direction}",
- "delete-other-v": "NONE",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "!${direction}",
"prevent-delete": "NONE",
"default": "true",
- "description":""
+ "description":"For CCVPN Usecase"
},
{
"from": "p-interface",
"to": "tunnel-termination-point",
"label": "tosca.relationships.network.BindsTo",
"direction": "OUT",
- "multiplicity": "MANY2ONE",
- "contains-other-v": "${direction}",
- "delete-other-v": "NONE",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "!${direction}",
"prevent-delete": "NONE",
"default": "true",
- "description":""
+ "description":"For CCVPN Usecase"
},
{
"from": "p-interface",
"to": "interlayer-attachment",
- "label": "tosca.relationships.network.BindsTo",
+ "label": "tosca.relationships.network.LinksTo",
"direction": "OUT",
- "multiplicity": "MANY2ONE",
- "contains-other-v": "${direction}",
- "delete-other-v": "NONE",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "!${direction}",
"prevent-delete": "NONE",
"default": "true",
- "description":""
+ "description":"For CCVPN Usecase"
+
},
{
"from": "tunnel-termination-point",
"to": "interlayer-attachment",
- "label": "tosca.relationships.network.BindsTo",
+ "label": "tosca.relationships.network.LinksTo",
"direction": "OUT",
- "multiplicity": "MANY2ONE",
- "contains-other-v": "${direction}",
- "delete-other-v": "NONE",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "!${direction}",
"prevent-delete": "NONE",
"default": "true",
- "description":""
+ "description":"For CCVPN Usecase"
+
},
{
- "from": "p-interface",
- "to": "uni",
- "label": "tosca.relationships.network.BindsTo",
+ "from": "uni",
+ "to": "p-interface",
+ "label": "org.onap.relationships.inventory.PartOf",
"direction": "OUT",
- "multiplicity": "MANY2ONE",
- "contains-other-v": "${direction}",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
"delete-other-v": "NONE",
"prevent-delete": "NONE",
"default": "true",
- "description":""
+ "description":"For CCVPN Usecase"
},
{
"from": "logical-link",
"to": "te-link-attribute",
- "label": "tosca.relationships.network.BindsTo",
+ "label": "tosca.relationships.network.LinksTo",
"direction": "OUT",
- "multiplicity": "ONE2ONE",
- "contains-other-v": "${direction}",
- "delete-other-v": "NONE",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "!${direction}",
"prevent-delete": "NONE",
"default": "true",
- "description":""
+ "description":"For CCVPN Usecase"
+
},
{
"from": "label-restriction",
- "to": "te-link-attributes",
- "label": "tosca.relationships.network.BindsTo",
+ "to": "te-link-attribute",
+ "label": "tosca.relationships.network.LinksTo",
"direction": "OUT",
- "multiplicity": "MANY2ONE",
- "contains-other-v": "${direction}",
- "delete-other-v": "NONE",
+ "multiplicity": "MANY2MANY",
+ "contains-other-v": "NONE",
+ "delete-other-v": "!${direction}",
"prevent-delete": "NONE",
"default": "true",
- "description":""
+ "description":"For CCVPN Usecase"
+
},
{
"from": "bandwidth-attribute",
diff --git a/aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml b/aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml
index 076cc2e..9284501 100644
--- a/aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml
+++ b/aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml
@@ -9148,11 +9148,6 @@
<xml-property name="description" value="Id that identifies the TE link attribute"/>
</xml-properties>
</xml-element>
- <xml-element java-attribute="isAbstract" name="is-abstract" type="java.lang.Boolean">
- <xml-properties>
- <xml-property name="description" value="Indicate wheather link is abstract or native"/>
- </xml-properties>
- </xml-element>
<xml-element java-attribute="linkProtectionType" name="link-protection-type" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Indicate desired protection type of the link e.g, unprotected, shared or 1+1"/>
@@ -9178,6 +9173,12 @@
<xml-property name="description" value="The value of available bandwidth."/>
</xml-properties>
</xml-element>
+ <xml-element java-attribute="isAbstract" name="is-abstract" type="java.lang.Boolean">
+ <xml-properties>
+ <xml-property name="description" value="Indicate wheather link is abstract or native"/>
+ </xml-properties>
+ </xml-element>
+
<xml-element java-attribute="selflink" name="selflink" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Store the link to get more information for this object."/>
@@ -9219,7 +9220,7 @@
</java-attributes>
<xml-properties>
<xml-property name="description" value="Instance of an te-link-attribute"/>
- <xml-property name="indexedProps" value="id,linkProtectionType,accessType,operational-status,model-invariant-id,model-version-id"/>
+ <xml-property name="indexedProps" value="id,link-protection-type,access-type,operational-status,model-invariant-id,model-version-id"/>
<xml-property name="searchable" value="id"/>
<xml-property name="uniqueProps" value="id"/>
<xml-property name="container" value="te-link-attributes"/>
@@ -9326,8 +9327,8 @@
<xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v19.RelationshipList"/>
</java-attributes>
<xml-properties>
- <xml-property name="description" value="Instance of an te-link-attribute"/>
- <xml-property name="indexedProps" value="id,labelStart,labelEnd,rangeBitmap,operational-status,model-invariant-id,model-version-id"/>
+ <xml-property name="description" value="Instance of an label restriction"/>
+ <xml-property name="indexedProps" value="id,label-start,label-end,range-bitmap,operational-status,model-invariant-id,model-version-id"/>
<xml-property name="searchable" value="id"/>
<xml-property name="uniqueProps" value="id"/>
<xml-property name="container" value="label-restrictions"/>