AAI-2154 Add EdgeRules to support BBS use case
[aai/schema-service.git] / aai-schema / src / main / resources / onap / aai_schema / aai_schema_v16.xsd
1 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2 <xs:schema elementFormDefault="qualified" version="1.0" targetNamespace="http://org.onap.aai.inventory/v16" xmlns:tns="http://org.onap.aai.inventory/v16" xmlns:xs="http://www.w3.org/2001/XMLSchema"
3 xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
4     jaxb:version="2.1"
5     xmlns:annox="http://annox.dev.java.net"
6     jaxb:extensionBindingPrefixes="annox">
7
8   <xs:element name="inventory-item-data">
9     <xs:complexType>
10       <xs:sequence>
11         <xs:element name="property-name" type="xs:string" minOccurs="0"/>
12         <xs:element name="property-value" type="xs:string" minOccurs="0"/>
13       </xs:sequence>
14     </xs:complexType>
15   </xs:element>
16   <xs:element name="inventory-item">
17     <xs:complexType>
18       <xs:sequence>
19         <xs:element name="inventory-item-type" type="xs:string" minOccurs="0"/>
20         <xs:element name="inventory-item-link" type="xs:string" minOccurs="0"/>
21         <xs:element ref="tns:inventory-item-data" minOccurs="0" maxOccurs="5000"/>
22         <xs:element ref="tns:tagged-inventory-item-list" minOccurs="0" maxOccurs="5000"/>
23       </xs:sequence>
24     </xs:complexType>
25   </xs:element>
26   <xs:element name="tagged-inventory-item-list">
27     <xs:complexType>
28       <xs:sequence>
29         <xs:element ref="tns:inventory-item" minOccurs="0" maxOccurs="5000"/>
30       </xs:sequence>
31     </xs:complexType>
32   </xs:element>
33   <xs:element name="edge-tag-query-result">
34     <xs:complexType>
35       <xs:sequence>
36         <xs:element ref="tns:tagged-inventory-item-list" minOccurs="0" maxOccurs="5000"/>
37       </xs:sequence>
38     </xs:complexType>
39   </xs:element>
40   <xs:element name="start-node-filter">
41     <xs:complexType>
42       <xs:sequence>
43         <xs:element name="property-name" type="xs:string" minOccurs="0"/>
44         <xs:element name="property-value" type="xs:string" minOccurs="0"/>
45       </xs:sequence>
46     </xs:complexType>
47   </xs:element>
48   <xs:element name="include-node-filter">
49     <xs:complexType>
50       <xs:sequence>
51         <xs:element name="include-node-type" type="xs:string" minOccurs="0"/>
52       </xs:sequence>
53     </xs:complexType>
54   </xs:element>
55   <xs:element name="secondary-filter">
56     <xs:complexType>
57       <xs:sequence>
58         <xs:element name="property-name" type="xs:string" minOccurs="0"/>
59         <xs:element name="filter-type" type="xs:string" minOccurs="0"/>
60         <xs:element name="property-value" type="xs:string" minOccurs="0"/>
61       </xs:sequence>
62     </xs:complexType>
63   </xs:element>
64   <xs:element name="edge-tag-query-request">
65     <xs:complexType>
66       <xs:sequence>
67         <xs:element name="edge-tag" type="xs:string" minOccurs="0"/>
68         <xs:element name="result-detail" type="xs:string" minOccurs="0"/>
69         <xs:element name="start-node-type" type="xs:string" minOccurs="0"/>
70         <xs:element ref="tns:start-node-filter" minOccurs="0" maxOccurs="5000"/>
71         <xs:element ref="tns:include-node-filter" minOccurs="0" maxOccurs="5000"/>
72         <xs:element ref="tns:secondary-filter" minOccurs="0" maxOccurs="5000"/>
73       </xs:sequence>
74     </xs:complexType>
75   </xs:element>
76   <xs:element name="result-data">
77     <xs:complexType>
78       <xs:annotation>
79         <xs:appinfo>
80           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="The URL to the specific resource")</annox:annotate>
81         </xs:appinfo>
82       </xs:annotation>
83       <xs:sequence>
84         <xs:element name="resource-type" type="xs:string" minOccurs="0">
85           <xs:annotation>
86             <xs:appinfo>
87               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The specific type of node in the A&amp;AI graph")</annox:annotate>
88             </xs:appinfo>
89           </xs:annotation>
90         </xs:element>
91         <xs:element name="resource-link" type="xs:string" minOccurs="0">
92           <xs:annotation>
93             <xs:appinfo>
94               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The URL to the specific resource")</annox:annotate>
95             </xs:appinfo>
96           </xs:annotation>
97         </xs:element>
98       </xs:sequence>
99     </xs:complexType>
100   </xs:element>
101   <xs:element name="search-results">
102     <xs:complexType>
103       <xs:sequence>
104         <xs:element ref="tns:result-data" minOccurs="0" maxOccurs="5000"/>
105       </xs:sequence>
106     </xs:complexType>
107   </xs:element>
108   <xs:element name="relationship-data">
109     <xs:complexType>
110       <xs:annotation>
111         <xs:appinfo>
112           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Value of the attribute.")</annox:annotate>
113         </xs:appinfo>
114       </xs:annotation>
115       <xs:sequence>
116         <xs:element name="relationship-key" type="xs:string" minOccurs="0">
117           <xs:annotation>
118             <xs:appinfo>
119               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="A keyword provided by A&amp;AI to indicate an attribute.")</annox:annotate>
120             </xs:appinfo>
121           </xs:annotation>
122         </xs:element>
123         <xs:element name="relationship-value" type="xs:string" minOccurs="0">
124           <xs:annotation>
125             <xs:appinfo>
126               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Value of the attribute.")</annox:annotate>
127             </xs:appinfo>
128           </xs:annotation>
129         </xs:element>
130       </xs:sequence>
131     </xs:complexType>
132   </xs:element>
133   <xs:element name="related-to-property">
134     <xs:complexType>
135       <xs:annotation>
136         <xs:appinfo>
137           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Value part of a key/value pair")</annox:annotate>
138         </xs:appinfo>
139       </xs:annotation>
140       <xs:sequence>
141         <xs:element name="property-key" type="xs:string" minOccurs="0">
142           <xs:annotation>
143             <xs:appinfo>
144               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Key part of a key/value pair")</annox:annotate>
145             </xs:appinfo>
146           </xs:annotation>
147         </xs:element>
148         <xs:element name="property-value" type="xs:string" minOccurs="0">
149           <xs:annotation>
150             <xs:appinfo>
151               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Value part of a key/value pair")</annox:annotate>
152             </xs:appinfo>
153           </xs:annotation>
154         </xs:element>
155       </xs:sequence>
156     </xs:complexType>
157   </xs:element>
158   <xs:element name="relationship">
159     <xs:complexType>
160       <xs:annotation>
161         <xs:appinfo>
162           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="URL to the object in A&amp;AI.")</annox:annotate>
163         </xs:appinfo>
164       </xs:annotation>
165       <xs:sequence>
166         <xs:element name="related-to" type="xs:string" minOccurs="0">
167           <xs:annotation>
168             <xs:appinfo>
169               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="A keyword provided by A&amp;AI to indicate type of node.")</annox:annotate>
170             </xs:appinfo>
171           </xs:annotation>
172         </xs:element>
173         <xs:element name="relationship-label" type="xs:string" minOccurs="0">
174           <xs:annotation>
175             <xs:appinfo>
176               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The edge label for this relationship.")</annox:annotate>
177             </xs:appinfo>
178           </xs:annotation>
179         </xs:element>
180         <xs:element name="related-link" type="xs:string" minOccurs="0">
181           <xs:annotation>
182             <xs:appinfo>
183               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to the object in A&amp;AI.")</annox:annotate>
184             </xs:appinfo>
185           </xs:annotation>
186         </xs:element>
187         <xs:element ref="tns:relationship-data" minOccurs="0" maxOccurs="5000"/>
188         <xs:element ref="tns:related-to-property" minOccurs="0" maxOccurs="5000"/>
189       </xs:sequence>
190     </xs:complexType>
191   </xs:element>
192   <xs:element name="relationship-list">
193     <xs:complexType>
194       <xs:sequence>
195         <xs:element ref="tns:relationship" minOccurs="0" maxOccurs="5000"/>
196       </xs:sequence>
197     </xs:complexType>
198   </xs:element>
199   <xs:element name="oam-network">
200     <xs:complexType>
201       <xs:annotation>
202         <xs:appinfo>
203           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="OAM network, to be deprecated shortly.  Do not use for new purposes. ",nameProps="network-name",indexedProps="cvlan-tag,network-uuid,network-name",dependentOn="cloud-region",container="oam-networks",uriTemplate="/oam-networks/oam-network/{network-uuid}",requiredProps="network-uuid,network-name,cvlan-tag")</annox:annotate>
204         </xs:appinfo>
205       </xs:annotation>
206       <xs:sequence>
207         <xs:element name="network-uuid" type="xs:string" minOccurs="0">
208           <xs:annotation>
209             <xs:appinfo>
210               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="UUID of the network. Unique across a cloud-region")</annox:annotate>
211             </xs:appinfo>
212           </xs:annotation>
213         </xs:element>
214         <xs:element name="network-name" type="xs:string" minOccurs="0">
215           <xs:annotation>
216             <xs:appinfo>
217               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Name of the network.")</annox:annotate>
218             </xs:appinfo>
219           </xs:annotation>
220         </xs:element>
221         <xs:element name="cvlan-tag" type="xs:unsignedInt" minOccurs="0">
222           <xs:annotation>
223             <xs:appinfo>
224               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="cvlan-id")</annox:annotate>
225             </xs:appinfo>
226           </xs:annotation>
227         </xs:element>
228         <xs:element name="ipv4-oam-gateway-address" type="xs:string" minOccurs="0">
229           <xs:annotation>
230             <xs:appinfo>
231               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for VNF firewall rule so customer cannot send customer traffic over this oam network")</annox:annotate>
232             </xs:appinfo>
233           </xs:annotation>
234         </xs:element>
235         <xs:element name="ipv4-oam-gateway-address-prefix-length" type="xs:int" minOccurs="0">
236           <xs:annotation>
237             <xs:appinfo>
238               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for VNF firewall rule so customer cannot send customer traffic over this oam network")</annox:annotate>
239             </xs:appinfo>
240           </xs:annotation>
241         </xs:element>
242         <xs:element name="resource-version" type="xs:string" minOccurs="0">
243           <xs:annotation>
244             <xs:appinfo>
245               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
246             </xs:appinfo>
247           </xs:annotation>
248         </xs:element>
249         <xs:element ref="tns:relationship-list" minOccurs="0"/>
250       </xs:sequence>
251     </xs:complexType>
252   </xs:element>
253   <xs:element name="oam-networks">
254     <xs:complexType>
255       <xs:annotation>
256         <xs:appinfo>
257           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of OAM networks, to be deprecated shortly.  Do not use for new purposes. ")</annox:annotate>
258         </xs:appinfo>
259       </xs:annotation>
260       <xs:sequence>
261         <xs:element ref="tns:oam-network" minOccurs="0" maxOccurs="5000"/>
262       </xs:sequence>
263     </xs:complexType>
264   </xs:element>
265   <xs:element name="dvs-switch">
266     <xs:complexType>
267       <xs:annotation>
268         <xs:appinfo>
269           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Digital virtual switch metadata, used by SDN-C to configure VCEs.  A&amp;AI needs to receive this data from the PO deployment team and administer it using the provisioningTool.sh into A&amp;AI. ",indexedProps="vcenter-url,switch-name",dependentOn="cloud-region",container="dvs-switches",uriTemplate="/dvs-switches/dvs-switch/{switch-name}",requiredProps="switch-name,vcenter-url")</annox:annotate>
270         </xs:appinfo>
271       </xs:annotation>
272       <xs:sequence>
273         <xs:element name="switch-name" type="xs:string" minOccurs="0">
274           <xs:annotation>
275             <xs:appinfo>
276               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="DVS switch name")</annox:annotate>
277             </xs:appinfo>
278           </xs:annotation>
279         </xs:element>
280         <xs:element name="vcenter-url" type="xs:string" minOccurs="0">
281           <xs:annotation>
282             <xs:appinfo>
283               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL used to reach the vcenter")</annox:annotate>
284             </xs:appinfo>
285           </xs:annotation>
286         </xs:element>
287         <xs:element name="resource-version" type="xs:string" minOccurs="0">
288           <xs:annotation>
289             <xs:appinfo>
290               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
291             </xs:appinfo>
292           </xs:annotation>
293         </xs:element>
294         <xs:element ref="tns:relationship-list" minOccurs="0"/>
295       </xs:sequence>
296     </xs:complexType>
297   </xs:element>
298   <xs:element name="dvs-switches">
299     <xs:complexType>
300       <xs:annotation>
301         <xs:appinfo>
302           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of digital virtual switch metadata used for vmWare VCEs and GenericVnfs.")</annox:annotate>
303         </xs:appinfo>
304       </xs:annotation>
305       <xs:sequence>
306         <xs:element ref="tns:dvs-switch" minOccurs="0" maxOccurs="5000"/>
307       </xs:sequence>
308     </xs:complexType>
309   </xs:element>
310   <xs:element name="availability-zone">
311     <xs:complexType>
312       <xs:annotation>
313         <xs:appinfo>
314           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Availability zone, a collection of compute hosts/pservers",indexedProps="availability-zone-name",dependentOn="cloud-region",container="availability-zones",uriTemplate="/availability-zones/availability-zone/{availability-zone-name}",requiredProps="availability-zone-name,hypervisor-type")</annox:annotate>
315         </xs:appinfo>
316       </xs:annotation>
317       <xs:sequence>
318         <xs:element name="availability-zone-name" type="xs:string" minOccurs="0">
319           <xs:annotation>
320             <xs:appinfo>
321               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Name of the availability zone.  Unique across a cloud region")</annox:annotate>
322             </xs:appinfo>
323           </xs:annotation>
324         </xs:element>
325         <xs:element name="hypervisor-type" type="xs:string" minOccurs="0">
326           <xs:annotation>
327             <xs:appinfo>
328               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Type of hypervisor.  Source of truth should define valid values.")</annox:annotate>
329             </xs:appinfo>
330           </xs:annotation>
331         </xs:element>
332         <xs:element name="operational-status" type="xs:string" minOccurs="0">
333           <xs:annotation>
334             <xs:appinfo>
335               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="State that indicates whether the availability zone should be used, etc.  Source of truth should define valid values.")</annox:annotate>
336             </xs:appinfo>
337           </xs:annotation>
338         </xs:element>
339         <xs:element name="resource-version" type="xs:string" minOccurs="0">
340           <xs:annotation>
341             <xs:appinfo>
342               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
343             </xs:appinfo>
344           </xs:annotation>
345         </xs:element>
346         <xs:element ref="tns:relationship-list" minOccurs="0"/>
347       </xs:sequence>
348     </xs:complexType>
349   </xs:element>
350   <xs:element name="az-and-dvs-switches">
351     <xs:complexType>
352       <xs:sequence>
353         <xs:element ref="tns:dvs-switches" minOccurs="0"/>
354         <xs:element ref="tns:availability-zone" minOccurs="0"/>
355       </xs:sequence>
356     </xs:complexType>
357   </xs:element>
358   <xs:element name="sdn-zone-response">
359     <xs:complexType>
360       <xs:sequence>
361         <xs:element ref="tns:oam-networks" minOccurs="0"/>
362         <xs:element ref="tns:az-and-dvs-switches" minOccurs="0" maxOccurs="5000"/>
363       </xs:sequence>
364     </xs:complexType>
365   </xs:element>
366   <xs:element name="search">
367     <xs:complexType>
368       <xs:sequence>
369         <xs:element ref="tns:edge-tag-query-result" minOccurs="0"/>
370         <xs:element ref="tns:edge-tag-query-request" minOccurs="0"/>
371         <xs:element ref="tns:search-results" minOccurs="0"/>
372         <xs:element ref="tns:sdn-zone-response" minOccurs="0"/>
373       </xs:sequence>
374     </xs:complexType>
375   </xs:element>
376   <xs:element name="update-node-key">
377     <xs:complexType>
378       <xs:sequence>
379         <xs:element name="key-name" type="xs:string" minOccurs="0"/>
380         <xs:element name="key-value" type="xs:string" minOccurs="0"/>
381       </xs:sequence>
382     </xs:complexType>
383   </xs:element>
384   <xs:element name="action-data">
385     <xs:complexType>
386       <xs:sequence>
387         <xs:element name="property-name" type="xs:string" minOccurs="0"/>
388         <xs:element name="property-value" type="xs:string" minOccurs="0"/>
389       </xs:sequence>
390     </xs:complexType>
391   </xs:element>
392   <xs:element name="action">
393     <xs:complexType>
394       <xs:sequence>
395         <xs:element name="action-type" type="xs:string" minOccurs="0"/>
396         <xs:element ref="tns:action-data" minOccurs="0" maxOccurs="5000"/>
397       </xs:sequence>
398     </xs:complexType>
399   </xs:element>
400   <xs:element name="update">
401     <xs:complexType>
402       <xs:annotation>
403         <xs:appinfo>
404           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Serves a PATCH like function.  Does not enforce concurrency control.  Clear each usage with AAI team.",requiredProps="update-node-type")</annox:annotate>
405         </xs:appinfo>
406       </xs:annotation>
407       <xs:sequence>
408         <xs:element name="update-node-type" type="xs:string" minOccurs="0"/>
409         <xs:element ref="tns:update-node-key" minOccurs="0" maxOccurs="5000"/>
410         <xs:element name="update-node-uri" type="xs:string" minOccurs="0"/>
411         <xs:element ref="tns:action" minOccurs="0" maxOccurs="5000"/>
412       </xs:sequence>
413     </xs:complexType>
414   </xs:element>
415   <xs:element name="key-data">
416     <xs:complexType>
417       <xs:sequence>
418         <xs:element name="key-name" type="xs:string" minOccurs="0"/>
419         <xs:element name="key-value" type="xs:string" minOccurs="0"/>
420       </xs:sequence>
421     </xs:complexType>
422   </xs:element>
423   <xs:element name="notify">
424     <xs:complexType>
425       <xs:sequence>
426         <xs:element name="event-id" type="xs:string" minOccurs="0"/>
427         <xs:element name="node-type" type="xs:string" minOccurs="0"/>
428         <xs:element name="event-trigger" type="xs:string" minOccurs="0"/>
429         <xs:element ref="tns:key-data" minOccurs="0" maxOccurs="5000"/>
430         <xs:element name="selflink" type="xs:string" minOccurs="0"/>
431       </xs:sequence>
432     </xs:complexType>
433   </xs:element>
434   <xs:element name="actions">
435     <xs:complexType>
436       <xs:annotation>
437         <xs:appinfo>
438           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="APIs that are more action related than REST (e.g., notify, update).")</annox:annotate>
439         </xs:appinfo>
440       </xs:annotation>
441       <xs:sequence>
442         <xs:element ref="tns:update" minOccurs="0"/>
443         <xs:element ref="tns:notify" minOccurs="0"/>
444       </xs:sequence>
445     </xs:complexType>
446   </xs:element>
447   <xs:element name="ctag-pool">
448     <xs:complexType>
449       <xs:annotation>
450         <xs:appinfo>
451           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="A collection of C tags (vlan tags) grouped for a specific purpose.",indexedProps="availability-zone-name",dependentOn="complex",container="ctag-pools",uriTemplate="/ctag-pools/ctag-pool/{target-pe}/{availability-zone-name}",requiredProps="target-pe,availability-zone-name,ctag-pool-purpose")</annox:annotate>
452         </xs:appinfo>
453       </xs:annotation>
454       <xs:sequence>
455         <xs:element name="target-pe" type="xs:string" minOccurs="0">
456           <xs:annotation>
457             <xs:appinfo>
458               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="The Target provider edge router")</annox:annotate>
459             </xs:appinfo>
460           </xs:annotation>
461         </xs:element>
462         <xs:element name="availability-zone-name" type="xs:string" minOccurs="0">
463           <xs:annotation>
464             <xs:appinfo>
465               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Name of the availability zone")</annox:annotate>
466             </xs:appinfo>
467           </xs:annotation>
468         </xs:element>
469         <xs:element name="ctag-pool-purpose" type="xs:string" minOccurs="0">
470           <xs:annotation>
471             <xs:appinfo>
472               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Describes what the intended purpose of this pool is.")</annox:annotate>
473             </xs:appinfo>
474           </xs:annotation>
475         </xs:element>
476         <xs:element name="ctag-values" type="xs:string" minOccurs="0">
477           <xs:annotation>
478             <xs:appinfo>
479               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Comma separated list of ctags")</annox:annotate>
480             </xs:appinfo>
481           </xs:annotation>
482         </xs:element>
483         <xs:element name="resource-version" type="xs:string" minOccurs="0">
484           <xs:annotation>
485             <xs:appinfo>
486               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
487             </xs:appinfo>
488           </xs:annotation>
489         </xs:element>
490         <xs:element ref="tns:relationship-list" minOccurs="0"/>
491       </xs:sequence>
492     </xs:complexType>
493   </xs:element>
494   <xs:element name="ctag-pools">
495     <xs:complexType>
496       <xs:sequence>
497         <xs:element ref="tns:ctag-pool" minOccurs="0" maxOccurs="5000"/>
498       </xs:sequence>
499     </xs:complexType>
500   </xs:element>
501   <xs:element name="complex">
502     <xs:complexType>
503       <xs:annotation>
504         <xs:appinfo>
505           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of physical locations that can house cloud-regions.",indexedProps="identity-url,data-center-code,complex-name,physical-location-id",searchable="physical-location-id,data-center-code,complex-name,street1,street2,postal-code",uniqueProps="physical-location-id",container="complexes",namespace="cloud-infrastructure",uriTemplate="/cloud-infrastructure/complexes/complex/{physical-location-id}",requiredProps="physical-location-id,physical-location-type,street1,city,postal-code,country,region")</annox:annotate>
506         </xs:appinfo>
507       </xs:annotation>
508       <xs:sequence>
509         <xs:element name="physical-location-id" type="xs:string" minOccurs="0">
510           <xs:annotation>
511             <xs:appinfo>
512               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique identifier for physical location, e.g., CLLI")</annox:annotate>
513             </xs:appinfo>
514           </xs:annotation>
515         </xs:element>
516         <xs:element name="data-center-code" type="xs:string" minOccurs="0">
517           <xs:annotation>
518             <xs:appinfo>
519               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Data center code which can be an alternate way to identify a complex")</annox:annotate>
520             </xs:appinfo>
521           </xs:annotation>
522         </xs:element>
523         <xs:element name="complex-name" type="xs:string" minOccurs="0">
524           <xs:annotation>
525             <xs:appinfo>
526               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Gamma complex name for LCP instance.")</annox:annotate>
527             </xs:appinfo>
528           </xs:annotation>
529         </xs:element>
530         <xs:element name="identity-url" type="xs:string" minOccurs="0">
531           <xs:annotation>
532             <xs:appinfo>
533               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL of the keystone identity service")</annox:annotate>
534             </xs:appinfo>
535           </xs:annotation>
536         </xs:element>
537         <xs:element name="resource-version" type="xs:string" minOccurs="0">
538           <xs:annotation>
539             <xs:appinfo>
540               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
541             </xs:appinfo>
542           </xs:annotation>
543         </xs:element>
544         <xs:element name="physical-location-type" type="xs:string" minOccurs="0">
545           <xs:annotation>
546             <xs:appinfo>
547               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Type, e.g., central office, data center.")</annox:annotate>
548             </xs:appinfo>
549           </xs:annotation>
550         </xs:element>
551         <xs:element name="street1" type="xs:string" minOccurs="0"/>
552         <xs:element name="street2" type="xs:string" minOccurs="0"/>
553         <xs:element name="city" type="xs:string" minOccurs="0"/>
554         <xs:element name="state" type="xs:string" minOccurs="0"/>
555         <xs:element name="postal-code" type="xs:string" minOccurs="0"/>
556         <xs:element name="country" type="xs:string" minOccurs="0"/>
557         <xs:element name="region" type="xs:string" minOccurs="0"/>
558         <xs:element name="latitude" type="xs:string" minOccurs="0"/>
559         <xs:element name="longitude" type="xs:string" minOccurs="0"/>
560         <xs:element name="elevation" type="xs:string" minOccurs="0"/>
561         <xs:element name="lata" type="xs:string" minOccurs="0"/>
562         <xs:element ref="tns:ctag-pools" minOccurs="0"/>
563         <xs:element ref="tns:relationship-list" minOccurs="0"/>
564       </xs:sequence>
565     </xs:complexType>
566   </xs:element>
567   <xs:element name="complexes">
568     <xs:complexType>
569       <xs:annotation>
570         <xs:appinfo>
571           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of physical locations that can house cloud-regions.")</annox:annotate>
572         </xs:appinfo>
573       </xs:annotation>
574       <xs:sequence>
575         <xs:element ref="tns:complex" minOccurs="0" maxOccurs="5000"/>
576       </xs:sequence>
577     </xs:complexType>
578   </xs:element>
579   <xs:element name="volume-group">
580     <xs:complexType>
581       <xs:annotation>
582         <xs:appinfo>
583           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Persistent block-level storage.",indexedProps="volume-group-name,vnf-type,heat-stack-id,volume-group-id",searchable="volume-group-id,volume-group-name",dependentOn="cloud-region",container="volume-groups",uriTemplate="/volume-groups/volume-group/{volume-group-id}",requiredProps="volume-group-id,vnf-type")</annox:annotate>
584         </xs:appinfo>
585       </xs:annotation>
586       <xs:sequence>
587         <xs:element name="volume-group-id" type="xs:string" minOccurs="0">
588           <xs:annotation>
589             <xs:appinfo>
590               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique ID of volume-group.")</annox:annotate>
591             </xs:appinfo>
592           </xs:annotation>
593         </xs:element>
594         <xs:element name="volume-group-name" type="xs:string" minOccurs="0">
595           <xs:annotation>
596             <xs:appinfo>
597               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Name of the volume group.")</annox:annotate>
598             </xs:appinfo>
599           </xs:annotation>
600         </xs:element>
601         <xs:element name="heat-stack-id" type="xs:string" minOccurs="0">
602           <xs:annotation>
603             <xs:appinfo>
604               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Heat stack id corresponding to this volume-group")</annox:annotate>
605             </xs:appinfo>
606           </xs:annotation>
607         </xs:element>
608         <xs:element name="vnf-type" type="xs:string" minOccurs="0">
609           <xs:annotation>
610             <xs:appinfo>
611               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="String capturing type of vnf, that was intended to identify the ASDC resource.  This field has been overloaded in service-specific ways and clients should expect changes to occur in the future to this field as ECOMP matures.")</annox:annotate>
612             </xs:appinfo>
613           </xs:annotation>
614         </xs:element>
615         <xs:element name="orchestration-status" type="xs:string" minOccurs="0">
616           <xs:annotation>
617             <xs:appinfo>
618               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Orchestration status of this volume-group")</annox:annotate>
619             </xs:appinfo>
620           </xs:annotation>
621         </xs:element>
622         <xs:element name="model-customization-id" type="xs:string" minOccurs="0">
623           <xs:annotation>
624             <xs:appinfo>
625               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="captures the id of all the configuration used to customize the resource for the service.")</annox:annotate>
626             </xs:appinfo>
627           </xs:annotation>
628         </xs:element>
629         <xs:element name="vf-module-model-customization-id" type="xs:string" minOccurs="0">
630           <xs:annotation>
631             <xs:appinfo>
632               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="helps relate the volume group to the vf-module whose components will require the volume group")</annox:annotate>
633             </xs:appinfo>
634           </xs:annotation>
635         </xs:element>
636         <xs:element name="resource-version" type="xs:string" minOccurs="0">
637           <xs:annotation>
638             <xs:appinfo>
639               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
640             </xs:appinfo>
641           </xs:annotation>
642         </xs:element>
643         <xs:element ref="tns:relationship-list" minOccurs="0"/>
644       </xs:sequence>
645     </xs:complexType>
646   </xs:element>
647   <xs:element name="volume-groups">
648     <xs:complexType>
649       <xs:annotation>
650         <xs:appinfo>
651           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of persistent block-level storage.")</annox:annotate>
652         </xs:appinfo>
653       </xs:annotation>
654       <xs:sequence>
655         <xs:element ref="tns:volume-group" minOccurs="0" maxOccurs="5000"/>
656       </xs:sequence>
657     </xs:complexType>
658   </xs:element>
659   <xs:element name="volume">
660     <xs:complexType>
661       <xs:annotation>
662         <xs:appinfo>
663           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Ephemeral Block storage volume.",indexedProps="volume-id",dependentOn="vserver",container="volumes",uriTemplate="/volumes/volume/{volume-id}",requiredProps="volume-id,volume-selflink")</annox:annotate>
664         </xs:appinfo>
665       </xs:annotation>
666       <xs:sequence>
667         <xs:element name="volume-id" type="xs:string" minOccurs="0">
668           <xs:annotation>
669             <xs:appinfo>
670               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique ID of block storage volume relative to the vserver.")</annox:annotate>
671             </xs:appinfo>
672           </xs:annotation>
673         </xs:element>
674         <xs:element name="volume-selflink" type="xs:string" minOccurs="0">
675           <xs:annotation>
676             <xs:appinfo>
677               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to endpoint where AAI can get more details")</annox:annotate>
678             </xs:appinfo>
679           </xs:annotation>
680         </xs:element>
681         <xs:element name="resource-version" type="xs:string" minOccurs="0">
682           <xs:annotation>
683             <xs:appinfo>
684               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
685             </xs:appinfo>
686           </xs:annotation>
687         </xs:element>
688         <xs:element ref="tns:relationship-list" minOccurs="0"/>
689       </xs:sequence>
690     </xs:complexType>
691   </xs:element>
692   <xs:element name="volumes">
693     <xs:complexType>
694       <xs:annotation>
695         <xs:appinfo>
696           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of ephemeral Block storage volumes.")</annox:annotate>
697         </xs:appinfo>
698       </xs:annotation>
699       <xs:sequence>
700         <xs:element ref="tns:volume" minOccurs="0" maxOccurs="5000"/>
701       </xs:sequence>
702     </xs:complexType>
703   </xs:element>
704   <xs:element name="l3-interface-ipv4-address-list">
705     <xs:complexType>
706       <xs:annotation>
707         <xs:appinfo>
708           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="IPv4 Address Range",indexedProps="l3-interface-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="vlan,l-interface,vnfc,cp",uriTemplate="/l3-interface-ipv4-address-list/{l3-interface-ipv4-address}",requiredProps="l3-interface-ipv4-address")</annox:annotate>
709         </xs:appinfo>
710       </xs:annotation>
711       <xs:sequence>
712         <xs:element name="l3-interface-ipv4-address" type="xs:string" minOccurs="0">
713           <xs:annotation>
714             <xs:appinfo>
715               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="IP address")</annox:annotate>
716             </xs:appinfo>
717           </xs:annotation>
718         </xs:element>
719         <xs:element name="l3-interface-ipv4-prefix-length" type="xs:unsignedInt" minOccurs="0">
720           <xs:annotation>
721             <xs:appinfo>
722               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Prefix length, 32 for single address")</annox:annotate>
723             </xs:appinfo>
724           </xs:annotation>
725         </xs:element>
726         <xs:element name="vlan-id-inner" type="xs:unsignedInt" minOccurs="0">
727           <xs:annotation>
728             <xs:appinfo>
729               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Inner VLAN tag")</annox:annotate>
730             </xs:appinfo>
731           </xs:annotation>
732         </xs:element>
733         <xs:element name="vlan-id-outer" type="xs:unsignedInt" minOccurs="0">
734           <xs:annotation>
735             <xs:appinfo>
736               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Outer VLAN tag")</annox:annotate>
737             </xs:appinfo>
738           </xs:annotation>
739         </xs:element>
740         <xs:element name="is-floating" type="xs:boolean" minOccurs="0">
741           <xs:annotation>
742             <xs:appinfo>
743               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Indicator of fixed or floating address")</annox:annotate>
744             </xs:appinfo>
745           </xs:annotation>
746         </xs:element>
747         <xs:element name="resource-version" type="xs:string" minOccurs="0">
748           <xs:annotation>
749             <xs:appinfo>
750               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
751             </xs:appinfo>
752           </xs:annotation>
753         </xs:element>
754         <xs:element name="neutron-network-id" type="xs:string" minOccurs="0">
755           <xs:annotation>
756             <xs:appinfo>
757               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron network id of the interface that address belongs to")</annox:annotate>
758             </xs:appinfo>
759           </xs:annotation>
760         </xs:element>
761         <xs:element name="neutron-subnet-id" type="xs:string" minOccurs="0">
762           <xs:annotation>
763             <xs:appinfo>
764               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron id of subnet that address belongs to")</annox:annotate>
765             </xs:appinfo>
766           </xs:annotation>
767         </xs:element>
768         <xs:element ref="tns:relationship-list" minOccurs="0"/>
769       </xs:sequence>
770     </xs:complexType>
771   </xs:element>
772   <xs:element name="l3-interface-ipv6-address-list">
773     <xs:complexType>
774       <xs:annotation>
775         <xs:appinfo>
776           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="IPv6 Address Range",indexedProps="l3-interface-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="vlan,l-interface,vnfc,cp",uriTemplate="/l3-interface-ipv6-address-list/{l3-interface-ipv6-address}",requiredProps="l3-interface-ipv6-address")</annox:annotate>
777         </xs:appinfo>
778       </xs:annotation>
779       <xs:sequence>
780         <xs:element name="l3-interface-ipv6-address" type="xs:string" minOccurs="0">
781           <xs:annotation>
782             <xs:appinfo>
783               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="IP address")</annox:annotate>
784             </xs:appinfo>
785           </xs:annotation>
786         </xs:element>
787         <xs:element name="l3-interface-ipv6-prefix-length" type="xs:unsignedInt" minOccurs="0">
788           <xs:annotation>
789             <xs:appinfo>
790               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Prefix length, 128 for single address")</annox:annotate>
791             </xs:appinfo>
792           </xs:annotation>
793         </xs:element>
794         <xs:element name="vlan-id-inner" type="xs:unsignedInt" minOccurs="0">
795           <xs:annotation>
796             <xs:appinfo>
797               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Inner VLAN tag")</annox:annotate>
798             </xs:appinfo>
799           </xs:annotation>
800         </xs:element>
801         <xs:element name="vlan-id-outer" type="xs:unsignedInt" minOccurs="0">
802           <xs:annotation>
803             <xs:appinfo>
804               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Outer VLAN tag")</annox:annotate>
805             </xs:appinfo>
806           </xs:annotation>
807         </xs:element>
808         <xs:element name="is-floating" type="xs:boolean" minOccurs="0">
809           <xs:annotation>
810             <xs:appinfo>
811               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Indicator of fixed or floating address")</annox:annotate>
812             </xs:appinfo>
813           </xs:annotation>
814         </xs:element>
815         <xs:element name="resource-version" type="xs:string" minOccurs="0">
816           <xs:annotation>
817             <xs:appinfo>
818               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
819             </xs:appinfo>
820           </xs:annotation>
821         </xs:element>
822         <xs:element name="neutron-network-id" type="xs:string" minOccurs="0">
823           <xs:annotation>
824             <xs:appinfo>
825               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron network id of the interface that address belongs to")</annox:annotate>
826             </xs:appinfo>
827           </xs:annotation>
828         </xs:element>
829         <xs:element name="neutron-subnet-id" type="xs:string" minOccurs="0">
830           <xs:annotation>
831             <xs:appinfo>
832               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron id of subnet that address belongs to")</annox:annotate>
833             </xs:appinfo>
834           </xs:annotation>
835         </xs:element>
836         <xs:element ref="tns:relationship-list" minOccurs="0"/>
837       </xs:sequence>
838     </xs:complexType>
839   </xs:element>
840   <xs:element name="vlan">
841     <xs:complexType>
842       <xs:annotation>
843         <xs:appinfo>
844           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Definition of vlan",indexedProps="vlan-interface,vlan-id-inner,vpn-key",dependentOn="l-interface",container="vlans",uriTemplate="/vlans/vlan/{vlan-interface}",requiredProps="vlan-interface,in-maint,is-ip-unnumbered")</annox:annotate>
845         </xs:appinfo>
846       </xs:annotation>
847       <xs:sequence>
848         <xs:element name="vlan-interface" type="xs:string" minOccurs="0">
849           <xs:annotation>
850             <xs:appinfo>
851               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="String that identifies the interface")</annox:annotate>
852             </xs:appinfo>
853           </xs:annotation>
854         </xs:element>
855         <xs:element name="vlan-id-inner" type="xs:unsignedInt" minOccurs="0">
856           <xs:annotation>
857             <xs:appinfo>
858               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Inner VLAN tag")</annox:annotate>
859             </xs:appinfo>
860           </xs:annotation>
861         </xs:element>
862         <xs:element name="vlan-id-outer" type="xs:unsignedInt" minOccurs="0">
863           <xs:annotation>
864             <xs:appinfo>
865               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Outer VLAN tag")</annox:annotate>
866             </xs:appinfo>
867           </xs:annotation>
868         </xs:element>
869         <xs:element name="resource-version" type="xs:string" minOccurs="0">
870           <xs:annotation>
871             <xs:appinfo>
872               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
873             </xs:appinfo>
874           </xs:annotation>
875         </xs:element>
876         <xs:element name="speed-value" type="xs:string" minOccurs="0">
877           <xs:annotation>
878             <xs:appinfo>
879               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Captures the numeric part of the speed")</annox:annotate>
880             </xs:appinfo>
881           </xs:annotation>
882         </xs:element>
883         <xs:element name="speed-units" type="xs:string" minOccurs="0">
884           <xs:annotation>
885             <xs:appinfo>
886               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Captures the units corresponding to the speed")</annox:annotate>
887             </xs:appinfo>
888           </xs:annotation>
889         </xs:element>
890         <xs:element name="vlan-description" type="xs:string" minOccurs="0">
891           <xs:annotation>
892             <xs:appinfo>
893               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used to describe (the service associated with) the vlan")</annox:annotate>
894             </xs:appinfo>
895           </xs:annotation>
896         </xs:element>
897         <xs:element name="backdoor-connection" type="xs:string" minOccurs="0">
898           <xs:annotation>
899             <xs:appinfo>
900               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Whether customer is going to use this VLAN for backdoor connection to another customer premise device.")</annox:annotate>
901             </xs:appinfo>
902           </xs:annotation>
903         </xs:element>
904         <xs:element name="vpn-key" type="xs:string" minOccurs="0">
905           <xs:annotation>
906             <xs:appinfo>
907               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This indicates the customers VPN ID associated with this vlan")</annox:annotate>
908             </xs:appinfo>
909           </xs:annotation>
910         </xs:element>
911         <xs:element name="orchestration-status" type="xs:string" minOccurs="0">
912           <xs:annotation>
913             <xs:appinfo>
914               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Status of a vnf's vlan interface, on which the customer circuit resides, mastered by SDN-C.")</annox:annotate>
915             </xs:appinfo>
916           </xs:annotation>
917         </xs:element>
918         <xs:element name="in-maint" type="xs:boolean" minOccurs="0">
919           <xs:annotation>
920             <xs:appinfo>
921               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate>
922             </xs:appinfo>
923           </xs:annotation>
924         </xs:element>
925         <xs:element name="prov-status" type="xs:string" minOccurs="0">
926           <xs:annotation>
927             <xs:appinfo>
928               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Prov Status of the VLAN configuration related to a logical interface. Valid values [PREPROV/NVTPROV/PROV].")</annox:annotate>
929             </xs:appinfo>
930           </xs:annotation>
931         </xs:element>
932         <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0">
933           <xs:annotation>
934             <xs:appinfo>
935               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate>
936             </xs:appinfo>
937           </xs:annotation>
938         </xs:element>
939         <xs:element name="is-private" type="xs:boolean" minOccurs="0">
940           <xs:annotation>
941             <xs:appinfo>
942               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Private VLAN indicator.")</annox:annotate>
943             </xs:appinfo>
944           </xs:annotation>
945         </xs:element>
946         <xs:element ref="tns:relationship-list" minOccurs="0"/>
947         <xs:element ref="tns:l3-interface-ipv4-address-list" minOccurs="0" maxOccurs="5000"/>
948         <xs:element ref="tns:l3-interface-ipv6-address-list" minOccurs="0" maxOccurs="5000"/>
949       </xs:sequence>
950     </xs:complexType>
951   </xs:element>
952   <xs:element name="vlans">
953     <xs:complexType>
954       <xs:sequence>
955         <xs:element ref="tns:vlan" minOccurs="0" maxOccurs="5000"/>
956       </xs:sequence>
957     </xs:complexType>
958   </xs:element>
959   <xs:element name="sriov-vf">
960     <xs:complexType>
961       <xs:annotation>
962         <xs:appinfo>
963           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="SR-IOV Virtual Function (not to be confused with virtual network function)",indexedProps="pci-id,vf-vlan-filter,vf-mac-filter,vf-vlan-strip,neutron-network-id",dependentOn="l-interface",container="sriov-vfs",uriTemplate="/sriov-vfs/sriov-vf/{pci-id}",requiredProps="pci-id")</annox:annotate>
964         </xs:appinfo>
965       </xs:annotation>
966       <xs:sequence>
967         <xs:element name="pci-id" type="xs:string" minOccurs="0">
968           <xs:annotation>
969             <xs:appinfo>
970               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="PCI ID used to identify the sriov-vf")</annox:annotate>
971             </xs:appinfo>
972           </xs:annotation>
973         </xs:element>
974         <xs:element name="vf-vlan-filter" type="xs:string" minOccurs="0">
975           <xs:annotation>
976             <xs:appinfo>
977               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This metadata provides option to specify list of VLAN filters applied on VF to pass the traffic to VM.")</annox:annotate>
978             </xs:appinfo>
979           </xs:annotation>
980         </xs:element>
981         <xs:element name="vf-mac-filter" type="xs:string" minOccurs="0">
982           <xs:annotation>
983             <xs:appinfo>
984               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="When MAC filters are specified, VF-agent service configures VFs to do MAC level filtering before the traffic is passed to VM.")</annox:annotate>
985             </xs:appinfo>
986           </xs:annotation>
987         </xs:element>
988         <xs:element name="vf-vlan-strip" type="xs:boolean" minOccurs="0">
989           <xs:annotation>
990             <xs:appinfo>
991               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="When this field is set to true, VF will configured to strip the outer TAG before the traffic is passed to VM.")</annox:annotate>
992             </xs:appinfo>
993           </xs:annotation>
994         </xs:element>
995         <xs:element name="vf-vlan-anti-spoof-check" type="xs:boolean" minOccurs="0">
996           <xs:annotation>
997             <xs:appinfo>
998               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This option ensures anti VLAN spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs.")</annox:annotate>
999             </xs:appinfo>
1000           </xs:annotation>
1001         </xs:element>
1002         <xs:element name="vf-mac-anti-spoof-check" type="xs:boolean" minOccurs="0">
1003           <xs:annotation>
1004             <xs:appinfo>
1005               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This option ensures anti MAC spoof checks are done at the VF level to comply with security. The disable check will also be honored per the VNF needs for trusted VMs.")</annox:annotate>
1006             </xs:appinfo>
1007           </xs:annotation>
1008         </xs:element>
1009         <xs:element name="vf-mirrors" type="xs:string" minOccurs="0">
1010           <xs:annotation>
1011             <xs:appinfo>
1012               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This option defines the set of Mirror objects which essentially mirrors the traffic from source to set of collector VNF Ports.")</annox:annotate>
1013             </xs:appinfo>
1014           </xs:annotation>
1015         </xs:element>
1016         <xs:element name="vf-broadcast-allow" type="xs:boolean" minOccurs="0">
1017           <xs:annotation>
1018             <xs:appinfo>
1019               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This option, if set to true, sets the VF in promiscuous mode and allows all broadcast traffic to reach the VM")</annox:annotate>
1020             </xs:appinfo>
1021           </xs:annotation>
1022         </xs:element>
1023         <xs:element name="vf-unknown-multicast-allow" type="xs:boolean" minOccurs="0">
1024           <xs:annotation>
1025             <xs:appinfo>
1026               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This option, if set to true, sets the VF in promiscuous mode and allows unknown multicast traffic to reach the VM")</annox:annotate>
1027             </xs:appinfo>
1028           </xs:annotation>
1029         </xs:element>
1030         <xs:element name="vf-unknown-unicast-allow" type="xs:boolean" minOccurs="0">
1031           <xs:annotation>
1032             <xs:appinfo>
1033               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This option, if set to true, sets the VF in promiscuous mode and allows unknown unicast traffic to reach the VM")</annox:annotate>
1034             </xs:appinfo>
1035           </xs:annotation>
1036         </xs:element>
1037         <xs:element name="vf-insert-stag" type="xs:boolean" minOccurs="0">
1038           <xs:annotation>
1039             <xs:appinfo>
1040               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This option, if set to true, instructs to insert outer tag after traffic comes out of VM.")</annox:annotate>
1041             </xs:appinfo>
1042           </xs:annotation>
1043         </xs:element>
1044         <xs:element name="vf-link-status" type="xs:string" minOccurs="0">
1045           <xs:annotation>
1046             <xs:appinfo>
1047               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This option is used to set the link status.  Valid values as of 1607 are on, off, and auto.")</annox:annotate>
1048             </xs:appinfo>
1049           </xs:annotation>
1050         </xs:element>
1051         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1052           <xs:annotation>
1053             <xs:appinfo>
1054               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1055             </xs:appinfo>
1056           </xs:annotation>
1057         </xs:element>
1058         <xs:element name="neutron-network-id" type="xs:string" minOccurs="0">
1059           <xs:annotation>
1060             <xs:appinfo>
1061               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron network id of the interface")</annox:annotate>
1062             </xs:appinfo>
1063           </xs:annotation>
1064         </xs:element>
1065         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1066       </xs:sequence>
1067     </xs:complexType>
1068   </xs:element>
1069   <xs:element name="sriov-vfs">
1070     <xs:complexType>
1071       <xs:annotation>
1072         <xs:appinfo>
1073           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of SR-IOV Virtual Functions.")</annox:annotate>
1074         </xs:appinfo>
1075       </xs:annotation>
1076       <xs:sequence>
1077         <xs:element ref="tns:sriov-vf" minOccurs="0" maxOccurs="5000"/>
1078       </xs:sequence>
1079     </xs:complexType>
1080   </xs:element>
1081   <xs:element name="l-interface">
1082     <xs:complexType>
1083       <xs:annotation>
1084         <xs:appinfo>
1085           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Logical interfaces, e.g., a vnic.",indexedProps="macaddr,interface-id,interface-name,network-name",dependentOn="generic-vnf,newvce,p-interface,vserver,lag-interface,l-interface",container="l-interfaces",uriTemplate="/l-interfaces/l-interface/{interface-name}",requiredProps="interface-name,is-port-mirrored,in-maint,is-ip-unnumbered")</annox:annotate>
1086         </xs:appinfo>
1087       </xs:annotation>
1088       <xs:sequence>
1089         <xs:element name="interface-name" type="xs:string" minOccurs="0">
1090           <xs:annotation>
1091             <xs:appinfo>
1092               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Name given to the interface")</annox:annotate>
1093             </xs:appinfo>
1094           </xs:annotation>
1095         </xs:element>
1096         <xs:element name="interface-role" type="xs:string" minOccurs="0">
1097           <xs:annotation>
1098             <xs:appinfo>
1099               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="E.g., CUSTOMER, UPLINK, etc.")</annox:annotate>
1100             </xs:appinfo>
1101           </xs:annotation>
1102         </xs:element>
1103         <xs:element name="v6-wan-link-ip" type="xs:string" minOccurs="0">
1104           <xs:annotation>
1105             <xs:appinfo>
1106               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Questionably placed - v6 ip addr of this interface (is in vr-lan-interface from Mary B.")</annox:annotate>
1107             </xs:appinfo>
1108           </xs:annotation>
1109         </xs:element>
1110         <xs:element name="selflink" type="xs:string" minOccurs="0">
1111           <xs:annotation>
1112             <xs:appinfo>
1113               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to endpoint where AAI can get more details")</annox:annotate>
1114             </xs:appinfo>
1115           </xs:annotation>
1116         </xs:element>
1117         <xs:element name="interface-id" type="xs:string" minOccurs="0">
1118           <xs:annotation>
1119             <xs:appinfo>
1120               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="ID of interface")</annox:annotate>
1121             </xs:appinfo>
1122           </xs:annotation>
1123         </xs:element>
1124         <xs:element name="macaddr" type="xs:string" minOccurs="0">
1125           <xs:annotation>
1126             <xs:appinfo>
1127               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="MAC address for the interface")</annox:annotate>
1128             </xs:appinfo>
1129           </xs:annotation>
1130         </xs:element>
1131         <xs:element name="network-name" type="xs:string" minOccurs="0">
1132           <xs:annotation>
1133             <xs:appinfo>
1134               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Name of the network")</annox:annotate>
1135             </xs:appinfo>
1136           </xs:annotation>
1137         </xs:element>
1138         <xs:element name="management-option" type="xs:string" minOccurs="0">
1139           <xs:annotation>
1140             <xs:appinfo>
1141               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Whether A&amp;AI should be managing this interface of not. Could have value like CUSTOMER")</annox:annotate>
1142             </xs:appinfo>
1143           </xs:annotation>
1144         </xs:element>
1145         <xs:element name="interface-description" type="xs:string" minOccurs="0">
1146           <xs:annotation>
1147             <xs:appinfo>
1148               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Human friendly text regarding this interface.")</annox:annotate>
1149             </xs:appinfo>
1150           </xs:annotation>
1151         </xs:element>
1152         <xs:element name="is-port-mirrored" type="xs:boolean" minOccurs="0">
1153           <xs:annotation>
1154             <xs:appinfo>
1155               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not port is a mirrored.")</annox:annotate>
1156             </xs:appinfo>
1157           </xs:annotation>
1158         </xs:element>
1159         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1160           <xs:annotation>
1161             <xs:appinfo>
1162               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1163             </xs:appinfo>
1164           </xs:annotation>
1165         </xs:element>
1166         <xs:element name="in-maint" type="xs:boolean" minOccurs="0">
1167           <xs:annotation>
1168             <xs:appinfo>
1169               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate>
1170             </xs:appinfo>
1171           </xs:annotation>
1172         </xs:element>
1173         <xs:element name="prov-status" type="xs:string" minOccurs="0">
1174           <xs:annotation>
1175             <xs:appinfo>
1176               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Prov Status of the logical interface. Valid values [PREPROV/NVTPROV/PROV].")</annox:annotate>
1177             </xs:appinfo>
1178           </xs:annotation>
1179         </xs:element>
1180         <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0">
1181           <xs:annotation>
1182             <xs:appinfo>
1183               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate>
1184             </xs:appinfo>
1185           </xs:annotation>
1186         </xs:element>
1187         <xs:element name="allowed-address-pairs" type="xs:string" minOccurs="0">
1188           <xs:annotation>
1189             <xs:appinfo>
1190               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Freeform field for storing an ip address, list of ip addresses or a subnet block.")</annox:annotate>
1191             </xs:appinfo>
1192           </xs:annotation>
1193         </xs:element>
1194         <xs:element name="priority" type="xs:int" minOccurs="0">
1195           <xs:annotation>
1196             <xs:appinfo>
1197               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Priority used for fail-over. Valid values 1-1024, with 1 being the highest priority.")</annox:annotate>
1198             </xs:appinfo>
1199           </xs:annotation>
1200         </xs:element>
1201         <xs:element ref="tns:vlans" minOccurs="0"/>
1202         <xs:element ref="tns:sriov-vfs" minOccurs="0"/>
1203         <xs:element ref="tns:l-interfaces" minOccurs="0"/>
1204         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1205         <xs:element ref="tns:l3-interface-ipv4-address-list" minOccurs="0" maxOccurs="5000"/>
1206         <xs:element ref="tns:l3-interface-ipv6-address-list" minOccurs="0" maxOccurs="5000"/>
1207         <xs:element name="admin-status" type="xs:string" minOccurs="0">
1208           <xs:annotation>
1209             <xs:appinfo>
1210               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Administrative status of the interface. Valid values are 'up', 'down', or 'testing'.")</annox:annotate>
1211             </xs:appinfo>
1212           </xs:annotation>
1213         </xs:element>
1214       </xs:sequence>
1215     </xs:complexType>
1216   </xs:element>
1217   <xs:element name="l-interfaces">
1218     <xs:complexType>
1219       <xs:annotation>
1220         <xs:appinfo>
1221           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of logical interfaces.")</annox:annotate>
1222         </xs:appinfo>
1223       </xs:annotation>
1224       <xs:sequence>
1225         <xs:element ref="tns:l-interface" minOccurs="0" maxOccurs="5000"/>
1226       </xs:sequence>
1227     </xs:complexType>
1228   </xs:element>
1229   <xs:element name="vserver">
1230     <xs:complexType>
1231       <xs:annotation>
1232         <xs:appinfo>
1233           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Virtual Servers, aka virtual machine or VM.",nameProps="vserver-name",indexedProps="is-closed-loop-disabled,prov-status,vserver-name,vserver-id,in-maint,vserver-name2",searchable="vserver-id,vserver-name,vserver-name2",dependentOn="tenant",container="vservers",uriTemplate="/vservers/vserver/{vserver-id}",requiredProps="vserver-id,vserver-name,vserver-selflink,in-maint,is-closed-loop-disabled")</annox:annotate>
1234         </xs:appinfo>
1235       </xs:annotation>
1236       <xs:sequence>
1237         <xs:element name="vserver-id" type="xs:string" minOccurs="0">
1238           <xs:annotation>
1239             <xs:appinfo>
1240               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique identifier for this vserver relative to its tenant")</annox:annotate>
1241             </xs:appinfo>
1242           </xs:annotation>
1243         </xs:element>
1244         <xs:element name="vserver-name" type="xs:string" minOccurs="0">
1245           <xs:annotation>
1246             <xs:appinfo>
1247               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Name of vserver")</annox:annotate>
1248             </xs:appinfo>
1249           </xs:annotation>
1250         </xs:element>
1251         <xs:element name="vserver-name2" type="xs:string" minOccurs="0">
1252           <xs:annotation>
1253             <xs:appinfo>
1254               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Alternative name of vserver")</annox:annotate>
1255             </xs:appinfo>
1256           </xs:annotation>
1257         </xs:element>
1258         <xs:element name="prov-status" type="xs:string" minOccurs="0">
1259           <xs:annotation>
1260             <xs:appinfo>
1261               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Trigger for operational monitoring of this resource by Service Assurance systems.")</annox:annotate>
1262             </xs:appinfo>
1263           </xs:annotation>
1264         </xs:element>
1265         <xs:element name="vserver-selflink" type="xs:string" minOccurs="0">
1266           <xs:annotation>
1267             <xs:appinfo>
1268               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to endpoint where AAI can get more details")</annox:annotate>
1269             </xs:appinfo>
1270           </xs:annotation>
1271         </xs:element>
1272         <xs:element name="in-maint" type="xs:boolean" minOccurs="0">
1273           <xs:annotation>
1274             <xs:appinfo>
1275               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate>
1276             </xs:appinfo>
1277           </xs:annotation>
1278         </xs:element>
1279         <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0">
1280           <xs:annotation>
1281             <xs:appinfo>
1282               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether closed loop function is enabled on this node")</annox:annotate>
1283             </xs:appinfo>
1284           </xs:annotation>
1285         </xs:element>
1286         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1287           <xs:annotation>
1288             <xs:appinfo>
1289               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1290             </xs:appinfo>
1291           </xs:annotation>
1292         </xs:element>
1293         <xs:element ref="tns:volumes" minOccurs="0"/>
1294         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1295         <xs:element ref="tns:l-interfaces" minOccurs="0"/>
1296       </xs:sequence>
1297     </xs:complexType>
1298   </xs:element>
1299   <xs:element name="vservers">
1300     <xs:complexType>
1301       <xs:annotation>
1302         <xs:appinfo>
1303           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of virtual Servers, aka virtual machines or VMs.")</annox:annotate>
1304         </xs:appinfo>
1305       </xs:annotation>
1306       <xs:sequence>
1307         <xs:element ref="tns:vserver" minOccurs="0" maxOccurs="5000"/>
1308       </xs:sequence>
1309     </xs:complexType>
1310   </xs:element>
1311   <xs:element name="nos-server">
1312     <xs:complexType>
1313       <xs:annotation>
1314         <xs:appinfo>
1315           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="nos-server is the execution environment that will have images, certain versions of VNOS, running on it.",indexedProps="nos-server-id",dependentOn="tenant",nameProps="nos-server-name",container="nos-servers",uriTemplate="/nos-servers/nos-server/{nos-server-id}",requiredProps="nos-server-id,nos-server-name,vendor,nos-server-selflink,in-maint")</annox:annotate>
1316         </xs:appinfo>
1317       </xs:annotation>
1318       <xs:sequence>
1319         <xs:element name="nos-server-id" type="xs:string" minOccurs="0">
1320           <xs:annotation>
1321             <xs:appinfo>
1322               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique identifier for this nos relative to its tenant")</annox:annotate>
1323             </xs:appinfo>
1324           </xs:annotation>
1325         </xs:element>
1326         <xs:element name="nos-server-name" type="xs:string" minOccurs="0">
1327           <xs:annotation>
1328             <xs:appinfo>
1329               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Name of nos")</annox:annotate>
1330             </xs:appinfo>
1331           </xs:annotation>
1332         </xs:element>
1333         <xs:element name="vendor" type="xs:string" minOccurs="0">
1334           <xs:annotation>
1335             <xs:appinfo>
1336               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="uCPE vendor")</annox:annotate>
1337             </xs:appinfo>
1338           </xs:annotation>
1339         </xs:element>
1340         <xs:element name="prov-status" type="xs:string" minOccurs="0">
1341           <xs:annotation>
1342             <xs:appinfo>
1343               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Trigger for operational monitoring of this resource by Service Assurance systems.")</annox:annotate>
1344             </xs:appinfo>
1345           </xs:annotation>
1346         </xs:element>
1347         <xs:element name="nos-server-selflink" type="xs:string" minOccurs="0">
1348           <xs:annotation>
1349             <xs:appinfo>
1350               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to endpoint where AAI can get more details")</annox:annotate>
1351             </xs:appinfo>
1352           </xs:annotation>
1353         </xs:element>
1354         <xs:element name="in-maint" type="xs:boolean" minOccurs="0">
1355           <xs:annotation>
1356             <xs:appinfo>
1357               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate>
1358             </xs:appinfo>
1359           </xs:annotation>
1360         </xs:element>
1361         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1362           <xs:annotation>
1363             <xs:appinfo>
1364               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1365             </xs:appinfo>
1366           </xs:annotation>
1367         </xs:element>
1368         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1369       </xs:sequence>
1370     </xs:complexType>
1371   </xs:element>
1372   <xs:element name="nos-servers">
1373     <xs:complexType>
1374       <xs:annotation>
1375         <xs:appinfo>
1376           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="nos-server is the execution environment that will have images, certain versions of VNOS, running on it.")</annox:annotate>
1377         </xs:appinfo>
1378       </xs:annotation>
1379       <xs:sequence>
1380         <xs:element ref="tns:nos-server" minOccurs="0" maxOccurs="5000"/>
1381       </xs:sequence>
1382     </xs:complexType>
1383   </xs:element>
1384   <xs:element name="tenant">
1385     <xs:complexType>
1386       <xs:annotation>
1387         <xs:appinfo>
1388           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Openstack tenant",nameProps="tenant-name",indexedProps="tenant-name,tenant-id,tenant-context",searchable="tenant-id,tenant-name",dependentOn="cloud-region",container="tenants",uriTemplate="/tenants/tenant/{tenant-id}",requiredProps="tenant-id,tenant-name")</annox:annotate>
1389         </xs:appinfo>
1390       </xs:annotation>
1391       <xs:sequence>
1392         <xs:element name="tenant-id" type="xs:string" minOccurs="0">
1393           <xs:annotation>
1394             <xs:appinfo>
1395               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique id relative to the cloud-region.")</annox:annotate>
1396             </xs:appinfo>
1397           </xs:annotation>
1398         </xs:element>
1399         <xs:element name="tenant-name" type="xs:string" minOccurs="0">
1400           <xs:annotation>
1401             <xs:appinfo>
1402               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Readable name of tenant")</annox:annotate>
1403             </xs:appinfo>
1404           </xs:annotation>
1405         </xs:element>
1406         <xs:element name="tenant-context" type="xs:string" minOccurs="0">
1407           <xs:annotation>
1408             <xs:appinfo>
1409               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This field will store the tenant context.")</annox:annotate>
1410             </xs:appinfo>
1411           </xs:annotation>
1412         </xs:element>
1413         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1414           <xs:annotation>
1415             <xs:appinfo>
1416               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1417             </xs:appinfo>
1418           </xs:annotation>
1419         </xs:element>
1420         <xs:element ref="tns:vservers" minOccurs="0"/>
1421         <xs:element ref="tns:nos-servers" minOccurs="0"/>
1422         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1423       </xs:sequence>
1424     </xs:complexType>
1425   </xs:element>
1426   <xs:element name="tenants">
1427     <xs:complexType>
1428       <xs:annotation>
1429         <xs:appinfo>
1430           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of openstack tenants.")</annox:annotate>
1431         </xs:appinfo>
1432       </xs:annotation>
1433       <xs:sequence>
1434         <xs:element ref="tns:tenant" minOccurs="0" maxOccurs="5000"/>
1435       </xs:sequence>
1436     </xs:complexType>
1437   </xs:element>
1438   <xs:element name="hpa-feature-attributes">
1439     <xs:complexType>
1440       <xs:annotation>
1441         <xs:appinfo>
1442           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="HPA Capability Feature attributes",indexedProps="hpa-attribute-key",dependentOn="hpa-capability",requiredProps="hpa-attribute-key")</annox:annotate>
1443         </xs:appinfo>
1444       </xs:annotation>
1445       <xs:sequence>
1446         <xs:element name="hpa-attribute-key" type="xs:string" minOccurs="0">
1447           <xs:annotation>
1448             <xs:appinfo>
1449               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="name of the specific HPA attribute")</annox:annotate>
1450             </xs:appinfo>
1451           </xs:annotation>
1452         </xs:element>
1453         <xs:element name="hpa-attribute-value" type="xs:string" minOccurs="0">
1454           <xs:annotation>
1455             <xs:appinfo>
1456               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="JSON string specifying the value, unit and type of the specific HPA attribute")</annox:annotate>
1457             </xs:appinfo>
1458           </xs:annotation>
1459         </xs:element>
1460         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1461           <xs:annotation>
1462             <xs:appinfo>
1463               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1464             </xs:appinfo>
1465           </xs:annotation>
1466         </xs:element>
1467         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1468       </xs:sequence>
1469     </xs:complexType>
1470   </xs:element>
1471   <xs:element name="hpa-capability">
1472     <xs:complexType>
1473       <xs:annotation>
1474         <xs:appinfo>
1475           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Represents a HPA capability",indexedProps="hpa-feature,architecture,hpa-capability-id",dependentOn="flavor,cloud-region",container="hpa-capabilities",requiredProps="hpa-capability-id,hpa-feature",uriTemplate="/hpa-capabilities/hpa-capability/{hpa-capability-id}")</annox:annotate>
1476         </xs:appinfo>
1477       </xs:annotation>
1478       <xs:sequence>
1479         <xs:element name="hpa-capability-id" type="xs:string" minOccurs="0">
1480           <xs:annotation>
1481             <xs:appinfo>
1482               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="UUID to uniquely identify a HPA capability")</annox:annotate>
1483             </xs:appinfo>
1484           </xs:annotation>
1485         </xs:element>
1486         <xs:element name="hpa-feature" type="xs:string" minOccurs="0">
1487           <xs:annotation>
1488             <xs:appinfo>
1489               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Name of the HPACapability")</annox:annotate>
1490             </xs:appinfo>
1491           </xs:annotation>
1492         </xs:element>
1493         <xs:element name="hpa-version" type="xs:string" minOccurs="0">
1494           <xs:annotation>
1495             <xs:appinfo>
1496               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="HPA schema version")</annox:annotate>
1497             </xs:appinfo>
1498           </xs:annotation>
1499         </xs:element>
1500         <xs:element name="architecture" type="xs:string" minOccurs="0">
1501           <xs:annotation>
1502             <xs:appinfo>
1503               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Hardware architecture")</annox:annotate>
1504             </xs:appinfo>
1505           </xs:annotation>
1506         </xs:element>
1507         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1508           <xs:annotation>
1509             <xs:appinfo>
1510               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1511             </xs:appinfo>
1512           </xs:annotation>
1513         </xs:element>
1514         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1515         <xs:element ref="tns:hpa-feature-attributes" minOccurs="0" maxOccurs="5000"/>
1516       </xs:sequence>
1517     </xs:complexType>
1518   </xs:element>
1519   <xs:element name="hpa-capabilities">
1520     <xs:complexType>
1521       <xs:annotation>
1522         <xs:appinfo>
1523           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of HPA Capabilities")</annox:annotate>
1524         </xs:appinfo>
1525       </xs:annotation>
1526       <xs:sequence>
1527         <xs:element ref="tns:hpa-capability" minOccurs="0" maxOccurs="5000"/>
1528       </xs:sequence>
1529     </xs:complexType>
1530   </xs:element>
1531   <xs:element name="flavor">
1532     <xs:complexType>
1533       <xs:annotation>
1534         <xs:appinfo>
1535           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Openstack flavor.",nameProps="flavor-name",indexedProps="flavor-name,flavor-id",dependentOn="cloud-region",container="flavors",uriTemplate="/flavors/flavor/{flavor-id}",requiredProps="flavor-id,flavor-name,flavor-selflink")</annox:annotate>
1536         </xs:appinfo>
1537       </xs:annotation>
1538       <xs:sequence>
1539         <xs:element name="flavor-id" type="xs:string" minOccurs="0">
1540           <xs:annotation>
1541             <xs:appinfo>
1542               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Flavor id, expected to be unique across cloud-region.")</annox:annotate>
1543             </xs:appinfo>
1544           </xs:annotation>
1545         </xs:element>
1546         <xs:element name="flavor-name" type="xs:string" minOccurs="0">
1547           <xs:annotation>
1548             <xs:appinfo>
1549               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Cloud Region Flavor name")</annox:annotate>
1550             </xs:appinfo>
1551           </xs:annotation>
1552         </xs:element>
1553         <xs:element name="flavor-vcpus" type="xs:int" minOccurs="0">
1554           <xs:annotation>
1555             <xs:appinfo>
1556               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Number of CPUs")</annox:annotate>
1557             </xs:appinfo>
1558           </xs:annotation>
1559         </xs:element>
1560         <xs:element name="flavor-ram" type="xs:int" minOccurs="0">
1561           <xs:annotation>
1562             <xs:appinfo>
1563               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Amount of memory")</annox:annotate>
1564             </xs:appinfo>
1565           </xs:annotation>
1566         </xs:element>
1567         <xs:element name="flavor-disk" type="xs:int" minOccurs="0">
1568           <xs:annotation>
1569             <xs:appinfo>
1570               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Disk space")</annox:annotate>
1571             </xs:appinfo>
1572           </xs:annotation>
1573         </xs:element>
1574         <xs:element name="flavor-ephemeral" type="xs:int" minOccurs="0">
1575           <xs:annotation>
1576             <xs:appinfo>
1577               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Amount of ephemeral disk space")</annox:annotate>
1578             </xs:appinfo>
1579           </xs:annotation>
1580         </xs:element>
1581         <xs:element name="flavor-swap" type="xs:string" minOccurs="0">
1582           <xs:annotation>
1583             <xs:appinfo>
1584               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="amount of swap space allocation")</annox:annotate>
1585             </xs:appinfo>
1586           </xs:annotation>
1587         </xs:element>
1588         <xs:element name="flavor-is-public" type="xs:boolean" minOccurs="0">
1589           <xs:annotation>
1590             <xs:appinfo>
1591               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="whether flavor is available to all users or private to the tenant it was created in.")</annox:annotate>
1592             </xs:appinfo>
1593           </xs:annotation>
1594         </xs:element>
1595         <xs:element name="flavor-selflink" type="xs:string" minOccurs="0">
1596           <xs:annotation>
1597             <xs:appinfo>
1598               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to endpoint where AAI can get more details")</annox:annotate>
1599             </xs:appinfo>
1600           </xs:annotation>
1601         </xs:element>
1602         <xs:element name="flavor-disabled" type="xs:boolean" minOccurs="0">
1603           <xs:annotation>
1604             <xs:appinfo>
1605               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Boolean as to whether this flavor is no longer enabled")</annox:annotate>
1606             </xs:appinfo>
1607           </xs:annotation>
1608         </xs:element>
1609         <xs:element ref="tns:hpa-capabilities" minOccurs="0">
1610           <xs:annotation>
1611             <xs:appinfo>
1612               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="List of flavor specific HPA Capabilities")</annox:annotate>
1613             </xs:appinfo>
1614           </xs:annotation>
1615         </xs:element>
1616         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1617           <xs:annotation>
1618             <xs:appinfo>
1619               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1620             </xs:appinfo>
1621           </xs:annotation>
1622         </xs:element>
1623         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1624       </xs:sequence>
1625     </xs:complexType>
1626   </xs:element>
1627   <xs:element name="flavors">
1628     <xs:complexType>
1629       <xs:annotation>
1630         <xs:appinfo>
1631           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of openstack flavors.")</annox:annotate>
1632         </xs:appinfo>
1633       </xs:annotation>
1634       <xs:sequence>
1635         <xs:element ref="tns:flavor" minOccurs="0" maxOccurs="5000"/>
1636       </xs:sequence>
1637     </xs:complexType>
1638   </xs:element>
1639   <xs:element name="group-assignment">
1640     <xs:complexType>
1641       <xs:annotation>
1642         <xs:appinfo>
1643           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Openstack group-assignment used to store exclusivity groups (EG).",nameProps="group-name",indexedProps="group-id,group-type,group-name",searchable="group-id,group-name",dependentOn="cloud-region",container="group-assignments",uriTemplate="/group-assignments/group-assignment/{group-id}",requiredProps="group-id,group-type,group-name")</annox:annotate>
1644         </xs:appinfo>
1645       </xs:annotation>
1646       <xs:sequence>
1647         <xs:element name="group-id" type="xs:string" minOccurs="0">
1648           <xs:annotation>
1649             <xs:appinfo>
1650               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Group id, expected to be unique across cloud-region.")</annox:annotate>
1651             </xs:appinfo>
1652           </xs:annotation>
1653         </xs:element>
1654         <xs:element name="group-type" type="xs:string" minOccurs="0">
1655           <xs:annotation>
1656             <xs:appinfo>
1657               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Group type - the type of group this instance refers to")</annox:annotate>
1658             </xs:appinfo>
1659           </xs:annotation>
1660         </xs:element>
1661         <xs:element name="group-name" type="xs:string" minOccurs="0">
1662           <xs:annotation>
1663             <xs:appinfo>
1664               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Group name - name assigned to the group")</annox:annotate>
1665             </xs:appinfo>
1666           </xs:annotation>
1667         </xs:element>
1668         <xs:element name="group-description" type="xs:string" minOccurs="0">
1669           <xs:annotation>
1670             <xs:appinfo>
1671               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Group description - description of the group")</annox:annotate>
1672             </xs:appinfo>
1673           </xs:annotation>
1674         </xs:element>
1675         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1676           <xs:annotation>
1677             <xs:appinfo>
1678               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1679             </xs:appinfo>
1680           </xs:annotation>
1681         </xs:element>
1682         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1683       </xs:sequence>
1684     </xs:complexType>
1685   </xs:element>
1686   <xs:element name="group-assignments">
1687     <xs:complexType>
1688       <xs:annotation>
1689         <xs:appinfo>
1690           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of openstack group assignments")</annox:annotate>
1691         </xs:appinfo>
1692       </xs:annotation>
1693       <xs:sequence>
1694         <xs:element ref="tns:group-assignment" minOccurs="0" maxOccurs="5000"/>
1695       </xs:sequence>
1696     </xs:complexType>
1697   </xs:element>
1698   <xs:element name="snapshot">
1699     <xs:complexType>
1700       <xs:annotation>
1701         <xs:appinfo>
1702           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Openstack snapshot",nameProps="snapshot-name",uniqueProps="snapshot-id",indexedProps="application,snapshot-name,application-vendor,snapshot-id,application-version,prev-snapshot-id",dependentOn="cloud-region",container="snapshots",uriTemplate="/snapshots/snapshot/{snapshot-id}",requiredProps="snapshot-id")</annox:annotate>
1703         </xs:appinfo>
1704       </xs:annotation>
1705       <xs:sequence>
1706         <xs:element name="snapshot-id" type="xs:string" minOccurs="0">
1707           <xs:annotation>
1708             <xs:appinfo>
1709               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Snapshot id, this is the key UUID assoc associated in glance with the snapshots.")</annox:annotate>
1710             </xs:appinfo>
1711           </xs:annotation>
1712         </xs:element>
1713         <xs:element name="snapshot-name" type="xs:string" minOccurs="0">
1714           <xs:annotation>
1715             <xs:appinfo>
1716               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Snapshot name")</annox:annotate>
1717             </xs:appinfo>
1718           </xs:annotation>
1719         </xs:element>
1720         <xs:element name="snapshot-architecture" type="xs:string" minOccurs="0">
1721           <xs:annotation>
1722             <xs:appinfo>
1723               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Operating system architecture")</annox:annotate>
1724             </xs:appinfo>
1725           </xs:annotation>
1726         </xs:element>
1727         <xs:element name="snapshot-os-distro" type="xs:string" minOccurs="0">
1728           <xs:annotation>
1729             <xs:appinfo>
1730               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The common name of the operating system distribution in lowercase")</annox:annotate>
1731             </xs:appinfo>
1732           </xs:annotation>
1733         </xs:element>
1734         <xs:element name="snapshot-os-version" type="xs:string" minOccurs="0">
1735           <xs:annotation>
1736             <xs:appinfo>
1737               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The operating system version as specified by the distributor.")</annox:annotate>
1738             </xs:appinfo>
1739           </xs:annotation>
1740         </xs:element>
1741         <xs:element name="application" type="xs:string" minOccurs="0">
1742           <xs:annotation>
1743             <xs:appinfo>
1744               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The application that the image instantiates.")</annox:annotate>
1745             </xs:appinfo>
1746           </xs:annotation>
1747         </xs:element>
1748         <xs:element name="application-vendor" type="xs:string" minOccurs="0">
1749           <xs:annotation>
1750             <xs:appinfo>
1751               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The vendor of the application.")</annox:annotate>
1752             </xs:appinfo>
1753           </xs:annotation>
1754         </xs:element>
1755         <xs:element name="application-version" type="xs:string" minOccurs="0">
1756           <xs:annotation>
1757             <xs:appinfo>
1758               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The version of the application.")</annox:annotate>
1759             </xs:appinfo>
1760           </xs:annotation>
1761         </xs:element>
1762         <xs:element name="snapshot-selflink" type="xs:string" minOccurs="0">
1763           <xs:annotation>
1764             <xs:appinfo>
1765               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to endpoint where AAI can get more details")</annox:annotate>
1766             </xs:appinfo>
1767           </xs:annotation>
1768         </xs:element>
1769         <xs:element name="prev-snapshot-id" type="xs:string" minOccurs="0">
1770           <xs:annotation>
1771             <xs:appinfo>
1772               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="This field contains the UUID of the previous snapshot (if any).")</annox:annotate>
1773             </xs:appinfo>
1774           </xs:annotation>
1775         </xs:element>
1776         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1777           <xs:annotation>
1778             <xs:appinfo>
1779               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1780             </xs:appinfo>
1781           </xs:annotation>
1782         </xs:element>
1783         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1784       </xs:sequence>
1785     </xs:complexType>
1786   </xs:element>
1787   <xs:element name="snapshots">
1788     <xs:complexType>
1789       <xs:annotation>
1790         <xs:appinfo>
1791           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of openstack snapshots")</annox:annotate>
1792         </xs:appinfo>
1793       </xs:annotation>
1794       <xs:sequence>
1795         <xs:element ref="tns:snapshot" minOccurs="0" maxOccurs="5000"/>
1796       </xs:sequence>
1797     </xs:complexType>
1798   </xs:element>
1799   <xs:element name="metadatum">
1800     <xs:complexType>
1801       <xs:annotation>
1802         <xs:appinfo>
1803           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Key/value pairs",indexedProps="metaname",dependentOn="tenant,image,service-instance,connector,model",container="metadata",uriTemplate="/metadata/metadatum/{metaname}",requiredProps="metaname,metaval")</annox:annotate>
1804         </xs:appinfo>
1805       </xs:annotation>
1806       <xs:sequence>
1807         <xs:element name="metaname" type="xs:string" minOccurs="0">
1808           <xs:annotation>
1809             <xs:appinfo>
1810               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true)</annox:annotate>
1811             </xs:appinfo>
1812           </xs:annotation>
1813         </xs:element>
1814         <xs:element name="metaval" type="xs:string" minOccurs="0"/>
1815         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1816           <xs:annotation>
1817             <xs:appinfo>
1818               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1819             </xs:appinfo>
1820           </xs:annotation>
1821         </xs:element>
1822       </xs:sequence>
1823     </xs:complexType>
1824   </xs:element>
1825   <xs:element name="metadata">
1826     <xs:complexType>
1827       <xs:annotation>
1828         <xs:appinfo>
1829           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of metadatum (key/value pairs)")</annox:annotate>
1830         </xs:appinfo>
1831       </xs:annotation>
1832       <xs:sequence>
1833         <xs:element ref="tns:metadatum" minOccurs="0" maxOccurs="5000"/>
1834       </xs:sequence>
1835     </xs:complexType>
1836   </xs:element>
1837   <xs:element name="image">
1838     <xs:complexType>
1839       <xs:annotation>
1840         <xs:appinfo>
1841           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Openstack image.",nameProps="image-name",indexedProps="application,image-name,application-vendor,image-id,application-version",dependentOn="cloud-region",container="images",uriTemplate="/images/image/{image-id}",requiredProps="image-id,image-name,image-os-distro,image-os-version,image-selflink")</annox:annotate>
1842         </xs:appinfo>
1843       </xs:annotation>
1844       <xs:sequence>
1845         <xs:element name="image-id" type="xs:string" minOccurs="0">
1846           <xs:annotation>
1847             <xs:appinfo>
1848               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Image id, expected to be unique across cloud region")</annox:annotate>
1849             </xs:appinfo>
1850           </xs:annotation>
1851         </xs:element>
1852         <xs:element name="image-name" type="xs:string" minOccurs="0">
1853           <xs:annotation>
1854             <xs:appinfo>
1855               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Image name")</annox:annotate>
1856             </xs:appinfo>
1857           </xs:annotation>
1858         </xs:element>
1859         <xs:element name="image-architecture" type="xs:string" minOccurs="0">
1860           <xs:annotation>
1861             <xs:appinfo>
1862               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Operating system architecture.")</annox:annotate>
1863             </xs:appinfo>
1864           </xs:annotation>
1865         </xs:element>
1866         <xs:element name="image-os-distro" type="xs:string" minOccurs="0">
1867           <xs:annotation>
1868             <xs:appinfo>
1869               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The common name of the operating system distribution in lowercase")</annox:annotate>
1870             </xs:appinfo>
1871           </xs:annotation>
1872         </xs:element>
1873         <xs:element name="image-os-version" type="xs:string" minOccurs="0">
1874           <xs:annotation>
1875             <xs:appinfo>
1876               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The operating system version as specified by the distributor.")</annox:annotate>
1877             </xs:appinfo>
1878           </xs:annotation>
1879         </xs:element>
1880         <xs:element name="application" type="xs:string" minOccurs="0">
1881           <xs:annotation>
1882             <xs:appinfo>
1883               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The application that the image instantiates.")</annox:annotate>
1884             </xs:appinfo>
1885           </xs:annotation>
1886         </xs:element>
1887         <xs:element name="application-vendor" type="xs:string" minOccurs="0">
1888           <xs:annotation>
1889             <xs:appinfo>
1890               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The vendor of the application.")</annox:annotate>
1891             </xs:appinfo>
1892           </xs:annotation>
1893         </xs:element>
1894         <xs:element name="application-version" type="xs:string" minOccurs="0">
1895           <xs:annotation>
1896             <xs:appinfo>
1897               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="The version of the application.")</annox:annotate>
1898             </xs:appinfo>
1899           </xs:annotation>
1900         </xs:element>
1901         <xs:element name="image-selflink" type="xs:string" minOccurs="0">
1902           <xs:annotation>
1903             <xs:appinfo>
1904               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to endpoint where AAI can get more details")</annox:annotate>
1905             </xs:appinfo>
1906           </xs:annotation>
1907         </xs:element>
1908         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1909           <xs:annotation>
1910             <xs:appinfo>
1911               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1912             </xs:appinfo>
1913           </xs:annotation>
1914         </xs:element>
1915         <xs:element ref="tns:relationship-list" minOccurs="0"/>
1916         <xs:element ref="tns:metadata" minOccurs="0"/>
1917       </xs:sequence>
1918     </xs:complexType>
1919   </xs:element>
1920   <xs:element name="images">
1921     <xs:complexType>
1922       <xs:annotation>
1923         <xs:appinfo>
1924           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collectio of Openstack images.")</annox:annotate>
1925         </xs:appinfo>
1926       </xs:annotation>
1927       <xs:sequence>
1928         <xs:element ref="tns:image" minOccurs="0" maxOccurs="5000"/>
1929       </xs:sequence>
1930     </xs:complexType>
1931   </xs:element>
1932   <xs:element name="availability-zones">
1933     <xs:complexType>
1934       <xs:annotation>
1935         <xs:appinfo>
1936           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of availability zones")</annox:annotate>
1937         </xs:appinfo>
1938       </xs:annotation>
1939       <xs:sequence>
1940         <xs:element ref="tns:availability-zone" minOccurs="0" maxOccurs="5000"/>
1941       </xs:sequence>
1942     </xs:complexType>
1943   </xs:element>
1944   <xs:element name="vip-ipv4-address-list">
1945     <xs:complexType>
1946       <xs:annotation>
1947         <xs:appinfo>
1948           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="IPv4 Address Range",indexedProps="vip-ipv4-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="cloud-region",uriTemplate="/vip-ipv4-address-list/{vip-ipv4-address}",requiredProps="vip-ipv4-address")</annox:annotate>
1949         </xs:appinfo>
1950       </xs:annotation>
1951       <xs:sequence>
1952         <xs:element name="vip-ipv4-address" type="xs:string" minOccurs="0">
1953           <xs:annotation>
1954             <xs:appinfo>
1955               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="IP address")</annox:annotate>
1956             </xs:appinfo>
1957           </xs:annotation>
1958         </xs:element>
1959         <xs:element name="vip-ipv4-prefix-length" type="xs:unsignedInt" minOccurs="0">
1960           <xs:annotation>
1961             <xs:appinfo>
1962               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Prefix length, 32 for single address")</annox:annotate>
1963             </xs:appinfo>
1964           </xs:annotation>
1965         </xs:element>
1966         <xs:element name="vlan-id-inner" type="xs:unsignedInt" minOccurs="0">
1967           <xs:annotation>
1968             <xs:appinfo>
1969               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Inner VLAN tag")</annox:annotate>
1970             </xs:appinfo>
1971           </xs:annotation>
1972         </xs:element>
1973         <xs:element name="vlan-id-outer" type="xs:unsignedInt" minOccurs="0">
1974           <xs:annotation>
1975             <xs:appinfo>
1976               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Outer VLAN tag")</annox:annotate>
1977             </xs:appinfo>
1978           </xs:annotation>
1979         </xs:element>
1980         <xs:element name="is-floating" type="xs:boolean" minOccurs="0">
1981           <xs:annotation>
1982             <xs:appinfo>
1983               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Indicator of fixed or floating address")</annox:annotate>
1984             </xs:appinfo>
1985           </xs:annotation>
1986         </xs:element>
1987         <xs:element name="resource-version" type="xs:string" minOccurs="0">
1988           <xs:annotation>
1989             <xs:appinfo>
1990               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
1991             </xs:appinfo>
1992           </xs:annotation>
1993         </xs:element>
1994         <xs:element name="neutron-network-id" type="xs:string" minOccurs="0">
1995           <xs:annotation>
1996             <xs:appinfo>
1997               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron network id of the interface that address belongs to")</annox:annotate>
1998             </xs:appinfo>
1999           </xs:annotation>
2000         </xs:element>
2001         <xs:element name="neutron-subnet-id" type="xs:string" minOccurs="0">
2002           <xs:annotation>
2003             <xs:appinfo>
2004               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron id of subnet that address belongs to")</annox:annotate>
2005             </xs:appinfo>
2006           </xs:annotation>
2007         </xs:element>
2008         <xs:element ref="tns:relationship-list" minOccurs="0"/>
2009       </xs:sequence>
2010     </xs:complexType>
2011   </xs:element>
2012   <xs:element name="vip-ipv6-address-list">
2013     <xs:complexType>
2014       <xs:annotation>
2015         <xs:appinfo>
2016           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="IPv6 Address Range",indexedProps="vip-ipv6-address,vlan-id-inner,neutron-network-id,neutron-subnet-id",dependentOn="cloud-region",uriTemplate="/vip-ipv6-address-list/{vip-ipv6-address}",requiredProps="vip-ipv6-address")</annox:annotate>
2017         </xs:appinfo>
2018       </xs:annotation>
2019       <xs:sequence>
2020         <xs:element name="vip-ipv6-address" type="xs:string" minOccurs="0">
2021           <xs:annotation>
2022             <xs:appinfo>
2023               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="IP address")</annox:annotate>
2024             </xs:appinfo>
2025           </xs:annotation>
2026         </xs:element>
2027         <xs:element name="vip-ipv6-prefix-length" type="xs:unsignedInt" minOccurs="0">
2028           <xs:annotation>
2029             <xs:appinfo>
2030               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Prefix length, 128 for single address")</annox:annotate>
2031             </xs:appinfo>
2032           </xs:annotation>
2033         </xs:element>
2034         <xs:element name="vlan-id-inner" type="xs:unsignedInt" minOccurs="0">
2035           <xs:annotation>
2036             <xs:appinfo>
2037               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Inner VLAN tag")</annox:annotate>
2038             </xs:appinfo>
2039           </xs:annotation>
2040         </xs:element>
2041         <xs:element name="vlan-id-outer" type="xs:unsignedInt" minOccurs="0">
2042           <xs:annotation>
2043             <xs:appinfo>
2044               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Outer VLAN tag")</annox:annotate>
2045             </xs:appinfo>
2046           </xs:annotation>
2047         </xs:element>
2048         <xs:element name="is-floating" type="xs:boolean" minOccurs="0">
2049           <xs:annotation>
2050             <xs:appinfo>
2051               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Indicator of fixed or floating address")</annox:annotate>
2052             </xs:appinfo>
2053           </xs:annotation>
2054         </xs:element>
2055         <xs:element name="resource-version" type="xs:string" minOccurs="0">
2056           <xs:annotation>
2057             <xs:appinfo>
2058               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
2059             </xs:appinfo>
2060           </xs:annotation>
2061         </xs:element>
2062         <xs:element name="neutron-network-id" type="xs:string" minOccurs="0">
2063           <xs:annotation>
2064             <xs:appinfo>
2065               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron network id of the interface that address belongs to")</annox:annotate>
2066             </xs:appinfo>
2067           </xs:annotation>
2068         </xs:element>
2069         <xs:element name="neutron-subnet-id" type="xs:string" minOccurs="0">
2070           <xs:annotation>
2071             <xs:appinfo>
2072               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Neutron id of subnet that address belongs to")</annox:annotate>
2073             </xs:appinfo>
2074           </xs:annotation>
2075         </xs:element>
2076         <xs:element ref="tns:relationship-list" minOccurs="0"/>
2077       </xs:sequence>
2078     </xs:complexType>
2079   </xs:element>
2080   <xs:element name="esr-system-info">
2081     <xs:complexType>
2082       <xs:annotation>
2083         <xs:appinfo>
2084           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Persist common address information of external systems.",indexedProps="esr-system-info-id,system-name,system-type",searchable="esr-system-info-id,system-name,system-type",container="esr-system-info-list",dependentOn="cloud-region,esr-ems,esr-vnfm,esr-thirdparty-sdnc,ext-aai-network",requiredProps="esr-system-info-id,user-name,password,system-type",uriTemplate="/esr-system-info-list/esr-system-info/{esr-system-info-id}")</annox:annotate>
2085         </xs:appinfo>
2086       </xs:annotation>
2087       <xs:sequence>
2088         <xs:element name="esr-system-info-id" type="xs:string" minOccurs="0">
2089           <xs:annotation>
2090             <xs:appinfo>
2091               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique ID of esr system info.")</annox:annotate>
2092             </xs:appinfo>
2093           </xs:annotation>
2094         </xs:element>
2095         <xs:element name="system-name" type="xs:string" minOccurs="0">
2096           <xs:annotation>
2097             <xs:appinfo>
2098               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="name of external system.")</annox:annotate>
2099             </xs:appinfo>
2100           </xs:annotation>
2101         </xs:element>
2102         <xs:element name="type" type="xs:string" minOccurs="0">
2103           <xs:annotation>
2104             <xs:appinfo>
2105               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="type of external systems.")</annox:annotate>
2106             </xs:appinfo>
2107           </xs:annotation>
2108         </xs:element>
2109         <xs:element name="vendor" type="xs:string" minOccurs="0">
2110           <xs:annotation>
2111             <xs:appinfo>
2112               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="vendor of external systems.")</annox:annotate>
2113             </xs:appinfo>
2114           </xs:annotation>
2115         </xs:element>
2116         <xs:element name="version" type="xs:string" minOccurs="0">
2117           <xs:annotation>
2118             <xs:appinfo>
2119               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="version of external systems.")</annox:annotate>
2120             </xs:appinfo>
2121           </xs:annotation>
2122         </xs:element>
2123         <xs:element name="service-url" type="xs:string" minOccurs="0">
2124           <xs:annotation>
2125             <xs:appinfo>
2126               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="url used to access external systems.")</annox:annotate>
2127             </xs:appinfo>
2128           </xs:annotation>
2129         </xs:element>
2130         <xs:element name="user-name" type="xs:string" minOccurs="0">
2131           <xs:annotation>
2132             <xs:appinfo>
2133               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="username used to access external systems.")</annox:annotate>
2134             </xs:appinfo>
2135           </xs:annotation>
2136         </xs:element>
2137         <xs:element name="password" type="xs:string" minOccurs="0">
2138           <xs:annotation>
2139             <xs:appinfo>
2140               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="password used to access external systems.")</annox:annotate>
2141             </xs:appinfo>
2142           </xs:annotation>
2143         </xs:element>
2144         <xs:element name="system-type" type="xs:string" minOccurs="0">
2145           <xs:annotation>
2146             <xs:appinfo>
2147               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="it could be vim/vnfm/thirdparty-sdnc/ems-resource/ems-performance/ems-alarm.")</annox:annotate>
2148             </xs:appinfo>
2149           </xs:annotation>
2150         </xs:element>
2151         <xs:element name="protocol" type="xs:string" minOccurs="0">
2152           <xs:annotation>
2153             <xs:appinfo>
2154               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="protocol of third party SDNC, for example netconf/snmp.")</annox:annotate>
2155             </xs:appinfo>
2156           </xs:annotation>
2157         </xs:element>
2158         <xs:element name="ssl-cacert" type="xs:string" minOccurs="0">
2159           <xs:annotation>
2160             <xs:appinfo>
2161               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="ca file content if enabled ssl on auth-url.")</annox:annotate>
2162             </xs:appinfo>
2163           </xs:annotation>
2164         </xs:element>
2165         <xs:element name="ssl-insecure" type="xs:boolean" minOccurs="0">
2166           <xs:annotation>
2167             <xs:appinfo>
2168               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Whether to verify VIM's certificate.")</annox:annotate>
2169             </xs:appinfo>
2170           </xs:annotation>
2171         </xs:element>
2172         <xs:element name="ip-address" type="xs:string" minOccurs="0">
2173           <xs:annotation>
2174             <xs:appinfo>
2175               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="service IP of ftp server.")</annox:annotate>
2176             </xs:appinfo>
2177           </xs:annotation>
2178         </xs:element>
2179         <xs:element name="port" type="xs:string" minOccurs="0">
2180           <xs:annotation>
2181             <xs:appinfo>
2182               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="service port of ftp server.")</annox:annotate>
2183             </xs:appinfo>
2184           </xs:annotation>
2185         </xs:element>
2186         <xs:element name="cloud-domain" type="xs:string" minOccurs="0">
2187           <xs:annotation>
2188             <xs:appinfo>
2189               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="domain info for authentication.")</annox:annotate>
2190             </xs:appinfo>
2191           </xs:annotation>
2192         </xs:element>
2193         <xs:element name="default-tenant" type="xs:string" minOccurs="0">
2194           <xs:annotation>
2195             <xs:appinfo>
2196               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="default tenant of VIM.")</annox:annotate>
2197             </xs:appinfo>
2198           </xs:annotation>
2199         </xs:element>
2200         <xs:element name="passive" type="xs:boolean" minOccurs="0">
2201           <xs:annotation>
2202             <xs:appinfo>
2203               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="ftp passive mode or not.")</annox:annotate>
2204             </xs:appinfo>
2205           </xs:annotation>
2206         </xs:element>
2207         <xs:element name="remote-path" type="xs:string" minOccurs="0">
2208           <xs:annotation>
2209             <xs:appinfo>
2210               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="resource or performance data file path.")</annox:annotate>
2211             </xs:appinfo>
2212           </xs:annotation>
2213         </xs:element>
2214         <xs:element name="system-status" type="xs:string" minOccurs="0">
2215           <xs:annotation>
2216             <xs:appinfo>
2217               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="the status of external system.")</annox:annotate>
2218             </xs:appinfo>
2219           </xs:annotation>
2220         </xs:element>
2221         <xs:element name="openstack-region-id" type="xs:string" minOccurs="0">
2222           <xs:annotation>
2223             <xs:appinfo>
2224               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="OpenStack region ID used by MultiCloud plugin to interact with an OpenStack instance.")</annox:annotate>
2225             </xs:appinfo>
2226           </xs:annotation>
2227         </xs:element>
2228         <xs:element name="resource-version" type="xs:string" minOccurs="0">
2229           <xs:annotation>
2230             <xs:appinfo>
2231               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
2232             </xs:appinfo>
2233           </xs:annotation>
2234         </xs:element>
2235         <xs:element ref="tns:relationship-list" minOccurs="0"/>
2236       </xs:sequence>
2237     </xs:complexType>
2238   </xs:element>
2239   <xs:element name="esr-system-info-list">
2240     <xs:complexType>
2241       <xs:annotation>
2242         <xs:appinfo>
2243           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of persistent block-level external system auth info.")</annox:annotate>
2244         </xs:appinfo>
2245       </xs:annotation>
2246       <xs:sequence>
2247         <xs:element ref="tns:esr-system-info" minOccurs="0" maxOccurs="5000"/>
2248       </xs:sequence>
2249     </xs:complexType>
2250   </xs:element>
2251   <xs:element name="cloud-region">
2252     <xs:complexType>
2253       <xs:annotation>
2254         <xs:appinfo>
2255           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="cloud-region designates an installation of a cloud cluster or region or instantiation. In AT&amp;Ts AIC cloud, this could be an LCP or DCP. Cloud regions are uniquely identified by a composite key, cloud-owner + cloud-region-id. The format of the cloud-owner is vendor-cloudname and we will use att-aic for AT&amp;T's AIC.",indexedProps="cloud-owner,cloud-region-id,cloud-type,owner-defined-type",nameProps="owner-defined-type",container="cloud-regions",namespace="cloud-infrastructure",uriTemplate="/cloud-infrastructure/cloud-regions/cloud-region/{cloud-owner}/{cloud-region-id}",requiredProps="cloud-owner,cloud-region-id,orchestration-disabled,in-maint")</annox:annotate>
2256         </xs:appinfo>
2257       </xs:annotation>
2258       <xs:sequence>
2259         <xs:element name="cloud-owner" type="xs:string" minOccurs="0">
2260           <xs:annotation>
2261             <xs:appinfo>
2262               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Identifies the vendor and cloud name. First part of composite key should be formatted as vendor-cloudname")</annox:annotate>
2263             </xs:appinfo>
2264           </xs:annotation>
2265         </xs:element>
2266         <xs:element name="cloud-region-id" type="xs:string" minOccurs="0">
2267           <xs:annotation>
2268             <xs:appinfo>
2269               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Identifier used by the vendor for the region. Second part of composite key")</annox:annotate>
2270             </xs:appinfo>
2271           </xs:annotation>
2272         </xs:element>
2273         <xs:element name="cloud-type" type="xs:string" minOccurs="0">
2274           <xs:annotation>
2275             <xs:appinfo>
2276               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Type of the cloud (e.g., openstack)")</annox:annotate>
2277             </xs:appinfo>
2278           </xs:annotation>
2279         </xs:element>
2280         <xs:element name="owner-defined-type" type="xs:string" minOccurs="0">
2281           <xs:annotation>
2282             <xs:appinfo>
2283               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Cloud-owner defined type indicator (e.g., dcp, lcp)")</annox:annotate>
2284             </xs:appinfo>
2285           </xs:annotation>
2286         </xs:element>
2287         <xs:element name="cloud-region-version" type="xs:string" minOccurs="0">
2288           <xs:annotation>
2289             <xs:appinfo>
2290               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Software version employed at the site.  NOTE - THIS FIELD IS NOT KEPT UP TO DATE.")</annox:annotate>
2291             </xs:appinfo>
2292           </xs:annotation>
2293         </xs:element>
2294         <xs:element name="identity-url" type="xs:string" minOccurs="0">
2295           <xs:annotation>
2296             <xs:appinfo>
2297               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL of the keystone identity service")</annox:annotate>
2298             </xs:appinfo>
2299           </xs:annotation>
2300         </xs:element>
2301         <xs:element name="cloud-zone" type="xs:string" minOccurs="0">
2302           <xs:annotation>
2303             <xs:appinfo>
2304               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Zone where the cloud is homed.  NOTE - THIS FIELD IS NOT CORRECTLY POPULATED.")</annox:annotate>
2305             </xs:appinfo>
2306           </xs:annotation>
2307         </xs:element>
2308         <xs:element name="complex-name" type="xs:string" minOccurs="0">
2309           <xs:annotation>
2310             <xs:appinfo>
2311               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="complex name for cloud-region instance.  NOTE - THIS FIELD IS NOT CORRECTLY POPULATED.")</annox:annotate>
2312             </xs:appinfo>
2313           </xs:annotation>
2314         </xs:element>
2315         <xs:element name="sriov-automation" type="xs:string" minOccurs="0">
2316           <xs:annotation>
2317             <xs:appinfo>
2318               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Whether the cloud region supports (true) or does not support (false) SR-IOV automation.")</annox:annotate>
2319             </xs:appinfo>
2320           </xs:annotation>
2321         </xs:element>
2322         <xs:element name="cloud-extra-info" type="xs:string" minOccurs="0">
2323           <xs:annotation>
2324             <xs:appinfo>
2325               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="ESR inputs extra information about the VIM or Cloud which will be decoded by MultiVIM.")</annox:annotate>
2326             </xs:appinfo>
2327           </xs:annotation>
2328         </xs:element>
2329         <xs:element name="upgrade-cycle" type="xs:string" minOccurs="0">
2330           <xs:annotation>
2331             <xs:appinfo>
2332               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Upgrade cycle for the cloud region. For AIC regions upgrade cycle is designated by A,B,C etc.")</annox:annotate>
2333             </xs:appinfo>
2334           </xs:annotation>
2335         </xs:element>
2336         <xs:element name="orchestration-disabled" type="xs:boolean" minOccurs="0">
2337           <xs:annotation>
2338             <xs:appinfo>
2339               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether orchestration is enabled for this cloud-region.")</annox:annotate>
2340             </xs:appinfo>
2341           </xs:annotation>
2342         </xs:element>
2343         <xs:element name="in-maint" type="xs:boolean" minOccurs="0">
2344           <xs:annotation>
2345             <xs:appinfo>
2346               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not cloud-region object is in maintenance mode.")</annox:annotate>
2347             </xs:appinfo>
2348           </xs:annotation>
2349         </xs:element>
2350         <xs:element name="resource-version" type="xs:string" minOccurs="0">
2351           <xs:annotation>
2352             <xs:appinfo>
2353               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
2354             </xs:appinfo>
2355           </xs:annotation>
2356         </xs:element>
2357         <xs:element ref="tns:volume-groups" minOccurs="0"/>
2358         <xs:element ref="tns:tenants" minOccurs="0"/>
2359         <xs:element ref="tns:flavors" minOccurs="0"/>
2360         <xs:element ref="tns:group-assignments" minOccurs="0"/>
2361         <xs:element ref="tns:snapshots" minOccurs="0"/>
2362         <xs:element ref="tns:images" minOccurs="0"/>
2363         <xs:element ref="tns:dvs-switches" minOccurs="0"/>
2364         <xs:element ref="tns:oam-networks" minOccurs="0"/>
2365         <xs:element ref="tns:availability-zones" minOccurs="0"/>
2366         <xs:element ref="tns:relationship-list" minOccurs="0"/>
2367         <xs:element ref="tns:vip-ipv4-address-list" minOccurs="0" maxOccurs="5000"/>
2368         <xs:element ref="tns:vip-ipv6-address-list" minOccurs="0" maxOccurs="5000"/>
2369         <xs:element ref="tns:hpa-capabilities" minOccurs="0">
2370           <xs:annotation>
2371             <xs:appinfo>
2372               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="List of cloud-region specific HPA Capabilities")</annox:annotate>
2373             </xs:appinfo>
2374           </xs:annotation>
2375         </xs:element>
2376         <xs:element ref="tns:esr-system-info-list" minOccurs="0"/>
2377       </xs:sequence>
2378     </xs:complexType>
2379   </xs:element>
2380   <xs:element name="cloud-regions">
2381     <xs:complexType>
2382       <xs:annotation>
2383         <xs:appinfo>
2384           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(maximumDepth="0")</annox:annotate>
2385         </xs:appinfo>
2386       </xs:annotation>
2387       <xs:sequence>
2388         <xs:element ref="tns:cloud-region" minOccurs="0" maxOccurs="5000"/>
2389       </xs:sequence>
2390     </xs:complexType>
2391   </xs:element>
2392   <xs:element name="network-profile">
2393     <xs:complexType>
2394       <xs:annotation>
2395         <xs:appinfo>
2396           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Network profile populated by SDN-GP for SNMP",indexedProps="nm-profile-name",container="network-profiles",namespace="cloud-infrastructure",uriTemplate="/cloud-infrastructure/network-profiles/network-profile/{nm-profile-name}",requiredProps="nm-profile-name")</annox:annotate>
2397         </xs:appinfo>
2398       </xs:annotation>
2399       <xs:sequence>
2400         <xs:element name="nm-profile-name" type="xs:string" minOccurs="0">
2401           <xs:annotation>
2402             <xs:appinfo>
2403               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Unique name of network profile.")</annox:annotate>
2404             </xs:appinfo>
2405           </xs:annotation>
2406         </xs:element>
2407         <xs:element name="community-string" type="xs:string" minOccurs="0">
2408           <xs:annotation>
2409             <xs:appinfo>
2410               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Encrypted SNMP community string")</annox:annotate>
2411             </xs:appinfo>
2412           </xs:annotation>
2413         </xs:element>
2414         <xs:element name="resource-version" type="xs:string" minOccurs="0">
2415           <xs:annotation>
2416             <xs:appinfo>
2417               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
2418             </xs:appinfo>
2419           </xs:annotation>
2420         </xs:element>
2421         <xs:element ref="tns:relationship-list" minOccurs="0"/>
2422       </xs:sequence>
2423     </xs:complexType>
2424   </xs:element>
2425   <xs:element name="network-profiles">
2426     <xs:complexType>
2427       <xs:annotation>
2428         <xs:appinfo>
2429           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of network profiles")</annox:annotate>
2430         </xs:appinfo>
2431       </xs:annotation>
2432       <xs:sequence>
2433         <xs:element ref="tns:network-profile" minOccurs="0" maxOccurs="5000"/>
2434       </xs:sequence>
2435     </xs:complexType>
2436   </xs:element>
2437   <xs:element name="sriov-pf">
2438     <xs:complexType>
2439       <xs:annotation>
2440         <xs:appinfo>
2441           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="SR-IOV Physical Function",indexedProps="pf-pci-id",dependentOn="p-interface",container="sriov-pfs",uriTemplate="/sriov-pfs/sriov-pf/{pf-pci-id}",requiredProps="pf-pci-id")</annox:annotate>
2442         </xs:appinfo>
2443       </xs:annotation>
2444       <xs:sequence>
2445         <xs:element name="pf-pci-id" type="xs:string" minOccurs="0">
2446           <xs:annotation>
2447             <xs:appinfo>
2448               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Identifier for the sriov-pf")</annox:annotate>
2449             </xs:appinfo>
2450           </xs:annotation>
2451         </xs:element>
2452         <xs:element name="resource-version" type="xs:string" minOccurs="0">
2453           <xs:annotation>
2454             <xs:appinfo>
2455               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
2456             </xs:appinfo>
2457           </xs:annotation>
2458         </xs:element>
2459         <xs:element ref="tns:relationship-list" minOccurs="0"/>
2460       </xs:sequence>
2461     </xs:complexType>
2462   </xs:element>
2463   <xs:element name="sriov-pfs">
2464     <xs:complexType>
2465       <xs:annotation>
2466         <xs:appinfo>
2467           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of SR-IOV Physical Functions.")</annox:annotate>
2468         </xs:appinfo>
2469       </xs:annotation>
2470       <xs:sequence>
2471         <xs:element ref="tns:sriov-pf" minOccurs="0" maxOccurs="5000"/>
2472       </xs:sequence>
2473     </xs:complexType>
2474   </xs:element>
2475   <xs:element name="p-interface">
2476     <xs:complexType>
2477       <xs:annotation>
2478         <xs:appinfo>
2479           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Physical interface (e.g., nic)",indexedProps="interface-name,prov-status,networkRef,operational-status",nameProps="prov-status",dependentOn="vpls-pe,pserver,pnf",container="p-interfaces",uriTemplate="/p-interfaces/p-interface/{interface-name}",requiredProps="interface-name,in-maint")</annox:annotate>
2480         </xs:appinfo>
2481       </xs:annotation>
2482       <xs:sequence>
2483         <xs:element name="interface-name" type="xs:string" minOccurs="0">
2484           <xs:annotation>
2485             <xs:appinfo>
2486               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Name that identifies the physical interface")</annox:annotate>
2487             </xs:appinfo>
2488           </xs:annotation>
2489         </xs:element>
2490         <xs:element name="selflink" type="xs:string" minOccurs="0">
2491           <xs:annotation>
2492             <xs:appinfo>
2493               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="URL to endpoint where AAI can get more details.")</annox:annotate>
2494             </xs:appinfo>
2495           </xs:annotation>
2496         </xs:element>
2497         <xs:element name="speed-value" type="xs:string" minOccurs="0">
2498           <xs:annotation>
2499             <xs:appinfo>
2500               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Captures the numeric part of the speed")</annox:annotate>
2501             </xs:appinfo>
2502           </xs:annotation>
2503         </xs:element>
2504         <xs:element name="speed-units" type="xs:string" minOccurs="0">
2505           <xs:annotation>
2506             <xs:appinfo>
2507               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Captures the units corresponding to the speed")</annox:annotate>
2508             </xs:appinfo>
2509           </xs:annotation>
2510         </xs:element>
2511         <xs:element name="port-description" type="xs:string" minOccurs="0">
2512           <xs:annotation>
2513             <xs:appinfo>
2514               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Nature of the services and connectivity on this port.")</annox:annotate>
2515             </xs:appinfo>
2516           </xs:annotation>
2517         </xs:element>
2518         <xs:element name="equipment-identifier" type="xs:string" minOccurs="0">
2519           <xs:annotation>
2520             <xs:appinfo>
2521               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="CLEI or other specification for p-interface hardware.")</annox:annotate>
2522             </xs:appinfo>
2523           </xs:annotation>
2524         </xs:element>
2525         <xs:element name="interface-role" type="xs:string" minOccurs="0">
2526           <xs:annotation>
2527             <xs:appinfo>
2528               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Role specification for p-interface hardware.")</annox:annotate>
2529             </xs:appinfo>
2530           </xs:annotation>
2531         </xs:element>
2532         <xs:element name="interface-type" type="xs:string" minOccurs="0">
2533           <xs:annotation>
2534             <xs:appinfo>
2535               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Indicates the physical properties of the interface.")</annox:annotate>
2536             </xs:appinfo>
2537           </xs:annotation>
2538         </xs:element>
2539         <xs:element name="prov-status" type="xs:string" minOccurs="0">
2540           <xs:annotation>
2541             <xs:appinfo>
2542               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Trigger for operational monitoring of this resource by Service Assurance systems.")</annox:annotate>
2543             </xs:appinfo>
2544           </xs:annotation>
2545         </xs:element>
2546         <xs:element name="mac-addresss" type="xs:string" minOccurs="0">
2547           <xs:annotation>
2548             <xs:appinfo>
2549               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="MAC Address of the p-interface.")</annox:annotate>
2550             </xs:appinfo>
2551           </xs:annotation>
2552         </xs:element>
2553         <xs:element name="resource-version" type="xs:string" minOccurs="0">
2554           <xs:annotation>
2555             <xs:appinfo>
2556               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
2557             </xs:appinfo>
2558           </xs:annotation>
2559         </xs:element>
2560         <xs:element name="in-maint" type="xs:boolean" minOccurs="0">
2561           <xs:annotation>
2562             <xs:appinfo>
2563               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate>
2564             </xs:appinfo>
2565           </xs:annotation>
2566         </xs:element>
2567         <xs:element name="inv-status" type="xs:string" minOccurs="0">
2568           <xs:annotation>
2569             <xs:appinfo>
2570               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="inventory status")</annox:annotate>
2571             </xs:appinfo>
2572           </xs:annotation>
2573         </xs:element>
2574         <xs:element name="network-ref" type="xs:string" minOccurs="0">
2575           <xs:annotation>
2576             <xs:appinfo>
2577               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Store the network-ref of this p-interface. Derived from ietf-restconf-notification that identifies a termination-point.")</annox:annotate>
2578             </xs:appinfo>
2579           </xs:annotation>
2580         </xs:element>
2581         <xs:element name="transparent" type="xs:string" minOccurs="0">
2582           <xs:annotation>
2583             <xs:appinfo>
2584               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Store the transparent value of this p-interface.")</annox:annotate>
2585             </xs:appinfo>
2586           </xs:annotation>
2587         </xs:element>
2588         <xs:element name="operational-status" type="xs:string" minOccurs="0">
2589           <xs:annotation>
2590             <xs:appinfo>
2591               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="oper Status of this p-interface.")</annox:annotate>
2592             </xs:appinfo>
2593           </xs:annotation>
2594         </xs:element>
2595         <xs:element ref="tns:relationship-list" minOccurs="0"/>
2596         <xs:element ref="tns:sriov-pfs" minOccurs="0"/>
2597         <xs:element ref="tns:l-interfaces" minOccurs="0"/>
2598       </xs:sequence>
2599     </xs:complexType>
2600   </xs:element>
2601   <xs:element name="p-interfaces">
2602     <xs:complexType>
2603       <xs:annotation>
2604         <xs:appinfo>
2605           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of physical interfaces.")</annox:annotate>
2606         </xs:appinfo>
2607       </xs:annotation>
2608       <xs:sequence>
2609         <xs:element ref="tns:p-interface" minOccurs="0" maxOccurs="5000"/>
2610       </xs:sequence>
2611     </xs:complexType>
2612   </xs:element>
2613   <xs:element name="lag-interface">
2614     <xs:complexType>
2615       <xs:annotation>
2616         <xs:appinfo>
2617           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Link aggregate interface",indexedProps="interface-name,interface-id,interface-role",dependentOn="generic-vnf,pserver,vpls-pe,pnf",container="lag-interfaces",uriTemplate="/lag-interfaces/lag-interface/{interface-name}",requiredProps="interface-name,in-maint")</annox:annotate>
2618         </xs:appinfo>
2619       </xs:annotation>
2620       <xs:sequence>
2621         <xs:element name="interface-name" type="xs:string" minOccurs="0">
2622           <xs:annotation>
2623             <xs:appinfo>
2624               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Name that identifies the link aggregate interface")</annox:annotate>
2625             </xs:appinfo>
2626           </xs:annotation>
2627         </xs:element>
2628         <xs:element name="interface-description" type="xs:string" minOccurs="0">
2629           <xs:annotation>
2630             <xs:appinfo>
2631               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Human friendly text regarding this interface.")</annox:annotate>
2632             </xs:appinfo>
2633           </xs:annotation>
2634         </xs:element>
2635         <xs:element name="resource-version" type="xs:string" minOccurs="0">
2636           <xs:annotation>
2637             <xs:appinfo>
2638               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Used for optimistic concurrency.  Must be empty on create, valid on update and delete.")</annox:annotate>
2639             </xs:appinfo>
2640           </xs:annotation>
2641         </xs:element>
2642         <xs:element name="speed-value" type="xs:string" minOccurs="0">
2643           <xs:annotation>
2644             <xs:appinfo>
2645               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Captures the numeric part of the speed")</annox:annotate>
2646             </xs:appinfo>
2647           </xs:annotation>
2648         </xs:element>
2649         <xs:element name="speed-units" type="xs:string" minOccurs="0">
2650           <xs:annotation>
2651             <xs:appinfo>
2652               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Captures the units corresponding to the speed")</annox:annotate>
2653             </xs:appinfo>
2654           </xs:annotation>
2655         </xs:element>
2656         <xs:element name="interface-id" type="xs:string" minOccurs="0">
2657           <xs:annotation>
2658             <xs:appinfo>
2659               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="ID of interface")</annox:annotate>
2660             </xs:appinfo>
2661           </xs:annotation>
2662         </xs:element>
2663         <xs:element name="interface-role" type="xs:string" minOccurs="0">
2664           <xs:annotation>
2665             <xs:appinfo>
2666               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Role assigned to this Interface, should use values as defined in ECOMP Yang models.")</annox:annotate>
2667             </xs:appinfo>
2668           </xs:annotation>
2669         </xs:element>
2670         <xs:element name="prov-status" type="xs:string" minOccurs="0">
2671           <xs:annotation>
2672             <xs:appinfo>
2673               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Trigger for operational monitoring of this resource by Service Assurance systems.")</annox:annotate>
2674             </xs:appinfo>
2675           </xs:annotation>
2676         </xs:element>
2677         <xs:element name="in-maint" type="xs:boolean" minOccurs="0">
2678           <xs:annotation>
2679             <xs:appinfo>
2680               <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate>
2681             </xs:appinfo>
2682           </xs:annotation>
2683         </xs:element>
2684         <xs:element ref="tns:relationship-list" minOccurs="0"/>
2685         <xs:element ref="tns:l-interfaces" minOccurs="0"/>
2686       </xs:sequence>
2687     </xs:complexType>
2688   </xs:element>
2689   <xs:element name="lag-interfaces">
2690     <xs:complexType>
2691       <xs:annotation>
2692         <xs:appinfo>
2693           <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of link aggregate interfaces.")</annox:annotate>