aboutsummaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/aai_schema
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2018-08-16 15:56:32 +1000
committerKeong Lim <keong.lim@huawei.com>2018-09-11 02:32:35 +1000
commitebefd8cecfc8ea7eb47e349d79aa086662771c60 (patch)
tree9b70358135e4578a2e4bcdcde6dc7c0a0e5f632f /aai-schema/src/main/resources/onap/aai_schema
parente74b5cb2203260c783d114a4afe609169f62fc98 (diff)
AAI-1492 Add ext-aai-network schema for CCVPN uc
Issue-ID: AAI-1492 Add ext-aai-network element to network namespace. Add components from network namespace. Add esr-system-info component. Add EdgeRules from ext-aai-network to esr-system-info, connectivity and all the other schema elements. Make esr-system-info dependentOn ext-aai-network. Change sub-components of ext-aai-network to COUSIN edge as workaround. Add relationship-list as workaround. Change-Id: I8ec11660db7887c5aebcdbe2899c95c457f74e14 Signed-off-by: Keong Lim <keong.lim@huawei.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/aai_schema')
-rw-r--r--aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd37
1 files changed, 36 insertions, 1 deletions
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 22e79614..3058980a 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
@@ -2074,7 +2074,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
<xs:complexType>
<xs:annotation>
<xs:appinfo>
- <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Persist common address information of external systems.",indexedProps="esr-system-info-id,system-name,system-type",searchable="esr-system-info-id,system-name,system-type",container="esr-system-info-list",dependentOn="cloud-region,esr-ems,esr-vnfm,esr-thirdparty-sdnc")</annox:annotate>
+ <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Persist common address information of external systems.",indexedProps="esr-system-info-id,system-name,system-type",searchable="esr-system-info-id,system-name,system-type",container="esr-system-info-list",dependentOn="cloud-region,esr-ems,esr-vnfm,esr-thirdparty-sdnc,ext-aai-network")</annox:annotate>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
@@ -9299,6 +9299,40 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
</xs:sequence>
</xs:complexType>
</xs:element>
+ <xs:element name="ext-aai-network">
+ <xs:complexType>
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Refer to an external AAI in another ONAP.",indexedProps="aai-id",searchable="aai-id",container="ext-aai-networks",namespace="network")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="aai-id" type="xs:string">
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique ID of the referenced AAI.")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="schema-version" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Schema version of the referenced AAI.")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
+ <xs:element ref="tns:esr-system-info" minOccurs="0"/>
+ <xs:element ref="tns:relationship-list" minOccurs="0"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
+ <xs:element name="ext-aai-networks">
+ <xs:complexType>
+ <xs:sequence>
+ <xs:element ref="tns:ext-aai-network" minOccurs="0" maxOccurs="5000"/>
+ </xs:sequence>
+ </xs:complexType>
+ </xs:element>
<xs:element name="network">
<xs:complexType>
<xs:annotation>
@@ -9336,6 +9370,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
<xs:element ref="tns:sdwan-vpns" minOccurs="0"/>
<xs:element ref="tns:devices" minOccurs="0"/>
<xs:element ref="tns:wan-port-configs" minOccurs="0"/>
+ <xs:element ref="tns:ext-aai-networks" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:element>