diff options
author | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-11-01 14:28:36 -0400 |
---|---|---|
committer | Kajur, Harish (vk250x) <vk250x@att.com> | 2018-11-01 14:33:16 -0400 |
commit | 2a51416d266f0afa29a2246346e6d69cf38384bb (patch) | |
tree | 44bf51a8352e0ed4ff875d15d2ccd7c982027374 | |
parent | fa0792d839d67142e916b12f083e9db067ab5f8d (diff) |
Add priority property to l-interface
Issue-ID: AAI-1820
Change-Id: Iea36a1d1e4c94ea2bc1cd698c482b4fd1db163a9
Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
-rw-r--r-- | aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd | 7 | ||||
-rw-r--r-- | aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml | 5 |
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"/> |