Add priority property to l-interface 66/71666/2
authorKajur, Harish (vk250x) <vk250x@att.com>
Thu, 1 Nov 2018 18:28:36 +0000 (14:28 -0400)
committerKajur, Harish (vk250x) <vk250x@att.com>
Thu, 1 Nov 2018 18:33:16 +0000 (14:33 -0400)
Issue-ID: AAI-1820
Change-Id: Iea36a1d1e4c94ea2bc1cd698c482b4fd1db163a9
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd
aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml

index d03fc97..f252a1f 100644 (file)
@@ -1191,6 +1191,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
+        <xs:element name="priority" type="xs:int" minOccurs="0">
+          <xs:annotation>
+            <xs:appinfo>
+              <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Priority used for fail-over. Valid values 1-1024, with 1 being the highest priority.")</annox:annotate>
+            </xs:appinfo>
+          </xs:annotation>
+        </xs:element>
         <xs:element ref="tns:vlans" minOccurs="0"/>
         <xs:element ref="tns:sriov-vfs" minOccurs="0"/>
         <xs:element ref="tns:l-interfaces" minOccurs="0"/>
index 8d54c0b..3b46a70 100644 (file)
                         <xml-property name="description" value="Freeform field for storing an ip address, list of ip addresses or a subnet block."/>
                     </xml-properties>
                 </xml-element>
+                <xml-element java-attribute="priority" name="priority" type="java.lang.Integer">
+                    <xml-properties>
+                        <xml-property name="description" value="Priority used for fail-over. Valid values 1-1024, with 1 being the highest priority."/>
+                    </xml-properties>
+                </xml-element>
                 <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.v15.Vlans"/>
                 <xml-element java-attribute="sriovVfs" name="sriov-vfs" type="inventory.aai.onap.org.v15.SriovVfs"/>
                 <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.v15.LInterfaces"/>