summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2018-09-19 15:39:31 +1000
committerKeong Lim <keong.lim@huawei.com>2018-09-19 15:39:31 +1000
commit20bc1683e3935ccaae2d4452e62cf9179fbce24a (patch)
tree2be7cfa2b28ffc9595228f6c0859ca3fe9aed06e /aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml
parentcd1cb5c7b928a6d0c68a180f9966eaffb66e643f (diff)
AAI-1638 Update device schema to support IPv4/IPv6
Issue-ID: AAI-1638 Update device with system-ipv4 and system-ipv6. For compatibility, keep system-ip as previously published, but plan to deprecate and remove it. Change-Id: I740a58d4e4125983fc09af48bd0b4ba786af77f1 Signed-off-by: Keong Lim <keong.lim@huawei.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml')
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml
index 73b6c008..f2387947 100644
--- a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml
+++ b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml
@@ -8055,6 +8055,16 @@
<xml-property name="description" value="Store the system-ip of this device." />
</xml-properties>
</xml-element>
+ <xml-element java-attribute="systemIpv4" name="system-ipv4" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Store the system-ipv4 of this device." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="systemIpv6" name="system-ipv6" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Store the system-ipv6 of this device." />
+ </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." />
@@ -8096,7 +8106,7 @@
</java-attributes>
<xml-properties>
<xml-property name="description" value="Instance of a device" />
- <xml-property name="indexedProps" value="device-id,device-name,esn,vendor,class,type,version,system-ip,operational-status" />
+ <xml-property name="indexedProps" value="device-id,device-name,esn,vendor,class,type,version,system-ip,system-ipv4,system-ipv6,operational-status" />
<xml-property name="nameProps" value="device-name" />
<xml-property name="searchable" value="device-id" />
<xml-property name="uniqueProps" value="device-id" />