summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/aai_schema
diff options
context:
space:
mode:
authorhyu2010 <henry.yu1@huawei.com>2020-08-27 16:31:29 -0400
committerhyu2010 <henry.yu1@huawei.com>2020-08-27 17:50:08 -0400
commit87391a0f8382a83a8a33f218c64115b9f3230588 (patch)
treeb3ad89ba74a52b0df3287117b113babfdb7ee717 /aai-schema/src/main/resources/onap/aai_schema
parent9f7b514b6ed13a58a0170c37387cc5be986ceec6 (diff)
Add network-resource-type to network-resource
(1) For E2E network slicing usecase, UUI needs to determine the network topology type, e.g., Ethernet or OTN, based on a network-resource. So, network-resource-type attribute is added to network-resource. (2) Specify endpoint-id as the required attribute of endpoint Issue-ID: AAI-2920 Signed-off-by: hyu2010 <henry.yu1@huawei.com> Change-Id: I020bdfce34a8d86c5be50110a7e7905ee3fefdbc
Diffstat (limited to 'aai-schema/src/main/resources/onap/aai_schema')
-rw-r--r--aai-schema/src/main/resources/onap/aai_schema/aai_schema_v20.xsd11
1 files changed, 9 insertions, 2 deletions
diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v20.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v20.xsd
index fbce150..4026bac 100644
--- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v20.xsd
+++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v20.xsd
@@ -4263,7 +4263,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
</xs:sequence>
</xs:complexType>
</xs:element>
- <xs:element name="ip-address">
+ <xs:element name="ip-address">
<xs:complexType>
<xs:annotation>
<xs:appinfo>
@@ -4339,7 +4339,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="Endpoint object.",uniqueProps="endpoint-id",indexedProps="endpoint-id",container="endpoints",uriTemplate="/endpoints/endpoint/{endpoint-id}",searcheable="endpoint-id")</annox:annotate>
+ <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Endpoint object.",uniqueProps="endpoint-id",indexedProps="endpoint-id",container="endpoints",uriTemplate="/endpoints/endpoint/{endpoint-id}",searcheable="endpoint-id",requiredProps="endpoint-id")</annox:annotate>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
@@ -10154,6 +10154,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
</xs:appinfo>
</xs:annotation>
</xs:element>
+ <xs:element name="network-resource-type" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Type of a network topology, e.g., Ethernet, OTN, WSON.")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
<xs:element name="selflink" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:appinfo>