[AAI-130 Amsterdam] parameter standardization
[aai/aai-common.git] / aai-schema / src / main / resources / oxm / aai_oxm_v9.xml
index 0dfc5af..8366cf1 100644 (file)
             </java-attributes>
         </java-type>
 
-        <java-type name="Vnfc">
-            <xml-root-element name="vnfc" />
-            <java-attributes>
-                <xml-element java-attribute="vnfcName" name="vnfc-name" required="true" type="java.lang.String" xml-key="true">
-                    <xml-properties>
-                        <xml-property name="description" value="Unique ID of vnfc." />
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="function code" />
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="type" />
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="prov status of this vnfc" />
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="Orchestration status of this VNF, mastered by APP-C" />
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="ipaddressV4OamVip" name="ipaddress-v4-oam-vip" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="Oam V4 vip address of this vnfc" />
-                    </xml-properties>
-                </xml-element>
-                <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
-                    <xml-properties>
-                        <xml-property name="defaultValue" value="false"/>
-                        <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
-                    </xml-properties>
-                </xml-element>
-                <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
-                    <xml-properties>
-                        <xml-property name="defaultValue" value="false"/>
-                        <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="groupNotation" name="group-notation" type="java.lang.String">
-                    <xml-properties>
-                        <xml-property name="description" value="Group notation of VNFC" />
-                    </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." />
-                    </xml-properties>
-                </xml-element>
-                <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.openecomp.org.v9.RelationshipList" />
-            </java-attributes>
-            <xml-properties>
-                <xml-property name="indexedProps" value="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation" />
-                <xml-property name="searchable" value="vnfc-name" />
-                <xml-property name="container" value="vnfcs" />
-                <xml-property name="namespace" value="network" />
-            </xml-properties>
-        </java-type>
+               <java-type name="Vnfc">
+                       <xml-root-element name="vnfc" />
+                       <java-attributes>
+                               <xml-element java-attribute="vnfcName" name="vnfc-name" required="true" type="java.lang.String" xml-key="true">
+                                       <xml-properties>
+                                               <xml-property name="description" value="Unique ID of vnfc." />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="vnfcFunctionCode" name="vnfc-function-code" required="true" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="function code" />
+                                       <xml-property name="dbAlias" value="nfc-naming-code" />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="vnfcType" name="vnfc-type" required="true" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="type" /><xml-property name="dbAlias" value="nfc-function" />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="prov status of this vnfc" />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="Orchestration status of this VNF, mastered by APP-C" />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="ipaddressV4OamVip" name="ipaddress-v4-oam-vip" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="Oam V4 vip address of this vnfc" />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
+                                       <xml-properties>
+                                               <xml-property name="defaultValue" value="false"/>
+                                               <xml-property name="description" value="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)" />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element default-value="false" required="true" java-attribute="isClosedLoopDisabled" name="is-closed-loop-disabled" type="java.lang.Boolean">
+                                       <xml-properties>
+                                               <xml-property name="defaultValue" value="false"/>
+                                               <xml-property name="description" value="used to indicate whether closed loop function is enabled on this node" />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="groupNotation" name="group-notation" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="Group notation of VNFC" />
+                                       </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." />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.openecomp.org.v9.RelationshipList" />
+                       </java-attributes>
+                       <xml-properties>
+                               <xml-property name="indexedProps" value="vnfc-name,prov-status,vnfc-type,vnfc-function-code,ipaddress-v4-oam-vip,in-maint,is-closed-loop-disabled,group-notation" />
+                               <xml-property name="searchable" value="vnfc-name" />
+                               <xml-property name="container" value="vnfcs" />
+                               <xml-property name="namespace" value="network" />
+                       </xml-properties>
+               </java-type>
 
         <java-type name="L3Networks">
             <xml-root-element name="l3-networks" />