aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/oxm
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/oxm
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/oxm')
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml6
1 files changed, 6 insertions, 0 deletions
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 1d36c7c..121897f 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
@@ -8437,6 +8437,11 @@
<xml-property name="description" value="Store the id of the te-topo of this network-resource."/>
</xml-properties>
</xml-element>
+ <xml-element java-attribute="networkResourceType" name="network-resource-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of a network topology, e.g., Ethernet, OTN, WSON."/>
+ </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."/>
@@ -10037,6 +10042,7 @@
<xml-property name="container" value="endpoints"/>
<xml-property name="uriTemplate" value="/endpoints/endpoint/{endpoint-id}"/>
<xml-property name="searcheable" value="endpoint-id"/>
+ <xml-property name="requiredProps" value="endpoint-id"/>
</xml-properties>
</java-type>
<java-type name="Endpoints">