aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src
diff options
context:
space:
mode:
Diffstat (limited to 'aai-schema/src')
-rw-r--r--aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd7
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml5
2 files changed, 12 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd
index d03fc97b..f252a1f3 100644
--- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd
+++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd
@@ -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"/>
diff --git a/aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml b/aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml
index 8d54c0ba..3b46a704 100644
--- a/aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml
+++ b/aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml
@@ -1200,6 +1200,11 @@
<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"/>