opennebula-cli 5.12.5 → 5.13.85.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 +10 -7
- data/bin/oneimage +100 -9
- data/bin/onemarket +10 -7
- data/bin/onemarketapp +118 -11
- data/bin/onesecgroup +13 -7
- data/bin/oneshowback +23 -10
- data/bin/onetemplate +16 -9
- data/bin/oneuser +30 -7
- data/bin/onevcenter +7 -4
- data/bin/onevdc +10 -7
- data/bin/onevm +147 -12
- 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 +6 -8
- data/lib/command_parser.rb +1 -1
- data/lib/one_helper.rb +414 -46
- 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 +500 -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 +16 -4
- 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 +13 -6
- 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 +79 -18
- data/lib/one_helper/oneprovision_helper.rb +0 -362
@@ -0,0 +1,18 @@
|
|
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="RAFT">
|
5
|
+
<xs:complexType>
|
6
|
+
<xs:sequence>
|
7
|
+
<xs:element name="SERVER_ID" type="xs:integer"/>
|
8
|
+
<xs:element name="STATE" type="xs:integer"/>
|
9
|
+
<xs:element name="TERM" type="xs:integer"/>
|
10
|
+
<xs:element name="VOTEDFOR" type="xs:integer"/>
|
11
|
+
<xs:element name="COMMIT" type="xs:integer"/>
|
12
|
+
<xs:element name="LOG_INDEX" type="xs:integer"/>
|
13
|
+
<xs:element name="LOG_TERM" type="xs:integer"/>
|
14
|
+
<xs:element name="FEDLOG_INDEX" type="xs:integer"/>
|
15
|
+
</xs:sequence>
|
16
|
+
</xs:complexType>
|
17
|
+
</xs:element>
|
18
|
+
</xs:schema>
|
@@ -0,0 +1,74 @@
|
|
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="SECURITY_GROUP">
|
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="PERMISSIONS" minOccurs="0" maxOccurs="1">
|
13
|
+
<xs:complexType>
|
14
|
+
<xs:sequence>
|
15
|
+
<xs:element name="OWNER_U" type="xs:integer"/>
|
16
|
+
<xs:element name="OWNER_M" type="xs:integer"/>
|
17
|
+
<xs:element name="OWNER_A" type="xs:integer"/>
|
18
|
+
<xs:element name="GROUP_U" type="xs:integer"/>
|
19
|
+
<xs:element name="GROUP_M" type="xs:integer"/>
|
20
|
+
<xs:element name="GROUP_A" type="xs:integer"/>
|
21
|
+
<xs:element name="OTHER_U" type="xs:integer"/>
|
22
|
+
<xs:element name="OTHER_M" type="xs:integer"/>
|
23
|
+
<xs:element name="OTHER_A" type="xs:integer"/>
|
24
|
+
</xs:sequence>
|
25
|
+
</xs:complexType>
|
26
|
+
</xs:element>
|
27
|
+
<xs:element name="UPDATED_VMS">
|
28
|
+
<xs:complexType>
|
29
|
+
<xs:sequence>
|
30
|
+
<xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
|
31
|
+
</xs:sequence>
|
32
|
+
</xs:complexType>
|
33
|
+
</xs:element>
|
34
|
+
<xs:element name="OUTDATED_VMS">
|
35
|
+
<xs:complexType>
|
36
|
+
<xs:sequence>
|
37
|
+
<xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
|
38
|
+
</xs:sequence>
|
39
|
+
</xs:complexType>
|
40
|
+
</xs:element>
|
41
|
+
<xs:element name="UPDATING_VMS">
|
42
|
+
<xs:complexType>
|
43
|
+
<xs:sequence>
|
44
|
+
<xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
|
45
|
+
</xs:sequence>
|
46
|
+
</xs:complexType>
|
47
|
+
</xs:element>
|
48
|
+
<xs:element name="ERROR_VMS">
|
49
|
+
<xs:complexType>
|
50
|
+
<xs:sequence>
|
51
|
+
<xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
|
52
|
+
</xs:sequence>
|
53
|
+
</xs:complexType>
|
54
|
+
</xs:element>
|
55
|
+
<xs:element name="TEMPLATE">
|
56
|
+
<xs:complexType>
|
57
|
+
<xs:sequence>
|
58
|
+
<xs:element name="DESCRIPTION" type="xs:string" minOccurs="0" maxOccurs="1"/>
|
59
|
+
<xs:element name="RULE" maxOccurs="unbounded" minOccurs="0">
|
60
|
+
<xs:complexType>
|
61
|
+
<xs:sequence>
|
62
|
+
<xs:element name="PROTOCOL" type="xs:string"/>
|
63
|
+
<xs:element name="RULE_TYPE" type="xs:string"/>
|
64
|
+
</xs:sequence>
|
65
|
+
</xs:complexType>
|
66
|
+
</xs:element>
|
67
|
+
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax"/>
|
68
|
+
</xs:sequence>
|
69
|
+
</xs:complexType>
|
70
|
+
</xs:element>
|
71
|
+
</xs:sequence>
|
72
|
+
</xs:complexType>
|
73
|
+
</xs:element>
|
74
|
+
</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="security_group.xsd"/>
|
5
|
+
<xs:element name="SECURITY_GROUP_POOL">
|
6
|
+
<xs:complexType>
|
7
|
+
<xs:sequence maxOccurs="1" minOccurs="1">
|
8
|
+
<xs:element ref="SECURITY_GROUP" maxOccurs="unbounded" minOccurs="0"/>
|
9
|
+
</xs:sequence>
|
10
|
+
</xs:complexType>
|
11
|
+
</xs:element>
|
12
|
+
</xs:schema>
|
@@ -0,0 +1,29 @@
|
|
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="SHOWBACK_RECORDS">
|
5
|
+
<xs:complexType>
|
6
|
+
<xs:sequence maxOccurs="1" minOccurs="1">
|
7
|
+
<xs:element name="SHOWBACK" maxOccurs="unbounded" minOccurs="0">
|
8
|
+
<xs:complexType>
|
9
|
+
<xs:sequence>
|
10
|
+
<xs:element name="VMID" type="xs:integer"/>
|
11
|
+
<xs:element name="VMNAME" type="xs:string"/>
|
12
|
+
<xs:element name="UID" type="xs:integer"/>
|
13
|
+
<xs:element name="GID" type="xs:integer"/>
|
14
|
+
<xs:element name="UNAME" type="xs:string"/>
|
15
|
+
<xs:element name="GNAME" type="xs:string"/>
|
16
|
+
<xs:element name="YEAR" type="xs:integer"/>
|
17
|
+
<xs:element name="MONTH" type="xs:integer"/>
|
18
|
+
<xs:element name="CPU_COST" type="xs:float"/>
|
19
|
+
<xs:element name="MEMORY_COST" type="xs:float"/>
|
20
|
+
<xs:element name="DISK_COST" type="xs:float"/>
|
21
|
+
<xs:element name="TOTAL_COST" type="xs:float"/>
|
22
|
+
<xs:element name="HOURS" type="xs:float"/>
|
23
|
+
</xs:sequence>
|
24
|
+
</xs:complexType>
|
25
|
+
</xs:element>
|
26
|
+
</xs:sequence>
|
27
|
+
</xs:complexType>
|
28
|
+
</xs:element>
|
29
|
+
</xs:schema>
|
@@ -0,0 +1,186 @@
|
|
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="USER">
|
5
|
+
<xs:complexType>
|
6
|
+
<xs:sequence>
|
7
|
+
<xs:element name="ID" type="xs:integer"/>
|
8
|
+
<xs:element name="GID" type="xs:integer"/>
|
9
|
+
<xs:element name="GROUPS">
|
10
|
+
<xs:complexType>
|
11
|
+
<xs:sequence>
|
12
|
+
<xs:element name="ID" type="xs:integer" minOccurs="1" maxOccurs="unbounded"/>
|
13
|
+
</xs:sequence>
|
14
|
+
</xs:complexType>
|
15
|
+
</xs:element>
|
16
|
+
<xs:element name="GNAME" type="xs:string"/>
|
17
|
+
<xs:element name="NAME" type="xs:string"/>
|
18
|
+
<xs:element name="PASSWORD" type="xs:string"/>
|
19
|
+
<xs:element name="AUTH_DRIVER" type="xs:string"/>
|
20
|
+
<xs:element name="ENABLED" type="xs:integer"/>
|
21
|
+
<xs:element name="LOGIN_TOKEN" minOccurs="0" maxOccurs="unbounded">
|
22
|
+
<xs:complexType>
|
23
|
+
<xs:sequence>
|
24
|
+
<xs:element name="TOKEN" type="xs:string"/>
|
25
|
+
<xs:element name="EXPIRATION_TIME" type="xs:integer"/>
|
26
|
+
<xs:element name="EGID" type="xs:integer"/>
|
27
|
+
</xs:sequence>
|
28
|
+
</xs:complexType>
|
29
|
+
</xs:element>
|
30
|
+
<xs:element name="TEMPLATE" type="xs:anyType"/>
|
31
|
+
<xs:element name="DATASTORE_QUOTA" minOccurs="0" maxOccurs="1">
|
32
|
+
<xs:complexType>
|
33
|
+
<xs:sequence>
|
34
|
+
<xs:element name="DATASTORE" minOccurs="0" maxOccurs="unbounded">
|
35
|
+
<xs:complexType>
|
36
|
+
<xs:sequence>
|
37
|
+
<xs:element name="ID" type="xs:string"/>
|
38
|
+
<xs:element name="IMAGES" type="xs:string"/>
|
39
|
+
<xs:element name="IMAGES_USED" type="xs:string"/>
|
40
|
+
<xs:element name="SIZE" type="xs:string"/>
|
41
|
+
<xs:element name="SIZE_USED" type="xs:string"/>
|
42
|
+
</xs:sequence>
|
43
|
+
</xs:complexType>
|
44
|
+
</xs:element>
|
45
|
+
</xs:sequence>
|
46
|
+
</xs:complexType>
|
47
|
+
</xs:element>
|
48
|
+
<xs:element name="NETWORK_QUOTA" minOccurs="0" maxOccurs="1">
|
49
|
+
<xs:complexType>
|
50
|
+
<xs:sequence>
|
51
|
+
<xs:element name="NETWORK" minOccurs="0" maxOccurs="unbounded">
|
52
|
+
<xs:complexType>
|
53
|
+
<xs:sequence>
|
54
|
+
<xs:element name="ID" type="xs:string"/>
|
55
|
+
<xs:element name="LEASES" type="xs:string"/>
|
56
|
+
<xs:element name="LEASES_USED" type="xs:string"/>
|
57
|
+
</xs:sequence>
|
58
|
+
</xs:complexType>
|
59
|
+
</xs:element>
|
60
|
+
</xs:sequence>
|
61
|
+
</xs:complexType>
|
62
|
+
</xs:element>
|
63
|
+
<xs:element name="VM_QUOTA" minOccurs="0" maxOccurs="1">
|
64
|
+
<xs:complexType>
|
65
|
+
<xs:sequence>
|
66
|
+
<xs:element name="VM" minOccurs="0" maxOccurs="1">
|
67
|
+
<xs:complexType>
|
68
|
+
<xs:sequence>
|
69
|
+
<xs:element name="CPU" type="xs:string"/>
|
70
|
+
<xs:element name="CPU_USED" type="xs:string"/>
|
71
|
+
<xs:element name="MEMORY" type="xs:string"/>
|
72
|
+
<xs:element name="MEMORY_USED" type="xs:string"/>
|
73
|
+
<xs:element name="RUNNING_CPU" type="xs:string"/>
|
74
|
+
<xs:element name="RUNNING_CPU_USED" type="xs:string"/>
|
75
|
+
<xs:element name="RUNNING_MEMORY" type="xs:string"/>
|
76
|
+
<xs:element name="RUNNING_MEMORY_USED" type="xs:string"/>
|
77
|
+
<xs:element name="RUNNING_VMS" type="xs:string"/>
|
78
|
+
<xs:element name="RUNNING_VMS_USED" type="xs:string"/>
|
79
|
+
<xs:element name="SYSTEM_DISK_SIZE" type="xs:string"/>
|
80
|
+
<xs:element name="SYSTEM_DISK_SIZE_USED" type="xs:string"/>
|
81
|
+
<xs:element name="VMS" type="xs:string"/>
|
82
|
+
<xs:element name="VMS_USED" type="xs:string"/>
|
83
|
+
</xs:sequence>
|
84
|
+
</xs:complexType>
|
85
|
+
</xs:element>
|
86
|
+
</xs:sequence>
|
87
|
+
</xs:complexType>
|
88
|
+
</xs:element>
|
89
|
+
<xs:element name="IMAGE_QUOTA" minOccurs="0" maxOccurs="1">
|
90
|
+
<xs:complexType>
|
91
|
+
<xs:sequence>
|
92
|
+
<xs:element name="IMAGE" minOccurs="0" maxOccurs="unbounded">
|
93
|
+
<xs:complexType>
|
94
|
+
<xs:sequence>
|
95
|
+
<xs:element name="ID" type="xs:string"/>
|
96
|
+
<xs:element name="RVMS" type="xs:string"/>
|
97
|
+
<xs:element name="RVMS_USED" type="xs:string"/>
|
98
|
+
</xs:sequence>
|
99
|
+
</xs:complexType>
|
100
|
+
</xs:element>
|
101
|
+
</xs:sequence>
|
102
|
+
</xs:complexType>
|
103
|
+
</xs:element>
|
104
|
+
<xs:element name="DEFAULT_USER_QUOTAS">
|
105
|
+
<xs:complexType>
|
106
|
+
<xs:sequence>
|
107
|
+
<xs:element name="DATASTORE_QUOTA" minOccurs="0" maxOccurs="1">
|
108
|
+
<xs:complexType>
|
109
|
+
<xs:sequence>
|
110
|
+
<xs:element name="DATASTORE" minOccurs="0" maxOccurs="unbounded">
|
111
|
+
<xs:complexType>
|
112
|
+
<xs:sequence>
|
113
|
+
<xs:element name="ID" type="xs:string"/>
|
114
|
+
<xs:element name="IMAGES" type="xs:string"/>
|
115
|
+
<xs:element name="IMAGES_USED" type="xs:string"/>
|
116
|
+
<xs:element name="SIZE" type="xs:string"/>
|
117
|
+
<xs:element name="SIZE_USED" type="xs:string"/>
|
118
|
+
</xs:sequence>
|
119
|
+
</xs:complexType>
|
120
|
+
</xs:element>
|
121
|
+
</xs:sequence>
|
122
|
+
</xs:complexType>
|
123
|
+
</xs:element>
|
124
|
+
<xs:element name="NETWORK_QUOTA" minOccurs="0" maxOccurs="1">
|
125
|
+
<xs:complexType>
|
126
|
+
<xs:sequence>
|
127
|
+
<xs:element name="NETWORK" minOccurs="0" maxOccurs="unbounded">
|
128
|
+
<xs:complexType>
|
129
|
+
<xs:sequence>
|
130
|
+
<xs:element name="ID" type="xs:string"/>
|
131
|
+
<xs:element name="LEASES" type="xs:string"/>
|
132
|
+
<xs:element name="LEASES_USED" type="xs:string"/>
|
133
|
+
</xs:sequence>
|
134
|
+
</xs:complexType>
|
135
|
+
</xs:element>
|
136
|
+
</xs:sequence>
|
137
|
+
</xs:complexType>
|
138
|
+
</xs:element>
|
139
|
+
<xs:element name="VM_QUOTA" minOccurs="0" maxOccurs="1">
|
140
|
+
<xs:complexType>
|
141
|
+
<xs:sequence>
|
142
|
+
<xs:element name="VM" minOccurs="0" maxOccurs="1">
|
143
|
+
<xs:complexType>
|
144
|
+
<xs:sequence>
|
145
|
+
<xs:element name="CPU" type="xs:string"/>
|
146
|
+
<xs:element name="CPU_USED" type="xs:string"/>
|
147
|
+
<xs:element name="MEMORY" type="xs:string"/>
|
148
|
+
<xs:element name="MEMORY_USED" type="xs:string"/>
|
149
|
+
<xs:element name="RUNNING_CPU" type="xs:string"/>
|
150
|
+
<xs:element name="RUNNING_CPU_USED" type="xs:string"/>
|
151
|
+
<xs:element name="RUNNING_MEMORY" type="xs:string"/>
|
152
|
+
<xs:element name="RUNNING_MEMORY_USED" type="xs:string"/>
|
153
|
+
<xs:element name="RUNNING_VMS" type="xs:string"/>
|
154
|
+
<xs:element name="RUNNING_VMS_USED" type="xs:string"/>
|
155
|
+
<xs:element name="SYSTEM_DISK_SIZE" type="xs:string"/>
|
156
|
+
<xs:element name="SYSTEM_DISK_SIZE_USED" type="xs:string"/>
|
157
|
+
<xs:element name="VMS" type="xs:string"/>
|
158
|
+
<xs:element name="VMS_USED" type="xs:string"/>
|
159
|
+
</xs:sequence>
|
160
|
+
</xs:complexType>
|
161
|
+
</xs:element>
|
162
|
+
</xs:sequence>
|
163
|
+
</xs:complexType>
|
164
|
+
</xs:element>
|
165
|
+
<xs:element name="IMAGE_QUOTA" minOccurs="0" maxOccurs="1">
|
166
|
+
<xs:complexType>
|
167
|
+
<xs:sequence>
|
168
|
+
<xs:element name="IMAGE" minOccurs="0" maxOccurs="unbounded">
|
169
|
+
<xs:complexType>
|
170
|
+
<xs:sequence>
|
171
|
+
<xs:element name="ID" type="xs:string"/>
|
172
|
+
<xs:element name="RVMS" type="xs:string"/>
|
173
|
+
<xs:element name="RVMS_USED" type="xs:string"/>
|
174
|
+
</xs:sequence>
|
175
|
+
</xs:complexType>
|
176
|
+
</xs:element>
|
177
|
+
</xs:sequence>
|
178
|
+
</xs:complexType>
|
179
|
+
</xs:element>
|
180
|
+
</xs:sequence>
|
181
|
+
</xs:complexType>
|
182
|
+
</xs:element>
|
183
|
+
</xs:sequence>
|
184
|
+
</xs:complexType>
|
185
|
+
</xs:element>
|
186
|
+
</xs:schema>
|
@@ -0,0 +1,201 @@
|
|
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="USER_POOL">
|
5
|
+
<xs:complexType>
|
6
|
+
<xs:sequence maxOccurs="1" minOccurs="1">
|
7
|
+
<xs:choice maxOccurs="unbounded" minOccurs="0">
|
8
|
+
<xs:element name="USER" maxOccurs="unbounded" minOccurs="0">
|
9
|
+
<xs:complexType>
|
10
|
+
<xs:sequence>
|
11
|
+
<xs:element name="ID" type="xs:integer"/>
|
12
|
+
<xs:element name="GID" type="xs:integer"/>
|
13
|
+
<xs:element name="GROUPS">
|
14
|
+
<xs:complexType>
|
15
|
+
<xs:sequence>
|
16
|
+
<xs:element name="ID" type="xs:integer" minOccurs="1" maxOccurs="unbounded"/>
|
17
|
+
</xs:sequence>
|
18
|
+
</xs:complexType>
|
19
|
+
</xs:element>
|
20
|
+
<xs:element name="GNAME" type="xs:string"/>
|
21
|
+
<xs:element name="NAME" type="xs:string"/>
|
22
|
+
<xs:element name="PASSWORD" type="xs:string"/>
|
23
|
+
<xs:element name="AUTH_DRIVER" type="xs:string"/>
|
24
|
+
<xs:element name="ENABLED" type="xs:integer"/>
|
25
|
+
<xs:element name="LOGIN_TOKEN" minOccurs="0" maxOccurs="unbounded">
|
26
|
+
<xs:complexType>
|
27
|
+
<xs:sequence>
|
28
|
+
<xs:element name="TOKEN" type="xs:string"/>
|
29
|
+
<xs:element name="EXPIRATION_TIME" type="xs:integer"/>
|
30
|
+
<xs:element name="EGID" type="xs:integer"/>
|
31
|
+
</xs:sequence>
|
32
|
+
</xs:complexType>
|
33
|
+
</xs:element>
|
34
|
+
<xs:element name="TEMPLATE" type="xs:anyType"/>
|
35
|
+
</xs:sequence>
|
36
|
+
</xs:complexType>
|
37
|
+
</xs:element>
|
38
|
+
<xs:element name="QUOTAS" maxOccurs="unbounded" minOccurs="0">
|
39
|
+
<xs:complexType>
|
40
|
+
<xs:sequence>
|
41
|
+
<xs:element name="ID" type="xs:integer"/>
|
42
|
+
<xs:element name="DATASTORE_QUOTA" minOccurs="0" maxOccurs="1">
|
43
|
+
<xs:complexType>
|
44
|
+
<xs:sequence>
|
45
|
+
<xs:element name="DATASTORE" minOccurs="0" maxOccurs="unbounded">
|
46
|
+
<xs:complexType>
|
47
|
+
<xs:sequence>
|
48
|
+
<xs:element name="ID" type="xs:string"/>
|
49
|
+
<xs:element name="IMAGES" type="xs:string"/>
|
50
|
+
<xs:element name="IMAGES_USED" type="xs:string"/>
|
51
|
+
<xs:element name="SIZE" type="xs:string"/>
|
52
|
+
<xs:element name="SIZE_USED" type="xs:string"/>
|
53
|
+
</xs:sequence>
|
54
|
+
</xs:complexType>
|
55
|
+
</xs:element>
|
56
|
+
</xs:sequence>
|
57
|
+
</xs:complexType>
|
58
|
+
</xs:element>
|
59
|
+
<xs:element name="NETWORK_QUOTA" minOccurs="0" maxOccurs="1">
|
60
|
+
<xs:complexType>
|
61
|
+
<xs:sequence>
|
62
|
+
<xs:element name="NETWORK" minOccurs="0" maxOccurs="unbounded">
|
63
|
+
<xs:complexType>
|
64
|
+
<xs:sequence>
|
65
|
+
<xs:element name="ID" type="xs:string"/>
|
66
|
+
<xs:element name="LEASES" type="xs:string"/>
|
67
|
+
<xs:element name="LEASES_USED" type="xs:string"/>
|
68
|
+
</xs:sequence>
|
69
|
+
</xs:complexType>
|
70
|
+
</xs:element>
|
71
|
+
</xs:sequence>
|
72
|
+
</xs:complexType>
|
73
|
+
</xs:element>
|
74
|
+
<xs:element name="VM_QUOTA" minOccurs="0" maxOccurs="1">
|
75
|
+
<xs:complexType>
|
76
|
+
<xs:sequence>
|
77
|
+
<xs:element name="VM" minOccurs="0" maxOccurs="1">
|
78
|
+
<xs:complexType>
|
79
|
+
<xs:sequence>
|
80
|
+
<xs:element name="CPU" type="xs:string"/>
|
81
|
+
<xs:element name="CPU_USED" type="xs:string"/>
|
82
|
+
<xs:element name="MEMORY" type="xs:string"/>
|
83
|
+
<xs:element name="MEMORY_USED" type="xs:string"/>
|
84
|
+
<xs:element name="RUNNING_CPU" type="xs:string"/>
|
85
|
+
<xs:element name="RUNNING_CPU_USED" type="xs:string"/>
|
86
|
+
<xs:element name="RUNNING_MEMORY" type="xs:string"/>
|
87
|
+
<xs:element name="RUNNING_MEMORY_USED" type="xs:string"/>
|
88
|
+
<xs:element name="RUNNING_VMS" type="xs:string"/>
|
89
|
+
<xs:element name="RUNNING_VMS_USED" type="xs:string"/>
|
90
|
+
<xs:element name="SYSTEM_DISK_SIZE" type="xs:string"/>
|
91
|
+
<xs:element name="SYSTEM_DISK_SIZE_USED" type="xs:string"/>
|
92
|
+
<xs:element name="VMS" type="xs:string"/>
|
93
|
+
<xs:element name="VMS_USED" type="xs:string"/>
|
94
|
+
</xs:sequence>
|
95
|
+
</xs:complexType>
|
96
|
+
</xs:element>
|
97
|
+
</xs:sequence>
|
98
|
+
</xs:complexType>
|
99
|
+
</xs:element>
|
100
|
+
<xs:element name="IMAGE_QUOTA" minOccurs="0" maxOccurs="1">
|
101
|
+
<xs:complexType>
|
102
|
+
<xs:sequence>
|
103
|
+
<xs:element name="IMAGE" minOccurs="0" maxOccurs="unbounded">
|
104
|
+
<xs:complexType>
|
105
|
+
<xs:sequence>
|
106
|
+
<xs:element name="ID" type="xs:string"/>
|
107
|
+
<xs:element name="RVMS" type="xs:string"/>
|
108
|
+
<xs:element name="RVMS_USED" type="xs:string"/>
|
109
|
+
</xs:sequence>
|
110
|
+
</xs:complexType>
|
111
|
+
</xs:element>
|
112
|
+
</xs:sequence>
|
113
|
+
</xs:complexType>
|
114
|
+
</xs:element>
|
115
|
+
</xs:sequence>
|
116
|
+
</xs:complexType>
|
117
|
+
</xs:element>
|
118
|
+
</xs:choice>
|
119
|
+
<xs:element name="DEFAULT_USER_QUOTAS">
|
120
|
+
<xs:complexType>
|
121
|
+
<xs:sequence>
|
122
|
+
<xs:element name="DATASTORE_QUOTA" minOccurs="0" maxOccurs="1">
|
123
|
+
<xs:complexType>
|
124
|
+
<xs:sequence>
|
125
|
+
<xs:element name="DATASTORE" minOccurs="0" maxOccurs="unbounded">
|
126
|
+
<xs:complexType>
|
127
|
+
<xs:sequence>
|
128
|
+
<xs:element name="ID" type="xs:string"/>
|
129
|
+
<xs:element name="IMAGES" type="xs:string"/>
|
130
|
+
<xs:element name="IMAGES_USED" type="xs:string"/>
|
131
|
+
<xs:element name="SIZE" type="xs:string"/>
|
132
|
+
<xs:element name="SIZE_USED" type="xs:string"/>
|
133
|
+
</xs:sequence>
|
134
|
+
</xs:complexType>
|
135
|
+
</xs:element>
|
136
|
+
</xs:sequence>
|
137
|
+
</xs:complexType>
|
138
|
+
</xs:element>
|
139
|
+
<xs:element name="NETWORK_QUOTA" minOccurs="0" maxOccurs="1">
|
140
|
+
<xs:complexType>
|
141
|
+
<xs:sequence>
|
142
|
+
<xs:element name="NETWORK" minOccurs="0" maxOccurs="unbounded">
|
143
|
+
<xs:complexType>
|
144
|
+
<xs:sequence>
|
145
|
+
<xs:element name="ID" type="xs:string"/>
|
146
|
+
<xs:element name="LEASES" type="xs:string"/>
|
147
|
+
<xs:element name="LEASES_USED" type="xs:string"/>
|
148
|
+
</xs:sequence>
|
149
|
+
</xs:complexType>
|
150
|
+
</xs:element>
|
151
|
+
</xs:sequence>
|
152
|
+
</xs:complexType>
|
153
|
+
</xs:element>
|
154
|
+
<xs:element name="VM_QUOTA" minOccurs="0" maxOccurs="1">
|
155
|
+
<xs:complexType>
|
156
|
+
<xs:sequence>
|
157
|
+
<xs:element name="VM" minOccurs="0" maxOccurs="1">
|
158
|
+
<xs:complexType>
|
159
|
+
<xs:sequence>
|
160
|
+
<xs:element name="CPU" type="xs:string"/>
|
161
|
+
<xs:element name="CPU_USED" type="xs:string"/>
|
162
|
+
<xs:element name="MEMORY" type="xs:string"/>
|
163
|
+
<xs:element name="MEMORY_USED" type="xs:string"/>
|
164
|
+
<xs:element name="RUNNING_CPU" type="xs:string"/>
|
165
|
+
<xs:element name="RUNNING_CPU_USED" type="xs:string"/>
|
166
|
+
<xs:element name="RUNNING_MEMORY" type="xs:string"/>
|
167
|
+
<xs:element name="RUNNING_MEMORY_USED" type="xs:string"/>
|
168
|
+
<xs:element name="RUNNING_VMS" type="xs:string"/>
|
169
|
+
<xs:element name="RUNNING_VMS_USED" type="xs:string"/>
|
170
|
+
<xs:element name="SYSTEM_DISK_SIZE" type="xs:string"/>
|
171
|
+
<xs:element name="SYSTEM_DISK_SIZE_USED" type="xs:string"/>
|
172
|
+
<xs:element name="VMS" type="xs:string"/>
|
173
|
+
<xs:element name="VMS_USED" type="xs:string"/>
|
174
|
+
</xs:sequence>
|
175
|
+
</xs:complexType>
|
176
|
+
</xs:element>
|
177
|
+
</xs:sequence>
|
178
|
+
</xs:complexType>
|
179
|
+
</xs:element>
|
180
|
+
<xs:element name="IMAGE_QUOTA" minOccurs="0" maxOccurs="1">
|
181
|
+
<xs:complexType>
|
182
|
+
<xs:sequence>
|
183
|
+
<xs:element name="IMAGE" minOccurs="0" maxOccurs="unbounded">
|
184
|
+
<xs:complexType>
|
185
|
+
<xs:sequence>
|
186
|
+
<xs:element name="ID" type="xs:string"/>
|
187
|
+
<xs:element name="RVMS" type="xs:string"/>
|
188
|
+
<xs:element name="RVMS_USED" type="xs:string"/>
|
189
|
+
</xs:sequence>
|
190
|
+
</xs:complexType>
|
191
|
+
</xs:element>
|
192
|
+
</xs:sequence>
|
193
|
+
</xs:complexType>
|
194
|
+
</xs:element>
|
195
|
+
</xs:sequence>
|
196
|
+
</xs:complexType>
|
197
|
+
</xs:element>
|
198
|
+
</xs:sequence>
|
199
|
+
</xs:complexType>
|
200
|
+
</xs:element>
|
201
|
+
</xs:schema>
|