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