CCVPN use case SOTN NNI AAI schema 92/99592/3
authorshashikanth.vh <shashikanth.vh@huawei.com>
Fri, 13 Dec 2019 06:07:34 +0000 (11:37 +0530)
committerShashikanth VH <shashikanth.vh@huawei.com>
Fri, 13 Dec 2019 06:18:31 +0000 (06:18 +0000)
AAI schema update for te-link-attribute
Added fields available-bandwidth, odu-type and number.

Change-Id: I484e27853575ee74266ec2061beb49fa8e9ed3a2
Issue-ID: AAI-2593
Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd
aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml

index 9bd7a24..c7f6275 100644 (file)
@@ -9943,6 +9943,27 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
+        <xs:element name="available-bandwidth" type="xs:int" minOccurs="0">
+          <xs:annotation>
+            <xs:appinfo>
+              <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Bandwidth available on link.")</annox:annotate>
+            </xs:appinfo>
+          </xs:annotation>
+        </xs:element>
+        <xs:element name="odu-type" type="xs:string" minOccurs="0">
+          <xs:annotation>
+            <xs:appinfo>
+              <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The type of ODU e.g, ODU1, ODU2, ODU3, ODU4.")</annox:annotate>
+            </xs:appinfo>
+          </xs:annotation>
+        </xs:element>
+        <xs:element name="number" type="xs:int" minOccurs="0">
+          <xs:annotation>
+            <xs:appinfo>
+              <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The value of available bandwidth.")</annox:annotate>
+            </xs:appinfo>
+          </xs:annotation>
+        </xs:element>
         <xs:element name="selflink" type="xs:string" minOccurs="0">
           <xs:annotation>
             <xs:appinfo>
index 9ec8320..2b6bf1b 100644 (file)
                         <xml-property name="description" value="Indicate link access type e.g, point-to-point or multi-access."/>
                     </xml-properties>
                 </xml-element>
+                <xml-element java-attribute="availableBandwidth" name="available-bandwidth" type="java.lang.Integer">
+                    <xml-properties>
+                        <xml-property name="description" value="Bandwidth available on link."/>
+                    </xml-properties>
+                </xml-element>
+                <xml-element java-attribute="oduType" name="odu-type" type="java.lang.String">
+                    <xml-properties>
+                        <xml-property name="description" value="The type of ODU e.g, ODU1, ODU2, ODU3, ODU4."/>
+                    </xml-properties>
+                </xml-element>
+                <xml-element java-attribute="number" name="number" type="java.lang.Integer">
+                    <xml-properties>
+                        <xml-property name="description" value="The value of available bandwidth."/>
+                    </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."/>