From 20bc1683e3935ccaae2d4452e62cf9179fbce24a Mon Sep 17 00:00:00 2001 From: Keong Lim Date: Wed, 19 Sep 2018 15:39:31 +1000 Subject: 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 --- .../main/resources/onap/aai_schema/aai_schema_v14.xsd | 16 +++++++++++++++- .../src/main/resources/onap/oxm/v14/aai_oxm_v14.xml | 12 +++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) (limited to 'aai-schema/src/main/resources/onap') diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd index ca53e881..2d817f99 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd @@ -9142,7 +9142,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" - @org.onap.aai.annotations.Metadata(description="Instance of a device",indexedProps="device-id,device-name,esn,vendor,class,type,version,system-ip,operational-status",nameProps="device-name",searchable="device-id",uniqueProps="device-id",container="devices",namespace="network") + @org.onap.aai.annotations.Metadata(description="Instance of a device",indexedProps="device-id,device-name,esn,vendor,class,type,version,system-ip,system-ipv4,system-ipv6,operational-status",nameProps="device-name",searchable="device-id",uniqueProps="device-id",container="devices",namespace="network") @@ -9209,6 +9209,20 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.onap.aai.annotations.Metadata(description="Store the system-ipv4 of this device.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the system-ipv6 of this device.") + + + 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 @@ + + + + + + + + + + @@ -8096,7 +8106,7 @@ - + -- cgit 1.2.3-korg