AAI schema change for openstack-region-id 75/58175/2
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Mon, 30 Jul 2018 23:34:07 +0000 (16:34 -0700)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Tue, 11 Sep 2018 15:44:49 +0000 (08:44 -0700)
Decouples OpenStack Region ID and AAI cloud-region-id and reduces
constraint to onboard Openstack VIM. Added odd one more property
to "esr-system-info: object" to store the OpenStack Region ID which is
used by MultiCloud plugin to interact with an OpenStack instance.

Change-Id: I40d8eec74cf3d5c319c659fd3879f8dc371e2855
Issue-ID: MULTICLOUD-287
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd
aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml

index c31850d..9725b6f 100644 (file)
@@ -2211,6 +2211,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
             </xs:appinfo>
           </xs:annotation>
         </xs:element>
+        <xs:element name="openstack-region-id" type="xs:string" minOccurs="0">
+          <xs:annotation>\r
+            <xs:appinfo>\r
+              <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="OpenStack region ID used by MultiCloud plugin to interact with an OpenStack instance.")</annox:annotate>\r
+            </xs:appinfo>\r
+          </xs:annotation>\r
+        </xs:element>
         <xs:element name="resource-version" type="xs:string" minOccurs="0">
           <xs:annotation>
             <xs:appinfo>
index 15ef277..69bea33 100644 (file)
                                                <xml-property name="description" value="the status of external system." />
                                        </xml-properties>
                                </xml-element>
+                               <xml-element java-attribute="openstackRegionId" name="openstack-region-id" type="java.lang.String">
+                                       <xml-properties>
+                                                  <xml-property name="description" value="OpenStack region ID used by MultiCloud plugin to interact with an OpenStack instance." />
+                                       </xml-properties>
+                               </xml-element>
                                <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
                                        <xml-properties>
                                                <xml-property name="description" value="Used for optimistic concurrency.  Must be empty on create, valid on update and delete." />