opennebula-cli 5.12.10 → 5.13.80.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/oneacct +9 -4
- data/bin/oneacl +8 -5
- data/bin/onecluster +10 -7
- data/bin/onedatastore +10 -7
- data/bin/oneflow +85 -13
- data/bin/oneflow-template +45 -8
- data/bin/onegroup +10 -7
- data/bin/onehook +10 -7
- data/bin/onehost +8 -5
- data/bin/oneimage +99 -8
- data/bin/onemarket +10 -7
- data/bin/onemarketapp +117 -10
- data/bin/onesecgroup +13 -7
- data/bin/oneshowback +18 -10
- data/bin/onetemplate +12 -8
- data/bin/oneuser +30 -7
- data/bin/onevcenter +10 -18
- data/bin/onevdc +10 -7
- data/bin/onevm +146 -11
- data/bin/onevmgroup +13 -7
- data/bin/onevnet +8 -5
- data/bin/onevntemplate +11 -7
- data/bin/onevrouter +10 -7
- data/bin/onezone +10 -7
- data/lib/cli_helper.rb +4 -6
- data/lib/command_parser.rb +1 -1
- data/lib/one_helper/oneacct_helper.rb +8 -17
- data/lib/one_helper/oneacl_helper.rb +1 -1
- data/lib/one_helper/onecluster_helper.rb +1 -1
- data/lib/one_helper/onedatastore_helper.rb +11 -1
- data/lib/one_helper/oneflow_helper.rb +20 -5
- data/lib/one_helper/oneflowtemplate_helper.rb +28 -2
- data/lib/one_helper/onegroup_helper.rb +1 -1
- data/lib/one_helper/onehook_helper.rb +1 -1
- data/lib/one_helper/onehost_helper.rb +1 -5
- data/lib/one_helper/oneimage_helper.rb +7 -7
- data/lib/one_helper/onemarket_helper.rb +1 -1
- data/lib/one_helper/onemarketapp_helper.rb +494 -96
- data/lib/one_helper/onequota_helper.rb +1 -1
- data/lib/one_helper/onesecgroup_helper.rb +1 -1
- data/lib/one_helper/onetemplate_helper.rb +12 -1
- data/lib/one_helper/oneuser_helper.rb +11 -3
- data/lib/one_helper/onevcenter_helper.rb +176 -146
- data/lib/one_helper/onevdc_helper.rb +1 -1
- data/lib/one_helper/onevm_helper.rb +4 -3
- data/lib/one_helper/onevmgroup_helper.rb +1 -1
- data/lib/one_helper/onevnet_helper.rb +1 -1
- data/lib/one_helper/onevntemplate_helper.rb +1 -1
- data/lib/one_helper/onevrouter_helper.rb +1 -20
- data/lib/one_helper/onezone_helper.rb +12 -1
- data/lib/one_helper.rb +398 -37
- data/share/schemas/xsd/acct.xsd +179 -0
- data/share/schemas/xsd/acl_pool.xsd +22 -0
- data/share/schemas/xsd/api_info.xsd +43 -0
- data/share/schemas/xsd/cluster.xsd +34 -0
- data/share/schemas/xsd/cluster_pool.xsd +12 -0
- data/share/schemas/xsd/datastore.xsd +67 -0
- data/share/schemas/xsd/datastore_pool.xsd +12 -0
- data/share/schemas/xsd/document.xsd +42 -0
- data/share/schemas/xsd/document_pool.xsd +12 -0
- data/share/schemas/xsd/group.xsd +179 -0
- data/share/schemas/xsd/group_pool.xsd +194 -0
- data/share/schemas/xsd/hook.xsd +59 -0
- data/share/schemas/xsd/hook_message_api.xsd +14 -0
- data/share/schemas/xsd/hook_message_retry.xsd +12 -0
- data/share/schemas/xsd/hook_message_state.xsd +25 -0
- data/share/schemas/xsd/hook_pool.xsd +12 -0
- data/share/schemas/xsd/host.xsd +164 -0
- data/share/schemas/xsd/host_pool.xsd +12 -0
- data/share/schemas/xsd/image.xsd +123 -0
- data/share/schemas/xsd/image_pool.xsd +12 -0
- data/share/schemas/xsd/index.xsd +49 -0
- data/share/schemas/xsd/marketplace.xsd +44 -0
- data/share/schemas/xsd/marketplace_pool.xsd +12 -0
- data/share/schemas/xsd/marketplaceapp.xsd +56 -0
- data/share/schemas/xsd/marketplaceapp_pool.xsd +12 -0
- data/share/schemas/xsd/opennebula_configuration.xsd +412 -0
- data/share/schemas/xsd/raftstatus.xsd +18 -0
- data/share/schemas/xsd/security_group.xsd +74 -0
- data/share/schemas/xsd/security_group_pool.xsd +12 -0
- data/share/schemas/xsd/showback.xsd +29 -0
- data/share/schemas/xsd/user.xsd +186 -0
- data/share/schemas/xsd/user_pool.xsd +201 -0
- data/share/schemas/xsd/vdc.xsd +76 -0
- data/share/schemas/xsd/vdc_pool.xsd +12 -0
- data/share/schemas/xsd/vm.xsd +251 -0
- data/share/schemas/xsd/vm_group.xsd +59 -0
- data/share/schemas/xsd/vm_group_pool.xsd +12 -0
- data/share/schemas/xsd/vm_pool.xsd +114 -0
- data/share/schemas/xsd/vmtemplate.xsd +52 -0
- data/share/schemas/xsd/vmtemplate_pool.xsd +12 -0
- data/share/schemas/xsd/vnet.xsd +137 -0
- data/share/schemas/xsd/vnet_pool.xsd +85 -0
- data/share/schemas/xsd/vntemplate.xsd +50 -0
- data/share/schemas/xsd/vntemplate_pool.xsd +12 -0
- data/share/schemas/xsd/vrouter.xsd +49 -0
- data/share/schemas/xsd/vrouter_pool.xsd +12 -0
- data/share/schemas/xsd/zone.xsd +40 -0
- data/share/schemas/xsd/zone_pool.xsd +36 -0
- metadata +68 -7
- data/lib/one_helper/oneprovision_helper.rb +0 -362
@@ -0,0 +1,251 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
|
3
|
+
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
|
4
|
+
<xs:element name="VM">
|
5
|
+
<xs:complexType>
|
6
|
+
<xs:sequence>
|
7
|
+
<xs:element name="ID" type="xs:integer"/>
|
8
|
+
<xs:element name="UID" type="xs:integer"/>
|
9
|
+
<xs:element name="GID" type="xs:integer"/>
|
10
|
+
<xs:element name="UNAME" type="xs:string"/>
|
11
|
+
<xs:element name="GNAME" type="xs:string"/>
|
12
|
+
<xs:element name="NAME" type="xs:string"/>
|
13
|
+
<xs:element name="PERMISSIONS" minOccurs="0" maxOccurs="1">
|
14
|
+
<xs:complexType>
|
15
|
+
<xs:sequence>
|
16
|
+
<xs:element name="OWNER_U" type="xs:integer"/>
|
17
|
+
<xs:element name="OWNER_M" type="xs:integer"/>
|
18
|
+
<xs:element name="OWNER_A" type="xs:integer"/>
|
19
|
+
<xs:element name="GROUP_U" type="xs:integer"/>
|
20
|
+
<xs:element name="GROUP_M" type="xs:integer"/>
|
21
|
+
<xs:element name="GROUP_A" type="xs:integer"/>
|
22
|
+
<xs:element name="OTHER_U" type="xs:integer"/>
|
23
|
+
<xs:element name="OTHER_M" type="xs:integer"/>
|
24
|
+
<xs:element name="OTHER_A" type="xs:integer"/>
|
25
|
+
</xs:sequence>
|
26
|
+
</xs:complexType>
|
27
|
+
</xs:element>
|
28
|
+
<xs:element name="LAST_POLL" type="xs:integer"/>
|
29
|
+
|
30
|
+
<!-- STATE and LCM_STATE values,
|
31
|
+
see http://docs.opennebula.org/5.6/operation/references/vm_states.html#list-of-states
|
32
|
+
-->
|
33
|
+
<xs:element name="STATE" type="xs:integer"/>
|
34
|
+
<xs:element name="LCM_STATE" type="xs:integer"/>
|
35
|
+
<xs:element name="PREV_STATE" type="xs:integer"/>
|
36
|
+
<xs:element name="PREV_LCM_STATE" type="xs:integer"/>
|
37
|
+
<xs:element name="RESCHED" type="xs:integer"/>
|
38
|
+
<xs:element name="STIME" type="xs:integer"/>
|
39
|
+
<xs:element name="ETIME" type="xs:integer"/>
|
40
|
+
<xs:element name="DEPLOY_ID" type="xs:string"/>
|
41
|
+
<xs:element name="LOCK" minOccurs="0" maxOccurs="1">
|
42
|
+
<xs:complexType>
|
43
|
+
<xs:sequence>
|
44
|
+
<xs:element name="LOCKED" type="xs:integer"/>
|
45
|
+
<xs:element name="OWNER" type="xs:integer"/>
|
46
|
+
<xs:element name="TIME" type="xs:integer"/>
|
47
|
+
<xs:element name="REQ_ID" type="xs:integer"/>
|
48
|
+
</xs:sequence>
|
49
|
+
</xs:complexType>
|
50
|
+
</xs:element>
|
51
|
+
<xs:element name="MONITORING">
|
52
|
+
<xs:complexType>
|
53
|
+
<xs:all>
|
54
|
+
<!-- Percentage of 1 CPU consumed (two fully consumed cpu is 2.0) -->
|
55
|
+
<xs:element name="CPU" type="xs:decimal" minOccurs="0" maxOccurs="1"/>
|
56
|
+
<!-- Amount of bytes read from disk-->
|
57
|
+
<xs:element name="DISKRDBYTES" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
58
|
+
<!-- Number of IO read operations -->
|
59
|
+
<xs:element name="DISKRDIOPS" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
60
|
+
<!-- Amount of bytes written to disk -->
|
61
|
+
<xs:element name="DISKWRBYTES" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
62
|
+
<!-- Number of IO write operations -->
|
63
|
+
<xs:element name="DISKWRIOPS" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
64
|
+
<!-- ID of the VM -->
|
65
|
+
<xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
66
|
+
<!-- Consumption in kilobytes -->
|
67
|
+
<xs:element name="MEMORY" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
68
|
+
<!-- Sent bytes to the network -->
|
69
|
+
<xs:element name="NETTX" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
70
|
+
<!-- Received bytes from the network -->
|
71
|
+
<xs:element name="NETRX" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
72
|
+
<!-- Exact time when monitoring info were retieved -->
|
73
|
+
<xs:element name="TIMESTAMP" type="xs:integer" minOccurs="0" maxOccurs="1"/>
|
74
|
+
<!-- vCetner information -->
|
75
|
+
<xs:element name="VCENTER_ESX_HOST" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
76
|
+
<xs:element name="VCENTER_GUEST_STATE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
77
|
+
<xs:element name="VCENTER_RP_NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
78
|
+
<xs:element name="VCENTER_VMWARETOOLS_RUNNING_STATUS" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
79
|
+
<xs:element name="VCENTER_VMWARETOOLS_VERSION" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
80
|
+
<xs:element name="VCENTER_VMWARETOOLS_VERSION_STATUS" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
81
|
+
<xs:element name="VCENTER_VM_NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
82
|
+
</xs:all>
|
83
|
+
</xs:complexType>
|
84
|
+
</xs:element>
|
85
|
+
<xs:element name="TEMPLATE">
|
86
|
+
<xs:complexType>
|
87
|
+
<xs:sequence>
|
88
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
89
|
+
<xs:element name="DISK" minOccurs="0" maxOccurs="unbounded">
|
90
|
+
<xs:complexType>
|
91
|
+
<xs:sequence>
|
92
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
93
|
+
<xs:element name="VCENTER_DS_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
94
|
+
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
95
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
96
|
+
</xs:sequence>
|
97
|
+
</xs:complexType>
|
98
|
+
</xs:element>
|
99
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
100
|
+
<xs:element name="NIC" minOccurs="0" maxOccurs="unbounded">
|
101
|
+
<xs:complexType>
|
102
|
+
<xs:sequence>
|
103
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
104
|
+
<xs:element name="BRIDGE_TYPE" type="xs:string"/>
|
105
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
106
|
+
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
107
|
+
<xs:element name="VCENTER_NET_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
108
|
+
<xs:element name="VCENTER_PORTGROUP_TYPE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
109
|
+
</xs:sequence>
|
110
|
+
</xs:complexType>
|
111
|
+
</xs:element>
|
112
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
113
|
+
<xs:element name="NIC_ALIAS" minOccurs="0" maxOccurs="unbounded">
|
114
|
+
<xs:complexType>
|
115
|
+
<xs:sequence>
|
116
|
+
<xs:element name="ALIAS_ID" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
117
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
118
|
+
<xs:element name="PARENT" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
119
|
+
<xs:element name="PARENT_ID" type="xs:string" minOccurs="1" maxOccurs="1"/>
|
120
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
121
|
+
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
122
|
+
<xs:element name="VCENTER_NET_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
123
|
+
<xs:element name="VCENTER_PORTGROUP_TYPE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
124
|
+
</xs:sequence>
|
125
|
+
</xs:complexType>
|
126
|
+
</xs:element>
|
127
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
128
|
+
</xs:sequence>
|
129
|
+
</xs:complexType>
|
130
|
+
</xs:element>
|
131
|
+
<xs:element name="USER_TEMPLATE">
|
132
|
+
<xs:complexType>
|
133
|
+
<xs:sequence>
|
134
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
135
|
+
<xs:element name="VCENTER_CCR_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
136
|
+
<xs:element name="VCENTER_DS_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
137
|
+
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
138
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
139
|
+
</xs:sequence>
|
140
|
+
</xs:complexType>
|
141
|
+
</xs:element>
|
142
|
+
<xs:element name="HISTORY_RECORDS">
|
143
|
+
<xs:complexType>
|
144
|
+
<xs:sequence>
|
145
|
+
<xs:element name="HISTORY" maxOccurs="unbounded" minOccurs="0">
|
146
|
+
<xs:complexType>
|
147
|
+
<xs:sequence>
|
148
|
+
<xs:element name="OID" type="xs:integer"/>
|
149
|
+
<xs:element name="SEQ" type="xs:integer"/>
|
150
|
+
<xs:element name="HOSTNAME" type="xs:string"/>
|
151
|
+
<xs:element name="HID" type="xs:integer"/>
|
152
|
+
<xs:element name="CID" type="xs:integer"/>
|
153
|
+
<xs:element name="STIME" type="xs:integer"/>
|
154
|
+
<xs:element name="ETIME" type="xs:integer"/>
|
155
|
+
<xs:element name="VM_MAD" type="xs:string"/>
|
156
|
+
<xs:element name="TM_MAD" type="xs:string"/>
|
157
|
+
<xs:element name="DS_ID" type="xs:integer"/>
|
158
|
+
<xs:element name="PSTIME" type="xs:integer"/>
|
159
|
+
<xs:element name="PETIME" type="xs:integer"/>
|
160
|
+
<xs:element name="RSTIME" type="xs:integer"/>
|
161
|
+
<xs:element name="RETIME" type="xs:integer"/>
|
162
|
+
<xs:element name="ESTIME" type="xs:integer"/>
|
163
|
+
<xs:element name="EETIME" type="xs:integer"/>
|
164
|
+
|
165
|
+
<!-- ACTION values:
|
166
|
+
NONE_ACTION = 0
|
167
|
+
MIGRATE_ACTION = 1
|
168
|
+
LIVE_MIGRATE_ACTION = 2
|
169
|
+
SHUTDOWN_ACTION = 3
|
170
|
+
SHUTDOWN_HARD_ACTION = 4
|
171
|
+
UNDEPLOY_ACTION = 5
|
172
|
+
UNDEPLOY_HARD_ACTION = 6
|
173
|
+
HOLD_ACTION = 7
|
174
|
+
RELEASE_ACTION = 8
|
175
|
+
STOP_ACTION = 9
|
176
|
+
SUSPEND_ACTION = 10
|
177
|
+
RESUME_ACTION = 11
|
178
|
+
BOOT_ACTION = 12
|
179
|
+
DELETE_ACTION = 13
|
180
|
+
DELETE_RECREATE_ACTION = 14
|
181
|
+
REBOOT_ACTION = 15
|
182
|
+
REBOOT_HARD_ACTION = 16
|
183
|
+
RESCHED_ACTION = 17
|
184
|
+
UNRESCHED_ACTION = 18
|
185
|
+
POWEROFF_ACTION = 19
|
186
|
+
POWEROFF_HARD_ACTION = 20
|
187
|
+
DISK_ATTACH_ACTION = 21
|
188
|
+
DISK_DETACH_ACTION = 22
|
189
|
+
NIC_ATTACH_ACTION = 23
|
190
|
+
NIC_DETACH_ACTION = 24
|
191
|
+
DISK_SNAPSHOT_CREATE_ACTION = 25
|
192
|
+
DISK_SNAPSHOT_DELETE_ACTION = 26
|
193
|
+
TERMINATE_ACTION = 27
|
194
|
+
TERMINATE_HARD_ACTION = 28
|
195
|
+
DISK_RESIZE_ACTION = 29
|
196
|
+
DEPLOY_ACTION = 30
|
197
|
+
CHOWN_ACTION = 31
|
198
|
+
CHMOD_ACTION = 32
|
199
|
+
UPDATECONF_ACTION = 33
|
200
|
+
RENAME_ACTION = 34
|
201
|
+
RESIZE_ACTION = 35
|
202
|
+
UPDATE_ACTION = 36
|
203
|
+
SNAPSHOT_CREATE_ACTION = 37
|
204
|
+
SNAPSHOT_DELETE_ACTION = 38
|
205
|
+
SNAPSHOT_REVERT_ACTION = 39
|
206
|
+
DISK_SAVEAS_ACTION = 40
|
207
|
+
DISK_SNAPSHOT_REVERT_ACTION = 41
|
208
|
+
RECOVER_ACTION = 42
|
209
|
+
RETRY_ACTION = 43
|
210
|
+
MONITOR_ACTION = 44
|
211
|
+
DISK_SNAPSHOT_RENAME_ACTION = 45
|
212
|
+
ALIAS_ATTACH_ACTION = 46
|
213
|
+
ALIAS_DETACH_ACTION = 47
|
214
|
+
-->
|
215
|
+
<xs:element name="ACTION" type="xs:integer"/>
|
216
|
+
<xs:element name="UID" type="xs:integer"/>
|
217
|
+
<xs:element name="GID" type="xs:integer"/>
|
218
|
+
<xs:element name="REQUEST_ID" type="xs:string"/>
|
219
|
+
</xs:sequence>
|
220
|
+
</xs:complexType>
|
221
|
+
</xs:element>
|
222
|
+
</xs:sequence>
|
223
|
+
</xs:complexType>
|
224
|
+
</xs:element>
|
225
|
+
<xs:element name="SNAPSHOTS" minOccurs="0" maxOccurs="unbounded">
|
226
|
+
<xs:complexType>
|
227
|
+
<xs:sequence>
|
228
|
+
<xs:element name="ALLOW_ORPHANS" type="xs:string"/>
|
229
|
+
<xs:element name="CURRENT_BASE" type="xs:integer"/>
|
230
|
+
<xs:element name="DISK_ID" type="xs:integer"/>
|
231
|
+
<xs:element name="NEXT_SNAPSHOT" type="xs:integer"/>
|
232
|
+
<xs:element name="SNAPSHOT" minOccurs="0" maxOccurs="unbounded">
|
233
|
+
<xs:complexType>
|
234
|
+
<xs:sequence>
|
235
|
+
<xs:element name="ACTIVE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
236
|
+
<xs:element name="CHILDREN" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
237
|
+
<xs:element name="DATE" type="xs:integer"/>
|
238
|
+
<xs:element name="ID" type="xs:integer"/>
|
239
|
+
<xs:element name="NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
240
|
+
<xs:element name="PARENT" type="xs:integer"/>
|
241
|
+
<xs:element name="SIZE" type="xs:integer"/>
|
242
|
+
</xs:sequence>
|
243
|
+
</xs:complexType>
|
244
|
+
</xs:element>
|
245
|
+
</xs:sequence>
|
246
|
+
</xs:complexType>
|
247
|
+
</xs:element>
|
248
|
+
</xs:sequence>
|
249
|
+
</xs:complexType>
|
250
|
+
</xs:element>
|
251
|
+
</xs:schema>
|
@@ -0,0 +1,59 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
|
3
|
+
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
|
4
|
+
<xs:element name="VM_GROUP">
|
5
|
+
<xs:complexType>
|
6
|
+
<xs:sequence>
|
7
|
+
<xs:element name="ID" type="xs:integer"/>
|
8
|
+
<xs:element name="UID" type="xs:integer"/>
|
9
|
+
<xs:element name="GID" type="xs:integer"/>
|
10
|
+
<xs:element name="UNAME" type="xs:string"/>
|
11
|
+
<xs:element name="GNAME" type="xs:string"/>
|
12
|
+
<xs:element name="NAME" type="xs:string"/>
|
13
|
+
<xs:element name="PERMISSIONS" minOccurs="0" maxOccurs="1">
|
14
|
+
<xs:complexType>
|
15
|
+
<xs:sequence>
|
16
|
+
<xs:element name="OWNER_U" type="xs:integer"/>
|
17
|
+
<xs:element name="OWNER_M" type="xs:integer"/>
|
18
|
+
<xs:element name="OWNER_A" type="xs:integer"/>
|
19
|
+
<xs:element name="GROUP_U" type="xs:integer"/>
|
20
|
+
<xs:element name="GROUP_M" type="xs:integer"/>
|
21
|
+
<xs:element name="GROUP_A" type="xs:integer"/>
|
22
|
+
<xs:element name="OTHER_U" type="xs:integer"/>
|
23
|
+
<xs:element name="OTHER_M" type="xs:integer"/>
|
24
|
+
<xs:element name="OTHER_A" type="xs:integer"/>
|
25
|
+
</xs:sequence>
|
26
|
+
</xs:complexType>
|
27
|
+
</xs:element>
|
28
|
+
<xs:element name="LOCK" minOccurs="0" maxOccurs="1">
|
29
|
+
<xs:complexType>
|
30
|
+
<xs:sequence>
|
31
|
+
<xs:element name="LOCKED" type="xs:integer"/>
|
32
|
+
<xs:element name="OWNER" type="xs:integer"/>
|
33
|
+
<xs:element name="TIME" type="xs:integer"/>
|
34
|
+
<xs:element name="REQ_ID" type="xs:integer"/>
|
35
|
+
</xs:sequence>
|
36
|
+
</xs:complexType>
|
37
|
+
</xs:element>
|
38
|
+
<xs:element name="ROLES" minOccurs="1" maxOccurs="1">
|
39
|
+
<xs:complexType>
|
40
|
+
<xs:sequence>
|
41
|
+
<xs:element name="ROLE" maxOccurs="unbounded" minOccurs="1">
|
42
|
+
<xs:complexType>
|
43
|
+
<xs:sequence>
|
44
|
+
<xs:element name="HOST_AFFINED" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
45
|
+
<xs:element name="HOST_ANTI_AFFINED" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
46
|
+
<xs:element name="ID" type="xs:integer"/>
|
47
|
+
<xs:element name="NAME" type="xs:string"/>
|
48
|
+
<xs:element name="POLICY" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
49
|
+
</xs:sequence>
|
50
|
+
</xs:complexType>
|
51
|
+
</xs:element>
|
52
|
+
</xs:sequence>
|
53
|
+
</xs:complexType>
|
54
|
+
</xs:element>
|
55
|
+
<xs:element name="TEMPLATE" type="xs:anyType"/>
|
56
|
+
</xs:sequence>
|
57
|
+
</xs:complexType>
|
58
|
+
</xs:element>
|
59
|
+
</xs:schema>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified"
|
3
|
+
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
|
4
|
+
<xs:include schemaLocation="vm_group.xsd"/>
|
5
|
+
<xs:element name="VM_GROUP_POOL">
|
6
|
+
<xs:complexType>
|
7
|
+
<xs:sequence maxOccurs="1" minOccurs="1">
|
8
|
+
<xs:element ref="VM_GROUP" maxOccurs="unbounded" minOccurs="0"/>
|
9
|
+
</xs:sequence>
|
10
|
+
</xs:complexType>
|
11
|
+
</xs:element>
|
12
|
+
</xs:schema>
|
@@ -0,0 +1,114 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
|
3
|
+
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
|
4
|
+
<xs:element name="VM_POOL">
|
5
|
+
<xs:complexType>
|
6
|
+
<xs:sequence>
|
7
|
+
<xs:element name="VM" minOccurs="0" maxOccurs="unbounded">
|
8
|
+
<xs:complexType>
|
9
|
+
<xs:sequence>
|
10
|
+
<xs:element name="ID" type="xs:integer"/>
|
11
|
+
<xs:element name="UID" type="xs:integer"/>
|
12
|
+
<xs:element name="GID" type="xs:integer"/>
|
13
|
+
<xs:element name="UNAME" type="xs:string"/>
|
14
|
+
<xs:element name="GNAME" type="xs:string"/>
|
15
|
+
<xs:element name="NAME" type="xs:string"/>
|
16
|
+
<xs:element name="LAST_POLL" type="xs:integer"/>
|
17
|
+
<xs:element name="STATE" type="xs:integer"/>
|
18
|
+
<xs:element name="LCM_STATE" type="xs:integer"/>
|
19
|
+
<xs:element name="RESCHED" type="xs:integer"/>
|
20
|
+
<xs:element name="STIME" type="xs:integer"/>
|
21
|
+
<xs:element name="ETIME" type="xs:integer"/>
|
22
|
+
<xs:element name="DEPLOY_ID" type="xs:string"/>
|
23
|
+
<xs:element name="TEMPLATE">
|
24
|
+
<xs:complexType>
|
25
|
+
<xs:sequence>
|
26
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
27
|
+
<xs:element name="DISK" minOccurs="0" maxOccurs="unbounded">
|
28
|
+
<xs:complexType>
|
29
|
+
<xs:sequence>
|
30
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
31
|
+
<xs:element name="VCENTER_DS_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
32
|
+
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
33
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
34
|
+
</xs:sequence>
|
35
|
+
</xs:complexType>
|
36
|
+
</xs:element>
|
37
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
38
|
+
<xs:element name="NIC" minOccurs="0" maxOccurs="unbounded">
|
39
|
+
<xs:complexType>
|
40
|
+
<xs:sequence>
|
41
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
42
|
+
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
43
|
+
<xs:element name="VCENTER_NET_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
44
|
+
<xs:element name="VCENTER_PORTGROUP_TYPE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
45
|
+
</xs:sequence>
|
46
|
+
</xs:complexType>
|
47
|
+
</xs:element>
|
48
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
49
|
+
</xs:sequence>
|
50
|
+
</xs:complexType>
|
51
|
+
</xs:element>
|
52
|
+
<xs:element name="MONITORING" minOccurs="0" maxOccurs="1">
|
53
|
+
<xs:complexType>
|
54
|
+
<xs:sequence>
|
55
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
56
|
+
</xs:sequence>
|
57
|
+
</xs:complexType>
|
58
|
+
</xs:element>
|
59
|
+
<xs:element name="USER_TEMPLATE">
|
60
|
+
<xs:complexType>
|
61
|
+
<xs:sequence>
|
62
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
63
|
+
</xs:sequence>
|
64
|
+
</xs:complexType>
|
65
|
+
</xs:element>
|
66
|
+
<xs:element name="HISTORY_RECORDS">
|
67
|
+
<xs:complexType>
|
68
|
+
<xs:sequence>
|
69
|
+
<xs:element name="HISTORY" maxOccurs="unbounded" minOccurs="0">
|
70
|
+
<xs:complexType>
|
71
|
+
<xs:sequence>
|
72
|
+
<xs:element name="OID" type="xs:integer"/>
|
73
|
+
<xs:element name="SEQ" type="xs:integer"/>
|
74
|
+
<xs:element name="HOSTNAME" type="xs:string"/>
|
75
|
+
<xs:element name="HID" type="xs:integer"/>
|
76
|
+
<xs:element name="CID" type="xs:integer"/>
|
77
|
+
<xs:element name="DS_ID" type="xs:integer"/>
|
78
|
+
<xs:element name="ACTION" type="xs:integer"/>
|
79
|
+
</xs:sequence>
|
80
|
+
</xs:complexType>
|
81
|
+
</xs:element>
|
82
|
+
</xs:sequence>
|
83
|
+
</xs:complexType>
|
84
|
+
</xs:element>
|
85
|
+
<xs:element name="SNAPSHOTS" minOccurs="0" maxOccurs="unbounded">
|
86
|
+
<xs:complexType>
|
87
|
+
<xs:sequence>
|
88
|
+
<xs:element name="ALLOW_ORPHANS" type="xs:string"/>
|
89
|
+
<xs:element name="CURRENT_BASE" type="xs:integer"/>
|
90
|
+
<xs:element name="DISK_ID" type="xs:integer"/>
|
91
|
+
<xs:element name="NEXT_SNAPSHOT" type="xs:integer"/>
|
92
|
+
<xs:element name="SNAPSHOT" minOccurs="0" maxOccurs="unbounded">
|
93
|
+
<xs:complexType>
|
94
|
+
<xs:sequence>
|
95
|
+
<xs:element name="ACTIVE" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
96
|
+
<xs:element name="CHILDREN" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
97
|
+
<xs:element name="DATE" type="xs:integer"/>
|
98
|
+
<xs:element name="ID" type="xs:integer"/>
|
99
|
+
<xs:element name="NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
100
|
+
<xs:element name="PARENT" type="xs:integer"/>
|
101
|
+
<xs:element name="SIZE" type="xs:integer"/>
|
102
|
+
</xs:sequence>
|
103
|
+
</xs:complexType>
|
104
|
+
</xs:element>
|
105
|
+
</xs:sequence>
|
106
|
+
</xs:complexType>
|
107
|
+
</xs:element>
|
108
|
+
</xs:sequence>
|
109
|
+
</xs:complexType>
|
110
|
+
</xs:element>
|
111
|
+
</xs:sequence>
|
112
|
+
</xs:complexType>
|
113
|
+
</xs:element>
|
114
|
+
</xs:schema>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://opennebula.org/XMLSchema" elementFormDefault="qualified" targetNamespace="http://opennebula.org/XMLSchema">
|
3
|
+
<xs:element name="VMTEMPLATE">
|
4
|
+
<xs:complexType>
|
5
|
+
<xs:sequence>
|
6
|
+
<xs:element name="ID" type="xs:integer"/>
|
7
|
+
<xs:element name="UID" type="xs:integer"/>
|
8
|
+
<xs:element name="GID" type="xs:integer"/>
|
9
|
+
<xs:element name="UNAME" type="xs:string"/>
|
10
|
+
<xs:element name="GNAME" type="xs:string"/>
|
11
|
+
<xs:element name="NAME" type="xs:string"/>
|
12
|
+
<xs:element name="LOCK" minOccurs="0" maxOccurs="1">
|
13
|
+
<xs:complexType>
|
14
|
+
<xs:sequence>
|
15
|
+
<xs:element name="LOCKED" type="xs:integer"/>
|
16
|
+
<xs:element name="OWNER" type="xs:integer"/>
|
17
|
+
<xs:element name="TIME" type="xs:integer"/>
|
18
|
+
<xs:element name="REQ_ID" type="xs:integer"/>
|
19
|
+
</xs:sequence>
|
20
|
+
</xs:complexType>
|
21
|
+
</xs:element>
|
22
|
+
<xs:element name="PERMISSIONS" minOccurs="1" maxOccurs="1">
|
23
|
+
<xs:complexType>
|
24
|
+
<xs:sequence>
|
25
|
+
<xs:element name="OWNER_U" type="xs:integer"/>
|
26
|
+
<xs:element name="OWNER_M" type="xs:integer"/>
|
27
|
+
<xs:element name="OWNER_A" type="xs:integer"/>
|
28
|
+
<xs:element name="GROUP_U" type="xs:integer"/>
|
29
|
+
<xs:element name="GROUP_M" type="xs:integer"/>
|
30
|
+
<xs:element name="GROUP_A" type="xs:integer"/>
|
31
|
+
<xs:element name="OTHER_U" type="xs:integer"/>
|
32
|
+
<xs:element name="OTHER_M" type="xs:integer"/>
|
33
|
+
<xs:element name="OTHER_A" type="xs:integer"/>
|
34
|
+
</xs:sequence>
|
35
|
+
</xs:complexType>
|
36
|
+
</xs:element>
|
37
|
+
<xs:element name="REGTIME" type="xs:integer"/>
|
38
|
+
<xs:element name="TEMPLATE">
|
39
|
+
<xs:complexType>
|
40
|
+
<xs:sequence>
|
41
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
42
|
+
<xs:element name="VCENTER_CCR_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
43
|
+
<xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
44
|
+
<xs:element name="VCENTER_TEMPLATE_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
45
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
|
46
|
+
</xs:sequence>
|
47
|
+
</xs:complexType>
|
48
|
+
</xs:element>
|
49
|
+
</xs:sequence>
|
50
|
+
</xs:complexType>
|
51
|
+
</xs:element>
|
52
|
+
</xs:schema>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
|
3
|
+
targetNamespace="http://opennebula.org/XMLSchema" xmlns="http://opennebula.org/XMLSchema">
|
4
|
+
<xs:include schemaLocation="vmtemplate.xsd"/>
|
5
|
+
<xs:element name="VMTEMPLATE_POOL">
|
6
|
+
<xs:complexType>
|
7
|
+
<xs:sequence maxOccurs="1" minOccurs="1">
|
8
|
+
<xs:element ref="VMTEMPLATE" maxOccurs="unbounded" minOccurs="0"/>
|
9
|
+
</xs:sequence>
|
10
|
+
</xs:complexType>
|
11
|
+
</xs:element>
|
12
|
+
</xs:schema>
|