Add ability to have optional params
[aai/aai-common.git] / aai-core / src / test / resources / bundleconfig-local / etc / oxm / aai_oxm_v2.xml
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!--
3
4     ============LICENSE_START=======================================================
5     org.onap.aai
6     ================================================================================
7     Copyright © 2017 AT&T Intellectual Property. All rights reserved.
8     ================================================================================
9     Licensed under the Apache License, Version 2.0 (the "License");
10     you may not use this file except in compliance with the License.
11     You may obtain a copy of the License at
12
13        http://www.apache.org/licenses/LICENSE-2.0
14
15     Unless required by applicable law or agreed to in writing, software
16     distributed under the License is distributed on an "AS IS" BASIS,
17     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18     See the License for the specific language governing permissions and
19     limitations under the License.
20     ============LICENSE_END=========================================================
21
22     ECOMP is a trademark and service mark of AT&T Intellectual Property.
23
24 -->
25 <xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org" xml-mapping-metadata-complete="true">
26         <xml-schema element-form-default="QUALIFIED">
27                 <xml-ns namespace-uri="http://org.openecomp.aai.inventory" />
28         </xml-schema>
29         <java-types>
30                 <java-type name="Inventory">
31                         <xml-root-element name="inventory" />
32                         <java-attributes>
33                                 <xml-element java-attribute="search" name="search" type="inventory.aai.onap.org.Search" />
34                                 <xml-element java-attribute="actions" name="actions" type="inventory.aai.onap.org.Actions" />
35                                 <xml-element java-attribute="cloudInfrastructure" name="cloud-infrastructure" type="inventory.aai.onap.org.CloudInfrastructure" />
36                                 <xml-element java-attribute="business" name="business" type="inventory.aai.onap.org.Business" />
37                                 <xml-element java-attribute="serviceDesignAndCreation" name="service-design-and-creation" type="inventory.aai.onap.org.ServiceDesignAndCreation" />
38                                 <xml-element java-attribute="network" name="network" type="inventory.aai.onap.org.Network" />
39                                 <xml-element java-attribute="aaiInternal" name="aai-internal" type="inventory.aai.onap.org.AaiInternal" />
40                         </java-attributes>
41                 </java-type>
42
43                 <java-type name="Search">
44                         <xml-root-element name="search" />
45                         <java-attributes>
46                                 <xml-element java-attribute="searchResults" name="search-results" type="inventory.aai.onap.org.SearchResults" />
47                                 <xml-element java-attribute="sdnZoneResponse" name="sdn-zone-response" type="inventory.aai.onap.org.SdnZoneResponse" />
48                         </java-attributes>
49                 </java-type>
50
51                 <java-type name="SearchResults">
52                         <xml-root-element name="search-results" />
53                         <java-attributes>
54                                 <xml-element container-type="java.util.ArrayList" java-attribute="resultData" name="result-data" type="inventory.aai.onap.org.ResultData" />
55                         </java-attributes>
56                 </java-type>
57
58                 <java-type name="ResultData">
59                         <xml-root-element name="result-data" />
60                         <java-attributes>
61                                 <xml-element java-attribute="resourceType" name="resource-type" type="java.lang.String">
62                                         <xml-properties>
63                                                 <xml-property name="description" value="The specific type of node in the A&amp;AI graph" />
64                                         </xml-properties>
65                                 </xml-element>
66                                 <xml-element java-attribute="resourceLink" name="resource-link" type="java.lang.String">
67                                         <xml-properties>
68                                                 <xml-property name="description" value="The URL to the specific resource" />
69                                         </xml-properties>
70                                 </xml-element>
71                         </java-attributes>
72                 </java-type>
73                 <java-type name="SdnZoneResponse">
74                         <xml-root-element name="sdn-zone-response" />
75                         <java-attributes>
76                                 <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.OamNetworks" />
77                                 <xml-element container-type="java.util.ArrayList" java-attribute="azAndDvsSwitches" name="az-and-dvs-switches" type="inventory.aai.onap.org.AzAndDvsSwitches" />
78                         </java-attributes>
79                 </java-type>
80
81                 <java-type name="AzAndDvsSwitches">
82                         <xml-root-element name="az-and-dvs-switches" />
83                         <java-attributes>
84                                 <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.DvsSwitches" />
85                                 <xml-element java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.AvailabilityZone" />
86                         </java-attributes>
87                 </java-type>
88
89                 <java-type name="Actions">
90                         <xml-properties>
91                                 <xml-property name="description" value="Ignore the RESTCONF paths for this. It will be aai/{version}/actions/update only." />
92                         </xml-properties>
93                         <xml-root-element name="actions" />
94                         <java-attributes>
95                                 <xml-element java-attribute="update" name="update" type="inventory.aai.onap.org.Update" />
96                         </java-attributes>
97                 </java-type>
98
99                 <java-type name="Update">
100                         <xml-root-element name="update" />
101                         <java-attributes>
102                                 <xml-element java-attribute="updateNodeType" name="update-node-type" required="true" type="java.lang.String" />
103                                 <xml-element container-type="java.util.ArrayList" java-attribute="action" name="action" type="inventory.aai.onap.org.Action" />
104                                 <xml-element container-type="java.util.ArrayList" java-attribute="updateNodeKey" name="update-node-key" type="inventory.aai.onap.org.UpdateNodeKey" />
105                         </java-attributes>
106                 </java-type>
107
108                 <java-type name="Action">
109                         <xml-root-element name="action" />
110                         <java-attributes>
111                                 <xml-element java-attribute="actionType" name="action-type" type="java.lang.String" />
112                                 <xml-element container-type="java.util.ArrayList" java-attribute="actionData" name="action-data" type="inventory.aai.onap.org.ActionData" />
113                         </java-attributes>
114                 </java-type>
115
116                 <java-type name="ActionData">
117                         <xml-root-element name="action-data" />
118                         <java-attributes>
119                                 <xml-element java-attribute="propertyName" name="property-name" type="java.lang.String" />
120                                 <xml-element java-attribute="propertyValue" name="property-value" type="java.lang.String" />
121                         </java-attributes>
122                 </java-type>
123
124                 <java-type name="UpdateNodeKey">
125                         <xml-root-element name="update-node-key" />
126                         <java-attributes>
127                                 <xml-element java-attribute="keyName" name="key-name" type="java.lang.String" />
128                                 <xml-element java-attribute="keyValue" name="key-value" type="java.lang.String" />
129                         </java-attributes>
130                 </java-type>
131
132                 <java-type name="CloudInfrastructure">
133                         <xml-root-element name="cloud-infrastructure" />
134                         <java-attributes>
135                                 <xml-element java-attribute="complexes" name="complexes" type="inventory.aai.onap.org.Complexes" />
136                                 <xml-element java-attribute="tenants" name="tenants" type="inventory.aai.onap.org.Tenants" />
137                                 <xml-element java-attribute="flavors" name="flavors" type="inventory.aai.onap.org.Flavors" />
138                                 <xml-element java-attribute="images" name="images" type="inventory.aai.onap.org.Images" />
139                                 <xml-element java-attribute="dvsSwitches" name="dvs-switches" type="inventory.aai.onap.org.DvsSwitches" />
140                                 <xml-element java-attribute="pservers" name="pservers" type="inventory.aai.onap.org.Pservers" />
141                                 <xml-element java-attribute="oamNetworks" name="oam-networks" type="inventory.aai.onap.org.OamNetworks" />
142                                 <xml-element java-attribute="availabilityZones" name="availability-zones" type="inventory.aai.onap.org.AvailabilityZones" />
143                                 <xml-element java-attribute="virtualDataCenters" name="virtual-data-centers" type="inventory.aai.onap.org.VirtualDataCenters" />
144                         </java-attributes>
145                 </java-type>
146
147                 <java-type name="Complexes">
148                         <xml-properties>
149                                 <xml-property name="description" value="Complex housing an LCP instance. In 1504, this data comes from RCT in a file processed on a schedule defined in crontab. A&amp;AI has code to parse the file and take action on the graph using our REST APIs." />
150                         </xml-properties>
151                         <xml-root-element name="complexes" />
152                         <java-attributes>
153                                 <xml-element container-type="java.util.ArrayList" java-attribute="complex" name="complex" type="inventory.aai.onap.org.Complex" />
154                         </java-attributes>
155                 </java-type>
156
157                 <java-type name="Complex">
158                         <xml-root-element name="complex" />
159                         <java-attributes>
160                                 <xml-element java-attribute="physicalLocationId" name="physical-location-id" required="true" type="java.lang.String" xml-key="true">
161                                         <xml-properties>
162                                                 <xml-property name="description" value="Unique identifier for physical location, e.g., CLLI" />
163                                         </xml-properties>
164                                 </xml-element>
165                                 <xml-element java-attribute="dataCenterCode" name="data-center-code" type="java.lang.String">
166                                         <xml-properties>
167                                                 <xml-property name="description" value="Data center code which can be an alternate way to identify a complex" />
168                                         </xml-properties>
169                                 </xml-element>
170                                 <xml-element java-attribute="complexName" name="complex-name" type="java.lang.String">
171                                         <xml-properties>
172                                                 <xml-property name="description" value="Gamma complex name for LCP instance." />
173                                         </xml-properties>
174                                 </xml-element>
175                                 <xml-element java-attribute="physicalLocationType" name="physical-location-type" required="true" type="java.lang.String">
176                                         <xml-properties>
177                                                 <xml-property name="description" value="Type, e.g., central office, data center." />
178                                         </xml-properties>
179                                 </xml-element>
180                                 <xml-element java-attribute="street1" name="street1" required="true" type="java.lang.String" />
181                                 <xml-element java-attribute="street2" name="street2" type="java.lang.String" />
182                                 <xml-element java-attribute="city" name="city" required="true" type="java.lang.String" />
183                                 <xml-element java-attribute="state" name="state" required="true" type="java.lang.String" />
184                                 <xml-element java-attribute="postalCode" name="postal-code" required="true" type="java.lang.String" />
185                                 <xml-element java-attribute="country" name="country" required="true" type="java.lang.String" />
186                                 <xml-element java-attribute="region" name="region" required="true" type="java.lang.String" />
187                                 <xml-element java-attribute="latitude" name="latitude" type="java.lang.String" />
188                                 <xml-element java-attribute="longitude" name="longitude" type="java.lang.String" />
189                                 <xml-element java-attribute="elevation" name="elevation" type="java.lang.String" />
190                                 <xml-element java-attribute="lata" name="lata" type="java.lang.String" />
191                                 <xml-element java-attribute="ctagPools" name="ctag-pools" type="inventory.aai.onap.org.CtagPools" />
192                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
193                         </java-attributes>
194                         <xml-properties>
195                                 <xml-property name="indexedProps" value="data-center-code,complex-name,physical-location-id" />
196                                 <xml-property name="uniqueProps" value="physical-location-id" />
197                                 <xml-property name="container" value="complexes" />
198                                 <xml-property name="namespace" value="cloud-infrastructure" />
199                         </xml-properties>
200                 </java-type>
201
202                 <java-type name="RelationshipList">
203                         <xml-root-element name="relationship-list" />
204                         <java-attributes>
205                                 <xml-element container-type="java.util.ArrayList" java-attribute="relationship" name="relationship" type="inventory.aai.onap.org.Relationship" />
206                         </java-attributes>
207                 </java-type>
208
209                 <java-type name="Relationship">
210                         <xml-root-element name="relationship" />
211                         <java-attributes>
212                                 <xml-element java-attribute="relatedTo" name="related-to" type="java.lang.String">
213                                         <xml-properties>
214                                                 <xml-property name="description" value="A keyword provided by A&amp;AI to indicate type of node." />
215                                         </xml-properties>
216                                 </xml-element>
217                                 <xml-element java-attribute="relatedLink" name="related-link" type="java.lang.String">
218                                         <xml-properties>
219                                                 <xml-property name="description" value="URL to the object in A&amp;AI." />
220                                         </xml-properties>
221                                 </xml-element>
222                                 <xml-element container-type="java.util.ArrayList" java-attribute="relationshipData" name="relationship-data" type="inventory.aai.onap.org.RelationshipData" />
223                         </java-attributes>
224                 </java-type>
225
226                 <java-type name="RelationshipData">
227                         <xml-root-element name="relationship-data" />
228                         <java-attributes>
229                                 <xml-element java-attribute="relationshipKey" name="relationship-key" required="true" type="java.lang.String">
230                                         <xml-properties>
231                                                 <xml-property name="description" value="A keyword provided by A&amp;AI to indicate an attribute." />
232                                         </xml-properties>
233                                 </xml-element>
234                                 <xml-element java-attribute="relationshipValue" name="relationship-value" required="true" type="java.lang.String">
235                                         <xml-properties>
236                                                 <xml-property name="description" value="Value of the attribute." />
237                                         </xml-properties>
238                                 </xml-element>
239                         </java-attributes>
240                 </java-type>
241
242                 <java-type name="CtagPools">
243                         <xml-root-element name="ctag-pools" />
244                         <java-attributes>
245                                 <xml-element container-type="java.util.ArrayList" java-attribute="ctagPool" name="ctag-pool" type="inventory.aai.onap.org.CtagPool" />
246                         </java-attributes>
247                 </java-type>
248
249                 <java-type name="CtagPool">
250                         <xml-root-element name="ctag-pool" />
251                         <java-attributes>
252                                 <xml-element java-attribute="targetPe" name="target-pe" required="true" type="java.lang.String" xml-key="true">
253                                         <xml-properties>
254                                                 <xml-property name="description" value="The Target provider edge router" />
255                                         </xml-properties>
256                                 </xml-element>
257                                 <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
258                                         <xml-properties>
259                                                 <xml-property name="description" value="Name of the availability zone" />
260                                         </xml-properties>
261                                 </xml-element>
262                                 <xml-element java-attribute="ctagPoolPurpose" name="ctag-pool-purpose" required="true" type="java.lang.String">
263                                         <xml-properties>
264                                                 <xml-property name="description" value="" />
265                                         </xml-properties>
266                                 </xml-element>
267                                 <xml-element java-attribute="ctagValues" name="ctag-values" type="java.lang.String">
268                                         <xml-properties>
269                                                 <xml-property name="description" value="Comma separated list of ctags" />
270                                         </xml-properties>
271                                 </xml-element>
272                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
273                         </java-attributes>
274                         <xml-properties>
275                                 <xml-property name="indexedProps" value="availability-zone-name" />
276                                 <xml-property name="dependentOn" value="complex" />
277                                 <xml-property name="container" value="ctag-pools" />
278                         </xml-properties>
279                 </java-type>
280
281                 <java-type name="Tenants">
282                         <xml-properties>
283                                 <xml-property name="description" value="OpenStack tenant. In 1504, RO will PUT the tenant to A&amp;AI. Relationship list is used to link to service-subscription." />
284                         </xml-properties>
285                         <xml-root-element name="tenants" />
286                         <java-attributes>
287                                 <xml-element container-type="java.util.ArrayList" java-attribute="tenant" name="tenant" type="inventory.aai.onap.org.Tenant" />
288                         </java-attributes>
289                 </java-type>
290
291                 <java-type name="Tenant">
292                         <xml-root-element name="tenant" />
293                         <java-attributes>
294                                 <xml-element java-attribute="tenantId" name="tenant-id" required="true" type="java.lang.String" xml-key="true">
295                                         <xml-properties>
296                                                 <xml-property name="description" value="Unique id relative to the platform, assuming unique across AT&amp;T for now" />
297                                         </xml-properties>
298                                 </xml-element>
299                                 <xml-element java-attribute="tenantName" name="tenant-name" required="true" type="java.lang.String">
300                                         <xml-properties>
301                                                 <xml-property name="description" value="Readable name of tenant" />
302                                         </xml-properties>
303                                 </xml-element>
304                                 <xml-element java-attribute="vservers" name="vservers" type="inventory.aai.onap.org.Vservers" />
305                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
306                         </java-attributes>
307                         <xml-properties>
308                                 <xml-property name="description" value="Relationship-list must include related to of service-subscription and keys for global-customer-id and service-type." />
309                                 <xml-property name="nameProps" value="tenant-name" />
310                                 <xml-property name="indexedProps" value="tenant-id" />
311                                 <xml-property name="uniqueProps" value="tenant-id" />
312                                 <xml-property name="container" value="tenants" />
313                                 <xml-property name="namespace" value="cloud-infrastructure" />
314                         </xml-properties>
315                 </java-type>
316
317                 <java-type name="Vservers">
318                         <xml-properties>
319                                 <xml-property name="description" value="Virtual Server, with its ipaddresses and block storage volumes. In 1504, this REST interface is unused. Instead, the hand coded vserver REST API from Trinity was modified to take the relationship list structure. In 1507, we hope to negotiate with RO to change to use our Yang-driven vserver, image, flavor, etc. Relationship list is used to link to VNF (vce and generic-vnf, etc.)." />
320                         </xml-properties>
321                         <xml-root-element name="vservers" />
322                         <java-attributes>
323                                 <xml-element container-type="java.util.ArrayList" java-attribute="vserver" name="vserver" type="inventory.aai.onap.org.Vserver" />
324                         </java-attributes>
325                 </java-type>
326
327                 <java-type name="Vserver">
328                         <xml-root-element name="vserver" />
329                         <java-attributes>
330                                 <xml-element java-attribute="vserverId" name="vserver-id" required="true" type="java.lang.String" xml-key="true">
331                                         <xml-properties>
332                                                 <xml-property name="description" value="Unique identifier for this vserver relative to its tenant" />
333                                         </xml-properties>
334                                 </xml-element>
335                                 <xml-element java-attribute="vserverName" name="vserver-name" required="true" type="java.lang.String">
336                                         <xml-properties>
337                                                 <xml-property name="description" value="Name of vserver" />
338                                         </xml-properties>
339                                 </xml-element>
340                                 <xml-element java-attribute="vserverName2" name="vserver-name2" type="java.lang.String">
341                                         <xml-properties>
342                                                 <xml-property name="description" value="Alternative name of vserver" />
343                                         </xml-properties>
344                                 </xml-element>
345                                 <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
346                                         <xml-properties>
347                                                 <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
348                                                 <xml-property name="readOnly" value="legacy-v2" />
349                                         </xml-properties>
350                                 </xml-element>
351                                 <xml-element java-attribute="vserverSelflink" name="vserver-selflink" required="true" type="java.lang.String">
352                                         <xml-properties>
353                                                 <xml-property name="description" value="URL that points to source of truth for this resource" />
354                                         </xml-properties>
355                                 </xml-element>
356                                 <xml-element java-attribute="volumes" name="volumes" type="inventory.aai.onap.org.Volumes" />
357                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
358                                 <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.LInterfaces" />
359                         </java-attributes>
360                         <xml-properties>
361                                 <xml-property name="nameProps" value="vserver-name" />
362                                 <xml-property name="indexedProps" value="vserver-name,vserver-id,vserver-name2" />
363                                 <xml-property name="uniqueProps" value="vserver-id" />
364                                 <xml-property name="dependentOn" value="tenant" />
365                                 <xml-property name="container" value="vservers" />
366                         </xml-properties>
367                 </java-type>
368
369                 <java-type name="LInterfaces">
370                         <xml-root-element name="l-interfaces" />
371                         <java-attributes>
372                                 <xml-element container-type="java.util.ArrayList" java-attribute="lInterface" name="l-interface" type="inventory.aai.onap.org.LInterface" />
373                         </java-attributes>
374                 </java-type>
375
376                 <java-type name="LInterface">
377                         <xml-root-element name="l-interface" />
378                         <java-attributes>
379                                 <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true" />
380                                 <xml-element java-attribute="interfaceId" name="interface-id" type="java.lang.String" />
381                                 <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
382                                         <xml-properties>
383                                                 <xml-property name="description" value="E.g., CUSTOMER, UPLINK, etc." />
384                                         </xml-properties>
385                                 </xml-element>
386                                 <xml-element java-attribute="v6WanLinkIp" name="v6-wan-link-ip" type="java.lang.String">
387                                         <xml-properties>
388                                                 <xml-property name="description" value="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B." />
389                                         </xml-properties>
390                                 </xml-element>
391                                 <xml-element java-attribute="vlans" name="vlans" type="inventory.aai.onap.org.Vlans" />
392                                 <xml-element java-attribute="networkName" name="network-name" type="java.lang.String" />
393                                 <xml-element java-attribute="selflink" name="selflink" type="java.lang.String" />
394                                 
395                                 <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.L3InterfaceIpv4AddressList" />
396                                 <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.L3InterfaceIpv6AddressList" />
397                         </java-attributes>
398                         <xml-properties>
399                                 <xml-property name="dependentOn" value="generic-vnf,newvce,p-interface,vserver" />
400                                 <xml-property name="container" value="l-interfaces" />
401                         </xml-properties>
402                 </java-type>
403
404                 <java-type name="Vlans">
405                         <xml-root-element name="vlans" />
406                         <java-attributes>
407                                 <xml-element container-type="java.util.ArrayList" java-attribute="vlan" name="vlan" type="inventory.aai.onap.org.Vlan" />
408                         </java-attributes>
409                 </java-type>
410
411                 <java-type name="Vlan">
412                         <xml-root-element name="vlan" />
413                         <java-attributes>
414                                 <xml-element java-attribute="vlanInterface" name="vlan-interface" required="true" type="java.lang.String" xml-key="true" />
415                                 <xml-element java-attribute="vlanIdInner" name="vlan-id-inner" type="java.lang.Long" />
416                                 <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long" />
417                                 <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv4AddressList" name="l3-interface-ipv4-address-list" type="inventory.aai.onap.org.L3InterfaceIpv4AddressList" />
418                                 <xml-element container-type="java.util.ArrayList" java-attribute="l3InterfaceIpv6AddressList" name="l3-interface-ipv6-address-list" type="inventory.aai.onap.org.L3InterfaceIpv6AddressList" />
419                         </java-attributes>
420                         <xml-properties>
421                                 <xml-property name="indexedProps" value="vlan-interface" />
422                                 <xml-property name="dependentOn" value="l-interface" />
423                                 <xml-property name="container" value="vlans" />
424                         </xml-properties>
425                 </java-type>
426
427                 <java-type name="L3InterfaceIpv4AddressList">
428                         <xml-root-element name="l3-interface-ipv4-address-list" />
429                         <java-attributes>
430                                 <xml-element java-attribute="l3InterfaceIpv4Address" name="l3-interface-ipv4-address" required="true" type="java.lang.String" xml-key="true" />
431                                 <xml-element java-attribute="l3InterfaceIpv4PrefixLength" name="l3-interface-ipv4-prefix-length" type="java.lang.Long" />
432                                 <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
433                                         <xml-properties>
434                                                 <xml-property name="description" value="Indicator of fixed or floating address" />
435                                         </xml-properties>
436                                 </xml-element>
437                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
438                         </java-attributes>
439                         <xml-properties>
440                                 <xml-property name="indexedProps" value="l3-interface-ipv4-address" />
441                                 <xml-property name="dependentOn" value="vlan" />
442                         </xml-properties>
443                 </java-type>
444
445                 <java-type name="L3InterfaceIpv6AddressList">
446                         <xml-root-element name="l3-interface-ipv6-address-list" />
447                         <java-attributes>
448                                 <xml-element java-attribute="l3InterfaceIpv6Address" name="l3-interface-ipv6-address" required="true" type="java.lang.String" xml-key="true" />
449                                 <xml-element java-attribute="l3InterfaceIpv6PrefixLength" name="l3-interface-ipv6-prefix-length" type="java.lang.Long" />
450                                 <xml-element java-attribute="isFloating" name="is-floating" type="java.lang.Boolean">
451                                         <xml-properties>
452                                                 <xml-property name="description" value="Indicator of fixed or floating address" />
453                                         </xml-properties>
454                                 </xml-element>
455                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
456                         </java-attributes>
457                         <xml-properties>
458                                 <xml-property name="indexedProps" value="l3-interface-ipv6-address" />
459                                 <xml-property name="dependentOn" value="vlan" />
460                         </xml-properties>
461                 </java-type>
462
463                 <java-type name="Volumes">
464                         <xml-properties>
465                                 <xml-property name="description" value="Block storage volume. In 1504, RO is expected to send this to A&amp;AI." />
466                         </xml-properties>
467                         <xml-root-element name="volumes" />
468                         <java-attributes>
469                                 <xml-element container-type="java.util.ArrayList" java-attribute="volume" name="volume" type="inventory.aai.onap.org.Volume" />
470                         </java-attributes>
471                 </java-type>
472
473                 <java-type name="Volume">
474                         <xml-root-element name="volume" />
475                         <java-attributes>
476                                 <xml-element java-attribute="volumeId" name="volume-id" required="true" type="java.lang.String" xml-key="true">
477                                         <xml-properties>
478                                                 <xml-property name="description" value="Unique ID of block storage volume relative to the vserver." />
479                                         </xml-properties>
480                                 </xml-element>
481                                 <xml-element java-attribute="volumeSelflink" name="volume-selflink" required="true" type="java.lang.String">
482                                         <xml-properties>
483                                                 <xml-property name="description" value="URL to block storage volume in source of truth" />
484                                         </xml-properties>
485                                 </xml-element>
486                         </java-attributes>
487                         <xml-properties>
488                                 <xml-property name="indexedProps" value="volume-id" />
489                                 <xml-property name="dependentOn" value="vserver" />
490                                 <xml-property name="container" value="volumes" />
491                         </xml-properties>
492                 </java-type>
493
494                 <java-type name="Flavors">
495                         <xml-properties>
496                                 <xml-property name="description" value="Openstack flavor. In 1504, this REST interface is unused.   The data is populated by RO through    the hand-coded vserver interface rather than through its own REST API.    Expect this to change when we can negotiate with RO to PUT this data or    we change our code to trigger a dispatcher job to go get flavor if it    is missing when RO PUTs a vserver." />
497                         </xml-properties>
498                         <xml-root-element name="flavors" />
499                         <java-attributes>
500                                 <xml-element container-type="java.util.ArrayList" java-attribute="flavor" name="flavor" type="inventory.aai.onap.org.Flavor" />
501                         </java-attributes>
502                 </java-type>
503
504                 <java-type name="Flavor">
505                         <xml-root-element name="flavor" />
506                         <java-attributes>
507                                 <xml-element java-attribute="flavorId" name="flavor-id" required="true" type="java.lang.String" xml-key="true">
508                                         <xml-properties>
509                                                 <xml-property name="description" value="Flavor id, expected to be unique across A&amp;AI." />
510                                         </xml-properties>
511                                 </xml-element>
512                                 <xml-element java-attribute="flavorName" name="flavor-name" required="true" type="java.lang.String">
513                                         <xml-properties>
514                                                 <xml-property name="description" value="Flavor name" />
515                                         </xml-properties>
516                                 </xml-element>
517                                 <xml-element java-attribute="flavorVcpus" name="flavor-vcpus" type="java.lang.Integer">
518                                         <xml-properties>
519                                                 <xml-property name="description" value="Number of CPUs" />
520                                         </xml-properties>
521                                 </xml-element>
522                                 <xml-element java-attribute="flavorRam" name="flavor-ram" type="java.lang.Integer">
523                                         <xml-properties>
524                                                 <xml-property name="description" value="Amount of memory" />
525                                         </xml-properties>
526                                 </xml-element>
527                                 <xml-element java-attribute="flavorDisk" name="flavor-disk" type="java.lang.Integer">
528                                         <xml-properties>
529                                                 <xml-property name="description" value="Disk space" />
530                                         </xml-properties>
531                                 </xml-element>
532                                 <xml-element java-attribute="flavorEphemeral" name="flavor-ephemeral" type="java.lang.Integer">
533                                         <xml-properties>
534                                                 <xml-property name="description" value="Amount of ephemeral disk space" />
535                                         </xml-properties>
536                                 </xml-element>
537                                 <xml-element java-attribute="flavorSwap" name="flavor-swap" type="java.lang.String">
538                                         <xml-properties>
539                                                 <xml-property name="description" value="amount of swap space allocation" />
540                                         </xml-properties>
541                                 </xml-element>
542                                 <xml-element java-attribute="flavorIsPublic" name="flavor-is-public" type="java.lang.Boolean">
543                                         <xml-properties>
544                                                 <xml-property name="description" value="whether flavor is available to all users or private to the tenant it was created in." />
545                                         </xml-properties>
546                                 </xml-element>
547                                 <xml-element java-attribute="flavorSelflink" name="flavor-selflink" required="true" type="java.lang.String">
548                                         <xml-properties>
549                                                 <xml-property name="description" value="Link provided by source of truth to get more details." />
550                                         </xml-properties>
551                                 </xml-element>
552                                 <xml-element java-attribute="flavorDisabled" name="flavor-disabled" type="java.lang.Boolean">
553                                         <xml-properties>
554                                                 <xml-property name="description" value="Boolean as to whether this flavor is no longer enabled" />
555                                         </xml-properties>
556                                 </xml-element>
557                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
558                         </java-attributes>
559                         <xml-properties>
560                                 <xml-property name="nameProps" value="flavor-name" />
561                                 <xml-property name="indexedProps" value="flavor-name,flavor-id" />
562                                 <xml-property name="uniqueProps" value="flavor-id" />
563                                 <xml-property name="container" value="flavors" />
564                                 <xml-property name="namespace" value="cloud-infrastructure" />
565                         </xml-properties>
566                 </java-type>
567
568                 <java-type name="Images">
569                         <xml-properties>
570                                 <xml-property name="description" value="Openstack image. In 1504, this REST interface is unused. The image data is populated by RO through the hand-coded vserver interface rather than through its own REST API. Expect this to change when we can negotiate with RO to PUT this data or we change our code to trigger a dispatcher job to go get image if it is missing when RO PUTs a vserver." />
571                         </xml-properties>
572                         <xml-root-element name="images" />
573                         <java-attributes>
574                                 <xml-element container-type="java.util.ArrayList" java-attribute="image" name="image" type="inventory.aai.onap.org.Image" />
575                         </java-attributes>
576                 </java-type>
577
578                 <java-type name="Image">
579                         <xml-root-element name="image" />
580                         <java-attributes>
581                                 <xml-element java-attribute="imageId" name="image-id" required="true" type="java.lang.String" xml-key="true">
582                                         <xml-properties>
583                                                 <xml-property name="description" value="Image id, expected to be unique across A&amp;AI" />
584                                         </xml-properties>
585                                 </xml-element>
586                                 <xml-element java-attribute="imageName" name="image-name" required="true" type="java.lang.String">
587                                         <xml-properties>
588                                                 <xml-property name="description" value="Image name" />
589                                         </xml-properties>
590                                 </xml-element>
591                                 <xml-element java-attribute="imageArchitecture" name="image-architecture" type="java.lang.String">
592                                         <xml-properties>
593                                                 <xml-property name="description" value="Operating system architecture." />
594                                         </xml-properties>
595                                 </xml-element>
596                                 <xml-element java-attribute="imageOsDistro" name="image-os-distro" required="true" type="java.lang.String">
597                                         <xml-properties>
598                                                 <xml-property name="description" value="The common name of the operating system distribution in lowercase" />
599                                         </xml-properties>
600                                 </xml-element>
601                                 <xml-element java-attribute="imageOsVersion" name="image-os-version" required="true" type="java.lang.String">
602                                         <xml-properties>
603                                                 <xml-property name="description" value="The operating system version as specified by the distributor." />
604                                         </xml-properties>
605                                 </xml-element>
606                                 <xml-element java-attribute="application" name="application" type="java.lang.String">
607                                         <xml-properties>
608                                                 <xml-property name="description" value="The application that the image instantiates." />
609                                         </xml-properties>
610                                 </xml-element>
611                                 <xml-element java-attribute="applicationVendor" name="application-vendor" type="java.lang.String">
612                                         <xml-properties>
613                                                 <xml-property name="description" value="The vendor of the application." />
614                                         </xml-properties>
615                                 </xml-element>
616                                 <xml-element java-attribute="applicationVersion" name="application-version" type="java.lang.String">
617                                         <xml-properties>
618                                                 <xml-property name="description" value="The version of the application." />
619                                         </xml-properties>
620                                 </xml-element>
621                                 <xml-element java-attribute="imageSelflink" name="image-selflink" required="true" type="java.lang.String">
622                                         <xml-properties>
623                                                 <xml-property name="description" value="Link provided by source of truth to get more details." />
624                                         </xml-properties>
625                                 </xml-element>
626                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
627                         </java-attributes>
628                         <xml-properties>
629                                 <xml-property name="description" value="Metadata must include application, application-vendor, and application-version" />
630                                 <xml-property name="nameProps" value="image-name" />
631                                 <xml-property name="indexedProps" value="image-name,image-id" />
632                                 <xml-property name="uniqueProps" value="image-id" />
633                                 <xml-property name="container" value="images" />
634                                 <xml-property name="namespace" value="cloud-infrastructure" />
635                         </xml-properties>
636                 </java-type>
637
638                 <java-type name="DvsSwitches">
639                         <xml-properties>
640                                 <xml-property name="description" value="Digital Virtual Switch/Virtual Digital Switch container for switch name and vcenter URL, used by SDN-C to configure VCEs.  In 1504, A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. Relationship list is used to link to availability-zone." />
641                         </xml-properties>
642                         <xml-root-element name="dvs-switches" />
643                         <java-attributes>
644                                 <xml-element container-type="java.util.ArrayList" java-attribute="dvsSwitch" name="dvs-switch" type="inventory.aai.onap.org.DvsSwitch" />
645                         </java-attributes>
646                 </java-type>
647
648                 <java-type name="DvsSwitch">
649                         <xml-root-element name="dvs-switch" />
650                         <java-attributes>
651                                 <xml-element java-attribute="switchName" name="switch-name" required="true" type="java.lang.String" xml-key="true">
652                                         <xml-properties>
653                                                 <xml-property name="description" value="DVS switch name" />
654                                         </xml-properties>
655                                 </xml-element>
656                                 <xml-element java-attribute="vcenterUrl" name="vcenter-url" required="true" type="java.lang.String">
657                                         <xml-properties>
658                                                 <xml-property name="description" value="URL used to reach the vcenter" />
659                                         </xml-properties>
660                                 </xml-element>
661                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
662                         </java-attributes>
663                         <xml-properties>
664                                 <xml-property name="indexedProps" value="vcenter-url,switch-name" />
665                                 <xml-property name="container" value="dvs-switches" />
666                                 <xml-property name="namespace" value="cloud-infrastructure" />
667                         </xml-properties>
668                 </java-type>
669
670                 <java-type name="Pservers">
671                         <xml-properties>
672                                 <xml-property name="description" value="Compute node. In 1504, this data comes from RCT in a file processed on a schedule defined in crontab. A&amp;AI has code to parse the file and take action on the graph using our REST APIs. Relationship-list is used to link to complex." />
673                         </xml-properties>
674                         <xml-root-element name="pservers" />
675                         <java-attributes>
676                                 <xml-element container-type="java.util.ArrayList" java-attribute="pserver" name="pserver" type="inventory.aai.onap.org.Pserver" />
677                         </java-attributes>
678                 </java-type>
679
680                 <java-type name="Pserver">
681                         <xml-root-element name="pserver" />
682                         <java-attributes>
683                                 <xml-element java-attribute="hostname" name="hostname" required="true" type="java.lang.String" xml-key="true">
684                                         <xml-properties>
685                                                 <xml-property name="description" value="Value from executing hostname on the compute node." />
686                                         </xml-properties>
687                                 </xml-element>
688                                 <xml-element java-attribute="ptniiEquipName" name="ptnii-equip-name" type="java.lang.String">
689                                         <xml-properties>
690                                                 <xml-property name="description" value="PTNII name" />
691                                         </xml-properties>
692                                 </xml-element>
693                                 <xml-element java-attribute="numberOfCpus" name="number-of-cpus" type="java.lang.Integer">
694                                         <xml-properties>
695                                                 <xml-property name="description" value="Number of cpus" />
696                                         </xml-properties>
697                                 </xml-element>
698                                 <xml-element java-attribute="diskInGigabytes" name="disk-in-gigabytes" type="java.lang.Integer">
699                                         <xml-properties>
700                                                 <xml-property name="description" value="Disk size, in GBs" />
701                                         </xml-properties>
702                                 </xml-element>
703                                 <xml-element java-attribute="ramInMegabytes" name="ram-in-megabytes" type="java.lang.Integer">
704                                         <xml-properties>
705                                                 <xml-property name="description" value="RAM size, in MBs" />
706                                         </xml-properties>
707                                 </xml-element>
708                                 <xml-element java-attribute="equipType" name="equip-type" type="java.lang.String">
709                                         <xml-properties>
710                                                 <xml-property name="description" value="Equipment type.  Source of truth should define valid values." />
711                                         </xml-properties>
712                                 </xml-element>
713                                 <xml-element java-attribute="equipVendor" name="equip-vendor" type="java.lang.String">
714                                         <xml-properties>
715                                                 <xml-property name="description" value="Equipment vendor.  Source of truth should define valid values." />
716                                         </xml-properties>
717                                 </xml-element>
718                                 <xml-element java-attribute="equipModel" name="equip-model" type="java.lang.String">
719                                         <xml-properties>
720                                                 <xml-property name="description" value="Equipment model.  Source of truth should define valid values." />
721                                         </xml-properties>
722                                 </xml-element>
723                                 <xml-element java-attribute="fqdn" name="fqdn" type="java.lang.String">
724                                         <xml-properties>
725                                                 <xml-property name="description" value="Fully-qualified domain name" />
726                                         </xml-properties>
727                                 </xml-element>
728                                 <xml-element java-attribute="pserverSelflink" name="pserver-selflink" type="java.lang.String">
729                                         <xml-properties>
730                                                 <xml-property name="description" value="Link provided by source of truth to get more details." />
731                                         </xml-properties>
732                                 </xml-element>
733                                 <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
734                                         <xml-properties>
735                                                 <xml-property name="description" value="Used to configure device, also used for troubleshooting and is IP used for traps generated by device." />
736                                         </xml-properties>
737                                 </xml-element>
738                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
739                                 <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.PInterfaces" />
740                                 <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.LagInterfaces" />
741                         </java-attributes>
742                         <xml-properties>
743                                 <xml-property name="description" value="Relationship list must contain related-to of complex with key data of physical-location-id" />
744                                 <xml-property name="indexedProps" value="hostname" />
745                                 <xml-property name="container" value="pservers" />
746                                 <xml-property name="namespace" value="cloud-infrastructure" />
747                         </xml-properties>
748                 </java-type>
749
750                 <java-type name="PInterfaces">
751                         <xml-root-element name="p-interfaces" />
752                         <java-attributes>
753                                 <xml-element container-type="java.util.ArrayList" java-attribute="pInterface" name="p-interface" type="inventory.aai.onap.org.PInterface" />
754                         </java-attributes>
755                 </java-type>
756
757                 <java-type name="PInterface">
758                         <xml-root-element name="p-interface" />
759                         <java-attributes>
760                                 <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true" />
761                                 <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
762                                         <xml-properties>
763                                                 <xml-property name="description" value="Captures the numeric part of the speed" />
764                                         </xml-properties>
765                                 </xml-element>
766                                 <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
767                                         <xml-properties>
768                                                 <xml-property name="description" value="Captures the units corresponding to the speed" />
769                                         </xml-properties>
770                                 </xml-element>
771                                 <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.LInterfaces" />
772                         </java-attributes>
773                         <xml-properties>
774                                 <xml-property name="dependentOn" value="vpls-pe,pserver" />
775                                 <xml-property name="container" value="p-interfaces" />
776                         </xml-properties>
777                 </java-type>
778
779                 <java-type name="LagInterfaces">
780                         <xml-root-element name="lag-interfaces" />
781                         <java-attributes>
782                                 <xml-element container-type="java.util.ArrayList" java-attribute="lagInterface" name="lag-interface" type="inventory.aai.onap.org.LagInterface" />
783                         </java-attributes>
784                 </java-type>
785
786                 <java-type name="LagInterface">
787                         <xml-root-element name="lag-interface" />
788                         <java-attributes>
789                                 <xml-element java-attribute="interfaceName" name="interface-name" required="true" type="java.lang.String" xml-key="true" />
790                         </java-attributes>
791                         <xml-properties>
792                                 <xml-property name="dependentOn" value="generic-vnf,pserver,vpls-pe" />
793                                 <xml-property name="container" value="lag-interfaces" />
794                         </xml-properties>
795                 </java-type>
796
797                 <java-type name="OamNetworks">
798                         <xml-properties>
799                                 <xml-property name="description" value="Defines the OAM network. In 1504, A&amp;AI expects RO to put all attributes but the ones related to ipv4-oam-gateway-address and prefix. Those need to be hand administered by A&amp;AI through the provisioningTool.sh. Relationship list is used to link to service-capability and complex." />
800                         </xml-properties>
801                         <xml-root-element name="oam-networks" />
802                         <java-attributes>
803                                 <xml-element container-type="java.util.ArrayList" java-attribute="oamNetwork" name="oam-network" type="inventory.aai.onap.org.OamNetwork" />
804                         </java-attributes>
805                 </java-type>
806
807                 <java-type name="OamNetwork">
808                         <xml-root-element name="oam-network" />
809                         <java-attributes>
810                                 <xml-element java-attribute="networkUuid" name="network-uuid" required="true" type="java.lang.String" xml-key="true">
811                                         <xml-properties>
812                                                 <xml-property name="description" value="UUID of the network. Unique across A&amp;AI." />
813                                         </xml-properties>
814                                 </xml-element>
815                                 <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
816                                         <xml-properties>
817                                                 <xml-property name="description" value="Name of the network." />
818                                         </xml-properties>
819                                 </xml-element>
820                                 <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long">
821                                         <xml-properties>
822                                                 <xml-property name="description" value="cvlan-id" />
823                                         </xml-properties>
824                                 </xml-element>
825                                 <xml-element java-attribute="ipv4OamGatewayAddress" name="ipv4-oam-gateway-address" type="java.lang.String">
826                                         <xml-properties>
827                                                 <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
828                                         </xml-properties>
829                                 </xml-element>
830                                 <xml-element java-attribute="ipv4OamGatewayAddressPrefixLength" name="ipv4-oam-gateway-address-prefix-length" type="java.lang.Integer">
831                                         <xml-properties>
832                                                 <xml-property name="description" value="Used for VNF firewall rule so customer cannot send customer traffic over this oam network" />
833                                         </xml-properties>
834                                 </xml-element>
835                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
836                         </java-attributes>
837                         <xml-properties>
838                                 <xml-property name="description" value="Relationship list must contain related-to of service-capability with key data service-type and vnf-type                            and related-to of complex with key data of physical-location-id" />
839                                 <xml-property name="nameProps" value="network-name" />
840                                 <xml-property name="indexedProps" value="network-uuid" />
841                                 <xml-property name="container" value="oam-networks" />
842                                 <xml-property name="namespace" value="cloud-infrastructure" />
843                         </xml-properties>
844                 </java-type>
845
846                 <java-type name="AvailabilityZones">
847                         <xml-properties>
848                                 <xml-property name="description" value="Availability zones group physical servers.  In 1504, A&amp;AI expects to receive all attributes from RO through REST. Relationship list is used to link to service-capability and complex." />
849                         </xml-properties>
850                         <xml-root-element name="availability-zones" />
851                         <java-attributes>
852                                 <xml-element container-type="java.util.ArrayList" java-attribute="availabilityZone" name="availability-zone" type="inventory.aai.onap.org.AvailabilityZone" />
853                         </java-attributes>
854                 </java-type>
855
856                 <java-type name="AvailabilityZone">
857                         <xml-root-element name="availability-zone" />
858                         <java-attributes>
859                                 <xml-element java-attribute="availabilityZoneName" name="availability-zone-name" required="true" type="java.lang.String" xml-key="true">
860                                         <xml-properties>
861                                                 <xml-property name="description" value="Name of the availability zone.  Unique across A&amp;AI for all services." />
862                                         </xml-properties>
863                                 </xml-element>
864                                 <xml-element java-attribute="hypervisorType" name="hypervisor-type" required="true" type="java.lang.String">
865                                         <xml-properties>
866                                                 <xml-property name="description" value="Type of hypervisor.  Source of truth should define valid values." />
867                                         </xml-properties>
868                                 </xml-element>
869                                 <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
870                                         <xml-properties>
871                                                 <xml-property name="description" value="State that indicates whether the availability zone should be used, etc.  Source of truth should define valid values." />
872                                         </xml-properties>
873                                 </xml-element>
874                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
875                         </java-attributes>
876                         <xml-properties>
877                                 <xml-property name="description" value="Relationship list must contain related-to of service-capability with key data service-type and vnf-type                            and related-to of complex with key data of physical-location-id" />
878                                 <xml-property name="indexedProps" value="availability-zone-name" />
879                                 <xml-property name="container" value="availability-zones" />
880                                 <xml-property name="namespace" value="cloud-infrastructure" />
881                         </xml-properties>
882                 </java-type>
883
884                 <java-type name="VirtualDataCenters">
885                         <xml-properties>
886                                 <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
887                         </xml-properties>
888                         <xml-root-element name="virtual-data-centers" />
889                         <java-attributes>
890                                 <xml-element container-type="java.util.ArrayList" java-attribute="virtualDataCenter" name="virtual-data-center" type="inventory.aai.onap.org.VirtualDataCenter" />
891                         </java-attributes>
892                 </java-type>
893
894                 <java-type name="VirtualDataCenter">
895                         <xml-root-element name="virtual-data-center" />
896                         <java-attributes>
897                                 <xml-element java-attribute="vdcId" name="vdc-id" required="true" type="java.lang.String" xml-key="true">
898                                         <xml-properties>
899                                                 <xml-property name="description" value="Unique ID of the vdc" />
900                                         </xml-properties>
901                                 </xml-element>
902                                 <xml-element java-attribute="vdcName" name="vdc-name" required="true" type="java.lang.String">
903                                         <xml-properties>
904                                                 <xml-property name="description" value="Name of the virtual data center" />
905                                         </xml-properties>
906                                 </xml-element>
907                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
908                         </java-attributes>
909                         <xml-properties>
910                                 <xml-property name="description" value="Virtual organization of cloud infrastructure elements in a data center context" />
911                                 <xml-property name="nameProps" value="vdc-name" />
912                                 <xml-property name="indexedProps" value="vdc-id" />
913                                 <xml-property name="container" value="virtual-data-centers" />
914                                 <xml-property name="namespace" value="cloud-infrastructure" />
915                         </xml-properties>
916                 </java-type>
917
918                 <java-type name="Business">
919                         <xml-root-element name="business" />
920                         <java-attributes>
921                                 <xml-element java-attribute="customers" name="customers" type="inventory.aai.onap.org.Customers" />
922                         </java-attributes>
923                 </java-type>
924
925                 <java-type name="Customers">
926                         <xml-root-element name="customers" />
927                         <java-attributes>
928                                 <xml-element container-type="java.util.ArrayList" java-attribute="customer" name="customer" type="inventory.aai.onap.org.Customer" />
929                         </java-attributes>
930                 </java-type>
931
932                 <java-type name="Customer">
933                         <xml-root-element name="customer" />
934                         <java-attributes>
935                                 <xml-element java-attribute="globalCustomerId" name="global-customer-id" required="true" type="java.lang.String" xml-key="true">
936                                         <xml-properties>
937                                                 <xml-property name="description" value="Global customer id used across ECOMP to uniquely identify customer." />
938                                         </xml-properties>
939                                 </xml-element>
940                                 <xml-element java-attribute="subscriberName" name="subscriber-name" required="true" type="java.lang.String">
941                                         <xml-properties>
942                                                 <xml-property name="description" value="Subscriber name, an alternate way to retrieve a customer." />
943                                         </xml-properties>
944                                 </xml-element>
945                                 <xml-element java-attribute="serviceSubscriptions" name="service-subscriptions" type="inventory.aai.onap.org.ServiceSubscriptions" />
946                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
947                         </java-attributes>
948                         <xml-properties>
949                                 <xml-property name="nameProps" value="subscriber-name" />
950                                 <xml-property name="indexedProps" value="subscriber-name,global-customer-id" />
951                                 <xml-property name="uniqueProps" value="global-customer-id" />
952                                 <xml-property name="container" value="customers" />
953                                 <xml-property name="namespace" value="business" />
954                         </xml-properties>
955                 </java-type>
956
957                 <java-type name="ServiceSubscriptions">
958                         <xml-root-element name="service-subscriptions" />
959                         <java-attributes>
960                                 <xml-element container-type="java.util.ArrayList" java-attribute="serviceSubscription" name="service-subscription" type="inventory.aai.onap.org.ServiceSubscription" />
961                         </java-attributes>
962                 </java-type>
963
964                 <java-type name="ServiceSubscription">
965                         <xml-root-element name="service-subscription" />
966                         <java-attributes>
967                                 <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
968                                         <xml-properties>
969                                                 <xml-property name="description" value="Value defined by orchestration to identify this service across ECOMP." />
970                                         </xml-properties>
971                                 </xml-element>
972                                 <xml-element java-attribute="serviceInstances" name="service-instances" type="inventory.aai.onap.org.ServiceInstances">
973                                         <xml-properties>
974                                                 <xml-property name="description" value="Relationship-list used to link to cvlantag and vce." />
975                                         </xml-properties>
976                                 </xml-element>
977                         </java-attributes>
978                         <xml-properties>
979                                 <xml-property name="indexedProps" value="service-type" />
980                                 <xml-property name="dependentOn" value="customer" />
981                                 <xml-property name="container" value="service-subscriptions" />
982                         </xml-properties>
983                 </java-type>
984
985                 <java-type name="ServiceInstances">
986                         <xml-root-element name="service-instances" />
987                         <java-attributes>
988                                 <xml-element container-type="java.util.ArrayList" java-attribute="serviceInstance" name="service-instance" type="inventory.aai.onap.org.ServiceInstance" />
989                         </java-attributes>
990                 </java-type>
991
992                 <java-type name="ServiceInstance">
993                         <xml-root-element name="service-instance" />
994                         <java-attributes>
995                                 <xml-element java-attribute="serviceInstanceId" name="service-instance-id" required="true" type="java.lang.String" xml-key="true">
996                                         <xml-properties>
997                                                 <xml-property name="description" value="Corresponds to a customer endpoint for the parent service-subscription." />
998                                         </xml-properties>
999                                 </xml-element>
1000                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1001                         </java-attributes>
1002                         <xml-properties>
1003                                 <xml-property name="indexedProps" value="service-instance-id" />
1004                                 <xml-property name="uniqueProps" value="service-instance-id" />
1005                                 <xml-property name="dependentOn" value="service-subscription" />
1006                                 <xml-property name="container" value="service-instances" />
1007                         </xml-properties>
1008                 </java-type>
1009
1010                 <java-type name="ServiceDesignAndCreation">
1011                         <xml-root-element name="service-design-and-creation" />
1012                         <java-attributes>
1013                                 <xml-element java-attribute="serviceCapabilities" name="service-capabilities" type="inventory.aai.onap.org.ServiceCapabilities" />
1014                         </java-attributes>
1015                 </java-type>
1016
1017                 <java-type name="ServiceCapabilities">
1018                         <xml-root-element name="service-capabilities" />
1019                         <java-attributes>
1020                                 <xml-element container-type="java.util.ArrayList" java-attribute="serviceCapability" name="service-capability" type="inventory.aai.onap.org.ServiceCapability" />
1021                         </java-attributes>
1022                 </java-type>
1023
1024                 <java-type name="ServiceCapability">
1025                         <xml-root-element name="service-capability" />
1026                         <java-attributes>
1027                                 <xml-element java-attribute="serviceType" name="service-type" required="true" type="java.lang.String" xml-key="true">
1028                                         <xml-properties>
1029                                                 <xml-property name="description" value="This gets defined by others to provide a unique ID for the service, we accept what is sent." />
1030                                         </xml-properties>
1031                                 </xml-element>
1032                                 <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String" xml-key="true">
1033                                         <xml-properties>
1034                                                 <xml-property name="description" value="This gets defined by others to provide a unique ID for the VNF type, we accept what is sent." />
1035                                         </xml-properties>
1036                                 </xml-element>
1037                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1038                         </java-attributes>
1039                         <xml-properties>
1040                                 <xml-property name="indexedProps" value="service-type" />
1041                                 <xml-property name="container" value="service-capabilities" />
1042                                 <xml-property name="namespace" value="service-design-and-creation" />
1043                         </xml-properties>
1044                 </java-type>
1045
1046                 <java-type name="Network">
1047                         <xml-root-element name="network" />
1048                         <java-attributes>
1049                                 <xml-element java-attribute="logicalLinks" name="logical-links" type="inventory.aai.onap.org.LogicalLinks" />
1050                                 <xml-element java-attribute="vces" name="vces" type="inventory.aai.onap.org.Vces" />
1051                                 <xml-element java-attribute="l3Networks" name="l3-networks" type="inventory.aai.onap.org.L3Networks" />
1052                                 <xml-element java-attribute="genericVnfs" name="generic-vnfs" type="inventory.aai.onap.org.GenericVnfs" />
1053                                 <xml-element java-attribute="lagLinks" name="lag-links" type="inventory.aai.onap.org.LagLinks" />
1054                                 <xml-element java-attribute="newvces" name="newvces" type="inventory.aai.onap.org.Newvces" />
1055                                 <xml-element java-attribute="vplsPes" name="vpls-pes" type="inventory.aai.onap.org.VplsPes" />
1056                                 <xml-element java-attribute="physicalLinks" name="physical-links" type="inventory.aai.onap.org.PhysicalLinks" />
1057                         </java-attributes>
1058                 </java-type>
1059
1060                 <java-type name="LogicalLinks">
1061                         <xml-root-element name="logical-links" />
1062                         <java-attributes>
1063                                 <xml-element container-type="java.util.ArrayList" java-attribute="logicalLink" name="logical-link" type="inventory.aai.onap.org.LogicalLink" />
1064                         </java-attributes>
1065                 </java-type>
1066
1067                 <java-type name="LogicalLink">
1068                         <xml-root-element name="logical-link" />
1069                         <java-attributes>
1070                                 <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
1071                                         <xml-properties>
1072                                                 <xml-property name="description" value="e.g., evc-name, or vnf-nameA_interface-nameA_vnf-nameZ_interface-nameZ" />
1073                                         </xml-properties>
1074                                 </xml-element>
1075                                 <xml-element java-attribute="linkType" name="link-type" required="true" type="java.lang.String">
1076                                         <xml-properties>
1077                                                 <xml-property name="description" value="Type of logical link, e.g., evc" />
1078                                         </xml-properties>
1079                                 </xml-element>
1080                                 <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
1081                                         <xml-properties>
1082                                                 <xml-property name="description" value="Captures the numeric part of the speed" />
1083                                         </xml-properties>
1084                                 </xml-element>
1085                                 <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
1086                                         <xml-properties>
1087                                                 <xml-property name="description" value="Captures the units corresponding to the speed" />
1088                                         </xml-properties>
1089                                 </xml-element>
1090                                 <xml-element java-attribute="ipVersion" name="ip-version" type="java.lang.String">
1091                                         <xml-properties>
1092                                                 <xml-property name="description" value="v4, v6, or ds for dual stack (should be att-ip-version)" />
1093                                         </xml-properties>
1094                                 </xml-element>
1095                                 <xml-element java-attribute="routingProtocol" name="routing-protocol" type="java.lang.String">
1096                                         <xml-properties>
1097                                                 <xml-property name="description" value="For example, static or BGP" />
1098                                         </xml-properties>
1099                                 </xml-element>
1100                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1101                         </java-attributes>
1102                         <xml-properties>
1103                                 <xml-property name="description" value="Logical links can connect l-interfaces" />
1104                                 <xml-property name="indexedProps" value="link-name" />
1105                                 <xml-property name="container" value="logical-links" />
1106                                 <xml-property name="namespace" value="network" />
1107                         </xml-properties>
1108                 </java-type>
1109
1110                 <java-type name="Vces">
1111                         <xml-properties>
1112                                 <xml-property name="description" value="The 1504 global definition of a vce as from MSO/SDN-C. In 1504, SDN-C will PUT this data and MSO will update it. In addition, A&amp;AI will populate interface-name, v6-vce-wan-address, and ipv4-oam-address based on a RESTCONF call? In 1507, we hope to move to the newvce object, which may need a few more attributes. We need a discussion with MSO about orchestration vs. inventory. " />
1113                         </xml-properties>
1114                         <xml-root-element name="vces" />
1115                         <java-attributes>
1116                                 <xml-element container-type="java.util.ArrayList" java-attribute="vce" name="vce" type="inventory.aai.onap.org.Vce" />
1117                         </java-attributes>
1118                 </java-type>
1119
1120                 <java-type name="Vce">
1121                         <xml-root-element name="vce" />
1122                         <java-attributes>
1123                                 <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
1124                                         <xml-properties>
1125                                                 <xml-property name="description" value="Unique id of VNF.  This is unique across the graph." />
1126                                         </xml-properties>
1127                                 </xml-element>
1128                                 <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
1129                                         <xml-properties>
1130                                                 <xml-property name="description" value="Name of VNF." />
1131                                         </xml-properties>
1132                                 </xml-element>
1133                                 <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
1134                                         <xml-properties>
1135                                                 <xml-property name="description" value="Alternate name of VNF." />
1136                                         </xml-properties>
1137                                 </xml-element>
1138                                 <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
1139                                         <xml-properties>
1140                                                 <xml-property name="description" value="Type of VNF.  Source of truth should define and socialize values.                                  Becomes part of the key to service capability" />
1141                                         </xml-properties>
1142                                 </xml-element>
1143                                 <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
1144                                         <xml-properties>
1145                                                 <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
1146                                         </xml-properties>
1147                                 </xml-element>
1148                                 <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
1149                                         <xml-properties>
1150                                                 <xml-property name="description" value="Indicator for whether the resource is considered operational" />
1151                                         </xml-properties>
1152                                 </xml-element>
1153                                 <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
1154                                         <xml-properties>
1155                                                 <xml-property name="description" value="License key" />
1156                                         </xml-properties>
1157                                 </xml-element>
1158                                 <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
1159                                         <xml-properties>
1160                                                 <xml-property name="description" value="Client should send valid enumerated value" />
1161                                         </xml-properties>
1162                                 </xml-element>
1163                                 <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
1164                                         <xml-properties>
1165                                                 <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
1166                                         </xml-properties>
1167                                 </xml-element>
1168                                 <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
1169                                         <xml-properties>
1170                                                 <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
1171                                         </xml-properties>
1172                                 </xml-element>
1173                                 <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
1174                                         <xml-properties>
1175                                                 <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
1176                                         </xml-properties>
1177                                 </xml-element>
1178                                 <xml-element java-attribute="vpeId" name="vpe-id" type="java.lang.String">
1179                                         <xml-properties>
1180                                                 <xml-property name="description" value="Unique ID of VPE connected to this VCE." />
1181                                         </xml-properties>
1182                                 </xml-element>
1183                                 <xml-element java-attribute="interfaceName" name="interface-name" type="java.lang.String">
1184                                         <xml-properties>
1185                                                 <xml-property name="description" value="e.g., Vce-0/0.0.57" />
1186                                         </xml-properties>
1187                                 </xml-element>
1188                                 <xml-element java-attribute="v6VceWanAddress" name="v6-vce-wan-address" type="java.lang.String">
1189                                         <xml-properties>
1190                                                 <xml-property name="description" value="Valid v6 IP address for the WAN Link on this router.  Implied length of /64." />
1191                                         </xml-properties>
1192                                 </xml-element>
1193                                 <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
1194                                         <xml-properties>
1195                                                 <xml-property name="description" value="Address tail-f uses to configure vce, also used for troubleshooting and is IP used for traps generated by VCE." />
1196                                         </xml-properties>
1197                                 </xml-element>
1198                                 <xml-element java-attribute="portGroups" name="port-groups" type="inventory.aai.onap.org.PortGroups" />
1199                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1200                         </java-attributes>
1201                         <xml-properties>
1202                                 <xml-property name="nameProps" value="vnf-name" />
1203                                 <xml-property name="indexedProps" value="vnf-name2,vnf-name,heat-stack-id,vnf-id,vpe-id" />
1204                                 <xml-property name="uniqueProps" value="vnf-id" />
1205                                 <xml-property name="container" value="vces" />
1206                                 <xml-property name="namespace" value="network" />
1207                                 <xml-property name="extends" value="vnf" />
1208                         </xml-properties>
1209                 </java-type>
1210
1211                 <java-type name="PortGroups">
1212                         <xml-root-element name="port-groups" />
1213                         <java-attributes>
1214                                 <xml-element container-type="java.util.ArrayList" java-attribute="portGroup" name="port-group" type="inventory.aai.onap.org.PortGroup" />
1215                         </java-attributes>
1216                 </java-type>
1217
1218                 <java-type name="PortGroup">
1219                         <xml-root-element name="port-group" />
1220                         <java-attributes>
1221                                 <xml-element java-attribute="interfaceId" name="interface-id" required="true" type="java.lang.String" xml-key="true">
1222                                         <xml-properties>
1223                                                 <xml-property name="description" value="Unique ID of the interface" />
1224                                         </xml-properties>
1225                                 </xml-element>
1226                                 <xml-element java-attribute="neutronNetworkId" name="neutron-network-id" type="java.lang.String">
1227                                         <xml-properties>
1228                                                 <xml-property name="description" value="Neutron network id of this Interface" />
1229                                         </xml-properties>
1230                                 </xml-element>
1231                                 <xml-element java-attribute="neutronNetworkName" name="neutron-network-name" type="java.lang.String">
1232                                         <xml-properties>
1233                                                 <xml-property name="description" value="Neutron network name of this Interface" />
1234                                         </xml-properties>
1235                                 </xml-element>
1236                                 <xml-element java-attribute="interfaceRole" name="interface-role" type="java.lang.String">
1237                                         <xml-properties>
1238                                                 <xml-property name="description" value="Role assigned to this Interface, should use values as defined in ECOMP Yang models." />
1239                                         </xml-properties>
1240                                 </xml-element>
1241                                 <xml-element java-attribute="portGroupId" name="port-group-id" type="java.lang.String">
1242                                         <xml-properties>
1243                                                 <xml-property name="description" value="Unique ID for port group in vmware" />
1244                                         </xml-properties>
1245                                 </xml-element>
1246                                 <xml-element java-attribute="portGroupName" name="port-group-name" type="java.lang.String">
1247                                         <xml-properties>
1248                                                 <xml-property name="description" value="Likely to duplicate value of neutron network name" />
1249                                         </xml-properties>
1250                                 </xml-element>
1251                                 <xml-element java-attribute="switchName" name="switch-name" type="java.lang.String">
1252                                         <xml-properties>
1253                                                 <xml-property name="description" value="DVS or standard switch name (should be non-null for port groups associated with DVS)" />
1254                                         </xml-properties>
1255                                 </xml-element>
1256                                 <xml-element java-attribute="orchestrationStatus" name="orchestration-status" required="true" type="java.lang.String">
1257                                         <xml-properties>
1258                                                 <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
1259                                         </xml-properties>
1260                                 </xml-element>
1261                                 <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
1262                                         <xml-properties>
1263                                                 <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
1264                                         </xml-properties>
1265                                 </xml-element>
1266                                 <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
1267                                         <xml-properties>
1268                                                 <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
1269                                         </xml-properties>
1270                                 </xml-element>
1271                                 <xml-element java-attribute="cvlanTags" name="cvlan-tags" type="inventory.aai.onap.org.CvlanTags" />
1272                         </java-attributes>
1273                         <xml-properties>
1274                                 <xml-property name="description" value="Used to capture the network interfaces of this VCE" />
1275                                 <xml-property name="nameProps" value="port-group-name" />
1276                                 <xml-property name="indexedProps" value="heat-stack-id,port-group-id,interface-id,switch-name" />
1277                                 <xml-property name="dependentOn" value="vce" />
1278                                 <xml-property name="container" value="port-groups" />
1279                         </xml-properties>
1280                 </java-type>
1281
1282                 <java-type name="CvlanTags">
1283                         <xml-root-element name="cvlan-tags" />
1284                         <java-attributes>
1285                                 <xml-element container-type="java.util.ArrayList" java-attribute="cvlanTagEntry" name="cvlan-tag-entry" type="inventory.aai.onap.org.CvlanTagEntry" />
1286                         </java-attributes>
1287                 </java-type>
1288
1289                 <java-type name="CvlanTagEntry">
1290                         <xml-root-element name="cvlan-tag-entry" />
1291                         <java-attributes>
1292                                 <xml-element java-attribute="cvlanTag" name="cvlan-tag" required="true" type="java.lang.Long" xml-key="true">
1293                                         <xml-properties>
1294                                                 <xml-property name="description" value="See mis-na-virtualization-platform.yang" />
1295                                         </xml-properties>
1296                                 </xml-element>
1297                         </java-attributes>
1298                         <xml-properties>
1299                                 <xml-property name="dependentOn" value="port-group" />
1300                                 <xml-property name="indexedProps" value="cvlan-tag" />
1301                                 <xml-property name="container" value="cvlan-tags" />
1302                         </xml-properties>
1303                 </java-type>
1304
1305
1306
1307                 <java-type name="L3Networks">
1308                         <xml-root-element name="l3-networks" />
1309                         <java-attributes>
1310                                 <xml-element container-type="java.util.ArrayList" java-attribute="l3Network" name="l3-network" type="inventory.aai.onap.org.L3Network" />
1311                         </java-attributes>
1312                 </java-type>
1313
1314                 <java-type name="L3Network">
1315                         <xml-root-element name="l3-network" />
1316                         <java-attributes>
1317                                 <xml-element java-attribute="networkId" name="network-id" required="true" type="java.lang.String" xml-key="true">
1318                                         <xml-properties>
1319                                                 <xml-property name="description" value="Network ID, governed by some naming convention. Unique across A&amp;AI." />
1320                                         </xml-properties>
1321                                 </xml-element>
1322                                 <xml-element java-attribute="networkUuid" name="network-uuid" type="java.lang.String">
1323                                         <xml-properties>
1324                                                 <xml-property name="description" value="UUID of the network. Unique across A&amp;AI." />
1325                                         </xml-properties>
1326                                 </xml-element>
1327                                 <xml-element java-attribute="networkName" name="network-name" required="true" type="java.lang.String">
1328                                         <xml-properties>
1329                                                 <xml-property name="description" value="Name of the network, governed by some naming convention.." />
1330                                         </xml-properties>
1331                                 </xml-element>
1332                                 <xml-element java-attribute="networkType" name="network-type" type="java.lang.String">
1333                                         <xml-properties>
1334                                                 <xml-property name="description" value="Type of the network - who defines these values?" />
1335                                         </xml-properties>
1336                                 </xml-element>
1337                                 <xml-element java-attribute="ipv4GatewayAddress" name="ipv4-gateway-address" type="java.lang.String">
1338                                         <xml-properties>
1339                                                 <xml-property name="description" value="IPV4 gateway address" />
1340                                         </xml-properties>
1341                                 </xml-element>
1342                                 <xml-element java-attribute="ipv4Prefix" name="ipv4-prefix" type="java.lang.String">
1343                                         <xml-properties>
1344                                                 <xml-property name="description" value="IPV4 prefix" />
1345                                         </xml-properties>
1346                                 </xml-element>
1347                                 <xml-element java-attribute="ipv6GatewayAddress" name="ipv6-gateway-address" type="java.lang.String">
1348                                         <xml-properties>
1349                                                 <xml-property name="description" value="IPV6 gateway address" />
1350                                         </xml-properties>
1351                                 </xml-element>
1352                                 <xml-element java-attribute="ipv6Prefix" name="ipv6-prefix" type="java.lang.String">
1353                                         <xml-properties>
1354                                                 <xml-property name="description" value="IPV6 prefix" />
1355                                         </xml-properties>
1356                                 </xml-element>
1357                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1358                         </java-attributes>
1359                         <xml-properties>
1360                                 <xml-property name="description" value="Generic network definition" />
1361                                 <xml-property name="nameProps" value="network-name" />
1362                                 <xml-property name="indexedProps" value="network-uuid,network-id" />
1363                                 <xml-property name="uniqueProps" value="network-id" />
1364                                 <xml-property name="container" value="l3-networks" />
1365                                 <xml-property name="namespace" value="network" />
1366                         </xml-properties>
1367                 </java-type>
1368
1369                 <java-type name="GenericVnfs">
1370                         <xml-properties>
1371                                 <xml-property name="description" value="VNF with no special attributes" />
1372                         </xml-properties>
1373                         <xml-root-element name="generic-vnfs" />
1374                         <java-attributes>
1375                                 <xml-element container-type="java.util.ArrayList" java-attribute="genericVnf" name="generic-vnf" type="inventory.aai.onap.org.GenericVnf" />
1376                         </java-attributes>
1377                 </java-type>
1378
1379                 <java-type name="GenericVnf">
1380                         <xml-root-element name="generic-vnf" />
1381                         <java-attributes>
1382                                 <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
1383                                         <xml-properties>
1384                                                 <xml-property name="description" value="Unique id of VNF.  This is unique across the graph." />
1385                                         </xml-properties>
1386                                 </xml-element>
1387                                 <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
1388                                         <xml-properties>
1389                                                 <xml-property name="description" value="Name of VNF." />
1390                                         </xml-properties>
1391                                 </xml-element>
1392                                 <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
1393                                         <xml-properties>
1394                                                 <xml-property name="description" value="Alternate name of VNF." />
1395                                         </xml-properties>
1396                                 </xml-element>
1397                                 <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
1398                                         <xml-properties>
1399                                                 <xml-property name="description" value="Type of VNF.  Source of truth should define and socialize values.                                  Becomes part of the key to service capability" />
1400                                         </xml-properties>
1401                                 </xml-element>
1402                                 <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
1403                                         <xml-properties>
1404                                                 <xml-property name="description" value="Trigger for operational monitoring of this resource by Service Assurance systems." />
1405                                         </xml-properties>
1406                                 </xml-element>
1407                                 <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
1408                                         <xml-properties>
1409                                                 <xml-property name="description" value="Indicator for whether the resource is considered operational" />
1410                                         </xml-properties>
1411                                 </xml-element>
1412                                 <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
1413                                         <xml-properties>
1414                                                 <xml-property name="description" value="License key" />
1415                                         </xml-properties>
1416                                 </xml-element>
1417                                 <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
1418                                         <xml-properties>
1419                                                 <xml-property name="description" value="Client should send valid enumerated value" />
1420                                         </xml-properties>
1421                                 </xml-element>
1422                                 <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
1423                                         <xml-properties>
1424                                                 <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
1425                                         </xml-properties>
1426                                 </xml-element>
1427                                 <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
1428                                         <xml-properties>
1429                                                 <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
1430                                         </xml-properties>
1431                                 </xml-element>
1432                                 <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
1433                                         <xml-properties>
1434                                                 <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
1435                                         </xml-properties>
1436                                 </xml-element>
1437                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1438                                 <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.LInterfaces" />
1439                                 <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.LagInterfaces" />
1440                         </java-attributes>
1441                         <xml-properties>
1442                                 <xml-property name="nameProps" value="vnf-name" />
1443                                 <xml-property name="indexedProps" value="vnf-name2,vnf-name,heat-stack-id,vnf-id" />
1444                                 <xml-property name="uniqueProps" value="vnf-id" />
1445                                 <xml-property name="container" value="generic-vnfs" />
1446                                 <xml-property name="namespace" value="network" />
1447                                 <xml-property name="extends" value="vnf" />
1448                         </xml-properties>
1449                 </java-type>
1450
1451                 <java-type name="LagLinks">
1452                         <xml-root-element name="lag-links" />
1453                         <java-attributes>
1454                                 <xml-element container-type="java.util.ArrayList" java-attribute="lagLink" name="lag-link" type="inventory.aai.onap.org.LagLink" />
1455                         </java-attributes>
1456                 </java-type>
1457
1458                 <java-type name="LagLink">
1459                         <xml-root-element name="lag-link" />
1460                         <java-attributes>
1461                                 <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
1462                                         <xml-properties>
1463                                                 <xml-property name="description" value="Alphabetical concatenation of lag-interface names" />
1464                                         </xml-properties>
1465                                 </xml-element>
1466                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1467                         </java-attributes>
1468                         <xml-properties>
1469                                 <xml-property name="description" value="LAG links can connect lag-interfaces" />
1470                                 <xml-property name="indexedProps" value="link-name" />
1471                                 <xml-property name="container" value="lag-links" />
1472                                 <xml-property name="namespace" value="network" />
1473                         </xml-properties>
1474                 </java-type>
1475
1476                 <java-type name="Newvces">
1477                         <xml-properties>
1478                                 <xml-property name="description" value="This is the skeleton of the new VCE object we hope to migrate to in 1507. In 1504, we will use it to store network data gathered from RESTCONF calls to SDN-C. The vnf-id2 leaf needs to be populated with the value of the vce's vnf-id." />
1479                         </xml-properties>
1480                         <xml-root-element name="newvces" />
1481                         <java-attributes>
1482                                 <xml-element container-type="java.util.ArrayList" java-attribute="newvce" name="newvce" type="inventory.aai.onap.org.Newvce" />
1483                         </java-attributes>
1484                 </java-type>
1485
1486                 <java-type name="Newvce">
1487                         <xml-root-element name="newvce" />
1488                         <java-attributes>
1489                                 <xml-element java-attribute="vnfId2" name="vnf-id2" required="true" type="java.lang.String" xml-key="true">
1490                                         <xml-properties>
1491                                                 <xml-property name="description" value="Unique id of VNF, can't use same attribute name right now until we promote this new object" />
1492                                         </xml-properties>
1493                                 </xml-element>
1494                                 <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
1495                                         <xml-properties>
1496                                                 <xml-property name="description" value="Name of VNF." />
1497                                         </xml-properties>
1498                                 </xml-element>
1499                                 <xml-element java-attribute="vnfName2" name="vnf-name2" type="java.lang.String">
1500                                         <xml-properties>
1501                                                 <xml-property name="description" value="Alternate name of VNF." />
1502                                         </xml-properties>
1503                                 </xml-element>
1504                                 <xml-element java-attribute="vnfType" name="vnf-type" required="true" type="java.lang.String">
1505                                         <xml-properties>
1506                                                 <xml-property name="description" value="Type of VNF.  Source of truth should define and socialize values.                                  Becomes part of the key to service capability" />
1507                                         </xml-properties>
1508                                 </xml-element>
1509                                 <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
1510                                         <xml-properties>
1511                                                 <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
1512                                         </xml-properties>
1513                                 </xml-element>
1514                                 <xml-element java-attribute="operationalState" name="operational-state" type="java.lang.String">
1515                                         <xml-properties>
1516                                                 <xml-property name="description" value="Indicator for whether the resource is considered operational" />
1517                                         </xml-properties>
1518                                 </xml-element>
1519                                 <xml-element java-attribute="licenseKey" name="license-key" type="java.lang.String">
1520                                         <xml-properties>
1521                                                 <xml-property name="description" value="License key" />
1522                                         </xml-properties>
1523                                 </xml-element>
1524                                 <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
1525                                         <xml-properties>
1526                                                 <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
1527                                         </xml-properties>
1528                                 </xml-element>
1529                                 <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
1530                                         <xml-properties>
1531                                                 <xml-property name="description" value="Client should send valid enumerated value." />
1532                                         </xml-properties>
1533                                 </xml-element>
1534                                 <xml-element java-attribute="orchestrationStatus" name="orchestration-status" type="java.lang.String">
1535                                         <xml-properties>
1536                                                 <xml-property name="description" value="Orchestration status of this VNF, used by MSO." />
1537                                         </xml-properties>
1538                                 </xml-element>
1539                                 <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
1540                                         <xml-properties>
1541                                                 <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
1542                                         </xml-properties>
1543                                 </xml-element>
1544                                 <xml-element java-attribute="msoCatalogKey" name="mso-catalog-key" type="java.lang.String">
1545                                         <xml-properties>
1546                                                 <xml-property name="description" value="Corresponds to the SDN-C catalog id used to configure this VCE" />
1547                                         </xml-properties>
1548                                 </xml-element>
1549                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1550                                 <xml-element java-attribute="lInterfaces" name="l-interfaces" type="inventory.aai.onap.org.LInterfaces" />
1551                         </java-attributes>
1552                         <xml-properties>
1553                                 <xml-property name="description" value="Aspirational VCE object which we'll use to capture additional interface details regarding topology." />
1554                                 <xml-property name="nameProps" value="vnf-name" />
1555                                 <xml-property name="indexedProps" value="vnf-name2,vnf-name,heat-stack-id,vnf-id2" />
1556                                 <xml-property name="uniqueProps" value="vnf-id2" />
1557                                 <xml-property name="container" value="newvces" />
1558                                 <xml-property name="namespace" value="network" />
1559                         </xml-properties>
1560                 </java-type>
1561
1562                 <java-type name="VplsPes">
1563                         <xml-root-element name="vpls-pes" />
1564                         <java-attributes>
1565                                 <xml-element container-type="java.util.ArrayList" java-attribute="vplsPe" name="vpls-pe" type="inventory.aai.onap.org.VplsPe" />
1566                         </java-attributes>
1567                 </java-type>
1568
1569                 <java-type name="VplsPe">
1570                         <xml-root-element name="vpls-pe" />
1571                         <java-attributes>
1572                                 <xml-element java-attribute="equipmentName" name="equipment-name" required="true" type="java.lang.String" xml-key="true" />
1573                                 <xml-element java-attribute="provStatus" name="prov-status" type="java.lang.String">
1574                                         <xml-properties>
1575                                                 <xml-property name="description" value="Trigger for operational monitoring of this VNF by BAU Service Assurance systems." />
1576                                         </xml-properties>
1577                                 </xml-element>
1578                                 <xml-element java-attribute="ipv4OamAddress" name="ipv4-oam-address" type="java.lang.String">
1579                                         <xml-properties>
1580                                                 <xml-property name="description" value="Address tail-f uses to configure generic-vnf, also used for troubleshooting and is IP used for traps generated by GenericVnf (v4-loopback0-ip-address)." />
1581                                         </xml-properties>
1582                                 </xml-element>
1583                                 <xml-element java-attribute="equipmentRole" name="equipment-role" type="java.lang.String">
1584                                         <xml-properties>
1585                                                 <xml-property name="description" value="Client should send valid enumerated value, e.g., VPLS-PE." />
1586                                         </xml-properties>
1587                                 </xml-element>
1588                                 <xml-element java-attribute="vlanIdOuter" name="vlan-id-outer" type="java.lang.Long">
1589                                         <xml-properties>
1590                                                 <xml-property name="description" value="Temporary location for stag to get to VCE" />
1591                                         </xml-properties>
1592                                 </xml-element>
1593                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1594                                 <xml-element java-attribute="pInterfaces" name="p-interfaces" type="inventory.aai.onap.org.PInterfaces" />
1595                                 <xml-element java-attribute="lagInterfaces" name="lag-interfaces" type="inventory.aai.onap.org.LagInterfaces" />
1596                         </java-attributes>
1597                         <xml-properties>
1598                                 <xml-property name="description" value="Relationship-list must include related to info for complex." />
1599                                 <xml-property name="indexedProps" value="equipment-name" />
1600                                 <xml-property name="container" value="vpls-pes" />
1601                                 <xml-property name="namespace" value="network" />
1602                         </xml-properties>
1603                 </java-type>
1604
1605                 <java-type name="PhysicalLinks">
1606                         <xml-root-element name="physical-links" />
1607                         <java-attributes>
1608                                 <xml-element container-type="java.util.ArrayList" java-attribute="physicalLink" name="physical-link" type="inventory.aai.onap.org.PhysicalLink" />
1609                         </java-attributes>
1610                 </java-type>
1611
1612                 <java-type name="PhysicalLink">
1613                         <xml-root-element name="physical-link" />
1614                         <java-attributes>
1615                                 <xml-element java-attribute="linkName" name="link-name" required="true" type="java.lang.String" xml-key="true">
1616                                         <xml-properties>
1617                                                 <xml-property name="description" value="e.g., hostnameA_p-connection_nameA_hostnameZ+p_connection-nameZ" />
1618                                         </xml-properties>
1619                                 </xml-element>
1620                                 <xml-element java-attribute="speedValue" name="speed-value" type="java.lang.String">
1621                                         <xml-properties>
1622                                                 <xml-property name="description" value="Captures the numeric part of the speed" />
1623                                         </xml-properties>
1624                                 </xml-element>
1625                                 <xml-element java-attribute="speedUnits" name="speed-units" type="java.lang.String">
1626                                         <xml-properties>
1627                                                 <xml-property name="description" value="Captures the units corresponding to the speed" />
1628                                         </xml-properties>
1629                                 </xml-element>
1630                                 <xml-element java-attribute="circuitId" name="circuit-id" type="java.lang.String">
1631                                         <xml-properties>
1632                                                 <xml-property name="description" value="Circuit it" />
1633                                         </xml-properties>
1634                                 </xml-element>
1635                                 <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.RelationshipList" />
1636                         </java-attributes>
1637                         <xml-properties>
1638                                 <xml-property name="description" value="Physical links can connect p-interfaces" />
1639                                 <xml-property name="indexedProps" value="circuit-id,link-name" />
1640                                 <xml-property name="alternateKeys1" value="circuit-id" />
1641                                 <xml-property name="container" value="physical-links" />
1642                                 <xml-property name="namespace" value="network" />
1643                         </xml-properties>
1644                 </java-type>
1645
1646                 <java-type name="NotificationEvent">
1647                         <xml-root-element name="notification-event" />
1648                         <java-attributes>
1649                                 <xml-element java-attribute="eventHeader" name="event-header" type="inventory.aai.onap.org.NotificationEventHeader" />
1650                                 <xml-any-element java-attribute="entity" />
1651                         </java-attributes>
1652                 </java-type>
1653                 <java-type name="NotificationEventHeader">
1654                         <xml-root-element name="notification-event-header" />
1655                         <java-attributes>
1656                                 <xml-element java-attribute="id" name="id" type="java.lang.String" />
1657                                 <xml-element java-attribute="timestamp" name="timestamp" type="java.lang.String" />
1658                                 <xml-element java-attribute="sourceName" name="source-name" type="java.lang.String" />
1659                                 <xml-element java-attribute="domain" name="domain" type="java.lang.String" />
1660                                 <xml-element java-attribute="sequenceNumber" name="sequence-number" type="java.lang.String" />
1661                                 <xml-element java-attribute="severity" name="severity" type="java.lang.String" />
1662                                 <xml-element java-attribute="eventType" name="event-type" type="java.lang.String" />
1663                                 <xml-element java-attribute="version" name="version" type="java.lang.String" />
1664                                 <xml-element java-attribute="action" name="action" type="java.lang.String" />
1665                                 <xml-element java-attribute="entityType" name="entity-type" type="java.lang.String" />
1666                                 <xml-element java-attribute="topEntityType" name="top-entity-type" type="java.lang.String" />
1667                                 <xml-element java-attribute="entityLink" name="entity-link" type="java.lang.String" />
1668                                 <xml-element java-attribute="status" name="status" type="java.lang.String" />
1669                         </java-attributes>
1670                 </java-type>
1671                 <java-type name="AaiInternal">
1672                         <xml-root-element name="aai-internal" />
1673                         <java-attributes>
1674                                 <xml-element container-type="java.util.ArrayList" java-attribute="reservedPropNames" name="reserved-prop-names" type="inventory.aai.onap.org.ReservedPropNames" />
1675                                 <xml-element container-type="java.util.ArrayList" java-attribute="edgePropNames" name="edge-prop-names" type="inventory.aai.onap.org.EdgePropNames" />
1676                         </java-attributes>
1677                 </java-type>
1678                 <java-type name="ReservedPropNames">
1679                         <xml-properties>
1680                                 <xml-property name="description" value="Internal map to define some reserved properties of a vertex" />
1681                                 <xml-property name="uniqueProps" value="aai-unique-key" />
1682                                 <xml-property name="indexedProps" value="aai-unique-key" />
1683                         </xml-properties>
1684                         <xml-root-element name="reserved-prop-names" />
1685                         <java-attributes>
1686                                 <xml-element java-attribute="lastModSourceOfTruth" name="last-mod-source-of-truth" type="java.lang.String" />
1687                                 <xml-element java-attribute="aaiCreatedTs" name="aai-created-ts" type="java.lang.Long" />
1688                                 <xml-element java-attribute="aaiUniqueKey" name="aai-unique-key" type="java.lang.String" />
1689                                 <xml-element java-attribute="aaiLastModTs" name="aai-last-mod-ts" type="java.lang.Long" />
1690                                 <xml-element java-attribute="sourceOfTruth" name="source-of-truth" type="java.lang.String" />
1691                         </java-attributes>
1692                 </java-type>
1693                 <java-type name="EdgePropNames">
1694                         <!-- NOTE that the names of these properties are not consistent and are in mixed case and hyphen case for now -->
1695                         <xml-properties>
1696                                 <xml-property name="description" value="Internal map to define the properties of an edge and interpret the map EdgeRules" />
1697                                 <xml-property name="edgeInfo" value="edgeLabel,direction,multiplicityRule,isParent,usesResource,hasDelTarget,SVC-INFRA,SVC-INFRA-REV" />
1698                         </xml-properties>
1699                         <xml-root-element name="edge-prop-names" />
1700                         <java-attributes>
1701                                 <xml-element java-attribute="edgeLabel" name="edgeLabel" type="java.lang.String" />
1702                                 <xml-element java-attribute="direction" name="direction" type="java.lang.String" />
1703                                 <xml-element java-attribute="multiplicityRule" name="multiplicityRule" type="java.lang.String" />
1704                                 <xml-element java-attribute="isParent" name="isParent" type="java.lang.Boolean" />
1705                                 <xml-element java-attribute="usesResource" name="usesResource" type="java.lang.Boolean" />
1706                                 <xml-element java-attribute="hasDelTarget" name="hasDelTarget" type="java.lang.Boolean" />
1707                                 <xml-element java-attribute="SVC-INFRA" name="SVC-INFRA" type="java.lang.String" />
1708                                 <xml-element java-attribute="SVC-INFRA-REV" name="SVC-INFRA-REV" type="java.lang.String" />
1709                         </java-attributes>
1710                 </java-type>
1711                 <java-type name="Vnf">
1712                         <xml-root-element name="vnf"/>
1713                         <java-attributes>
1714                                 <xml-element java-attribute="vnfId" name="vnf-id" required="true" type="java.lang.String" xml-key="true">
1715                                         <xml-properties>
1716                                                 <xml-property name="description" value="Unique id of VNF.  This is unique across the graph." />
1717                                         </xml-properties>
1718                                 </xml-element>
1719                         </java-attributes>
1720                         <xml-properties>
1721                                 <xml-property name="description" value="Abstract vnf class" />
1722                                 <xml-property name="indexedProps" value="vnf-id" />
1723                                 <xml-property name="uniqueProps" value="vnf-id" />
1724                                 <xml-property name="inheritors" value="vce,generic-vnf" />
1725                                 <xml-property name="abstract" value="true" />
1726                         </xml-properties>
1727                 </java-type>
1728         </java-types>
1729 </xml-bindings>