opennebula-cli 5.12.13 → 5.13.80.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +5 -5
  2. data/bin/oneacct +5 -14
  3. data/bin/oneacl +4 -15
  4. data/bin/onecluster +6 -17
  5. data/bin/onedatastore +6 -17
  6. data/bin/oneflow +81 -23
  7. data/bin/oneflow-template +51 -27
  8. data/bin/onegroup +6 -17
  9. data/bin/onehook +6 -17
  10. data/bin/onehost +4 -15
  11. data/bin/oneimage +95 -18
  12. data/bin/onemarket +6 -17
  13. data/bin/onemarketapp +113 -20
  14. data/bin/onesecgroup +9 -17
  15. data/bin/oneshowback +14 -20
  16. data/bin/onetemplate +8 -18
  17. data/bin/oneuser +26 -17
  18. data/bin/onevcenter +6 -28
  19. data/bin/onevdc +6 -17
  20. data/bin/onevm +142 -21
  21. data/bin/onevmgroup +9 -17
  22. data/bin/onevnet +4 -15
  23. data/bin/onevntemplate +7 -17
  24. data/bin/onevrouter +6 -17
  25. data/bin/onezone +6 -17
  26. data/lib/cli_helper.rb +7 -10
  27. data/lib/command_parser.rb +1 -1
  28. data/lib/one_helper/oneacct_helper.rb +9 -22
  29. data/lib/one_helper/oneacl_helper.rb +1 -1
  30. data/lib/one_helper/onecluster_helper.rb +1 -1
  31. data/lib/one_helper/onedatastore_helper.rb +11 -1
  32. data/lib/one_helper/oneflow_helper.rb +20 -5
  33. data/lib/one_helper/oneflowtemplate_helper.rb +28 -2
  34. data/lib/one_helper/onegroup_helper.rb +1 -1
  35. data/lib/one_helper/onehook_helper.rb +1 -1
  36. data/lib/one_helper/onehost_helper.rb +1 -5
  37. data/lib/one_helper/oneimage_helper.rb +7 -7
  38. data/lib/one_helper/onemarket_helper.rb +1 -1
  39. data/lib/one_helper/onemarketapp_helper.rb +494 -96
  40. data/lib/one_helper/onequota_helper.rb +1 -1
  41. data/lib/one_helper/onesecgroup_helper.rb +1 -1
  42. data/lib/one_helper/onetemplate_helper.rb +12 -1
  43. data/lib/one_helper/oneuser_helper.rb +11 -3
  44. data/lib/one_helper/onevcenter_helper.rb +176 -146
  45. data/lib/one_helper/onevdc_helper.rb +1 -1
  46. data/lib/one_helper/onevm_helper.rb +9 -9
  47. data/lib/one_helper/onevmgroup_helper.rb +1 -1
  48. data/lib/one_helper/onevnet_helper.rb +1 -1
  49. data/lib/one_helper/onevntemplate_helper.rb +1 -1
  50. data/lib/one_helper/onevrouter_helper.rb +1 -20
  51. data/lib/one_helper/onezone_helper.rb +12 -1
  52. data/lib/one_helper.rb +398 -37
  53. data/share/schemas/xsd/acct.xsd +179 -0
  54. data/share/schemas/xsd/acl_pool.xsd +22 -0
  55. data/share/schemas/xsd/api_info.xsd +43 -0
  56. data/share/schemas/xsd/cluster.xsd +34 -0
  57. data/share/schemas/xsd/cluster_pool.xsd +12 -0
  58. data/share/schemas/xsd/datastore.xsd +67 -0
  59. data/share/schemas/xsd/datastore_pool.xsd +12 -0
  60. data/share/schemas/xsd/document.xsd +42 -0
  61. data/share/schemas/xsd/document_pool.xsd +12 -0
  62. data/share/schemas/xsd/group.xsd +179 -0
  63. data/share/schemas/xsd/group_pool.xsd +194 -0
  64. data/share/schemas/xsd/hook.xsd +59 -0
  65. data/share/schemas/xsd/hook_message_api.xsd +14 -0
  66. data/share/schemas/xsd/hook_message_retry.xsd +12 -0
  67. data/share/schemas/xsd/hook_message_state.xsd +25 -0
  68. data/share/schemas/xsd/hook_pool.xsd +12 -0
  69. data/share/schemas/xsd/host.xsd +164 -0
  70. data/share/schemas/xsd/host_pool.xsd +12 -0
  71. data/share/schemas/xsd/image.xsd +123 -0
  72. data/share/schemas/xsd/image_pool.xsd +12 -0
  73. data/share/schemas/xsd/index.xsd +49 -0
  74. data/share/schemas/xsd/marketplace.xsd +44 -0
  75. data/share/schemas/xsd/marketplace_pool.xsd +12 -0
  76. data/share/schemas/xsd/marketplaceapp.xsd +56 -0
  77. data/share/schemas/xsd/marketplaceapp_pool.xsd +12 -0
  78. data/share/schemas/xsd/opennebula_configuration.xsd +412 -0
  79. data/share/schemas/xsd/raftstatus.xsd +18 -0
  80. data/share/schemas/xsd/security_group.xsd +74 -0
  81. data/share/schemas/xsd/security_group_pool.xsd +12 -0
  82. data/share/schemas/xsd/showback.xsd +29 -0
  83. data/share/schemas/xsd/user.xsd +186 -0
  84. data/share/schemas/xsd/user_pool.xsd +201 -0
  85. data/share/schemas/xsd/vdc.xsd +76 -0
  86. data/share/schemas/xsd/vdc_pool.xsd +12 -0
  87. data/share/schemas/xsd/vm.xsd +251 -0
  88. data/share/schemas/xsd/vm_group.xsd +59 -0
  89. data/share/schemas/xsd/vm_group_pool.xsd +12 -0
  90. data/share/schemas/xsd/vm_pool.xsd +114 -0
  91. data/share/schemas/xsd/vmtemplate.xsd +52 -0
  92. data/share/schemas/xsd/vmtemplate_pool.xsd +12 -0
  93. data/share/schemas/xsd/vnet.xsd +137 -0
  94. data/share/schemas/xsd/vnet_pool.xsd +85 -0
  95. data/share/schemas/xsd/vntemplate.xsd +50 -0
  96. data/share/schemas/xsd/vntemplate_pool.xsd +12 -0
  97. data/share/schemas/xsd/vrouter.xsd +49 -0
  98. data/share/schemas/xsd/vrouter_pool.xsd +12 -0
  99. data/share/schemas/xsd/zone.xsd +40 -0
  100. data/share/schemas/xsd/zone_pool.xsd +36 -0
  101. metadata +92 -30
  102. data/lib/one_helper/oneprovision_helper.rb +0 -362
@@ -0,0 +1,49 @@
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="acct.xsd"/>
5
+ <xs:include schemaLocation="acl_pool.xsd"/>
6
+ <xs:include schemaLocation="api_info.xsd"/>
7
+ <xs:include schemaLocation="cluster_pool.xsd"/>
8
+ <xs:include schemaLocation="cluster.xsd"/>
9
+ <xs:include schemaLocation="datastore_pool.xsd"/>
10
+ <xs:include schemaLocation="datastore.xsd"/>
11
+ <xs:include schemaLocation="document_pool.xsd"/>
12
+ <xs:include schemaLocation="document.xsd"/>
13
+ <xs:include schemaLocation="group_pool.xsd"/>
14
+ <xs:include schemaLocation="group.xsd"/>
15
+ <xs:include schemaLocation="hook_message_api.xsd"/>
16
+ <xs:include schemaLocation="hook_pool.xsd"/>
17
+ <xs:include schemaLocation="hook.xsd"/>
18
+ <xs:include schemaLocation="host_pool.xsd"/>
19
+ <xs:include schemaLocation="host.xsd"/>
20
+ <xs:include schemaLocation="image_pool.xsd"/>
21
+ <xs:include schemaLocation="image.xsd"/>
22
+ <xs:include schemaLocation="marketplaceapp_pool.xsd"/>
23
+ <xs:include schemaLocation="marketplaceapp.xsd"/>
24
+ <xs:include schemaLocation="marketplace_pool.xsd"/>
25
+ <xs:include schemaLocation="marketplace.xsd"/>
26
+ <xs:include schemaLocation="opennebula_configuration.xsd"/>
27
+ <xs:include schemaLocation="raftstatus.xsd"/>
28
+ <xs:include schemaLocation="security_group_pool.xsd"/>
29
+ <xs:include schemaLocation="security_group.xsd"/>
30
+ <xs:include schemaLocation="showback.xsd"/>
31
+ <xs:include schemaLocation="user_pool.xsd"/>
32
+ <xs:include schemaLocation="user.xsd"/>
33
+ <xs:include schemaLocation="vdc_pool.xsd"/>
34
+ <xs:include schemaLocation="vdc.xsd"/>
35
+ <xs:include schemaLocation="vm_group_pool.xsd"/>
36
+ <xs:include schemaLocation="vm_group.xsd"/>
37
+ <xs:include schemaLocation="vm_pool.xsd"/>
38
+ <xs:include schemaLocation="vmtemplate_pool.xsd"/>
39
+ <xs:include schemaLocation="vmtemplate.xsd"/>
40
+ <xs:include schemaLocation="vm.xsd"/>
41
+ <xs:include schemaLocation="vnet_pool.xsd"/>
42
+ <xs:include schemaLocation="vnet.xsd"/>
43
+ <xs:include schemaLocation="vntemplate_pool.xsd"/>
44
+ <xs:include schemaLocation="vntemplate.xsd"/>
45
+ <xs:include schemaLocation="vrouter_pool.xsd"/>
46
+ <xs:include schemaLocation="vrouter.xsd"/>
47
+ <xs:include schemaLocation="zone_pool.xsd"/>
48
+ <xs:include schemaLocation="zone.xsd"/>
49
+ </xs:schema>
@@ -0,0 +1,44 @@
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="MARKETPLACE">
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="MARKET_MAD" type="xs:string"/>
14
+ <xs:element name="ZONE_ID" type="xs:string"/>
15
+ <xs:element name="TOTAL_MB" type="xs:integer"/>
16
+ <xs:element name="FREE_MB" type="xs:integer"/>
17
+ <xs:element name="USED_MB" type="xs:integer"/>
18
+ <xs:element name="MARKETPLACEAPPS">
19
+ <xs:complexType>
20
+ <xs:sequence>
21
+ <xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
22
+ </xs:sequence>
23
+ </xs:complexType>
24
+ </xs:element>
25
+ <xs:element name="PERMISSIONS" minOccurs="0" maxOccurs="1">
26
+ <xs:complexType>
27
+ <xs:sequence>
28
+ <xs:element name="OWNER_U" type="xs:integer"/>
29
+ <xs:element name="OWNER_M" type="xs:integer"/>
30
+ <xs:element name="OWNER_A" type="xs:integer"/>
31
+ <xs:element name="GROUP_U" type="xs:integer"/>
32
+ <xs:element name="GROUP_M" type="xs:integer"/>
33
+ <xs:element name="GROUP_A" type="xs:integer"/>
34
+ <xs:element name="OTHER_U" type="xs:integer"/>
35
+ <xs:element name="OTHER_M" type="xs:integer"/>
36
+ <xs:element name="OTHER_A" type="xs:integer"/>
37
+ </xs:sequence>
38
+ </xs:complexType>
39
+ </xs:element>
40
+ <xs:element name="TEMPLATE" type="xs:anyType"/>
41
+ </xs:sequence>
42
+ </xs:complexType>
43
+ </xs:element>
44
+ </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="marketplace.xsd"/>
5
+ <xs:element name="MARKETPLACE_POOL">
6
+ <xs:complexType>
7
+ <xs:sequence maxOccurs="1" minOccurs="1">
8
+ <xs:element ref="MARKETPLACE" maxOccurs="unbounded" minOccurs="0"/>
9
+ </xs:sequence>
10
+ </xs:complexType>
11
+ </xs:element>
12
+ </xs:schema>
@@ -0,0 +1,56 @@
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="MARKETPLACEAPP">
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="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="REGTIME" type="xs:integer"/>
23
+ <xs:element name="NAME" type="xs:string"/>
24
+ <xs:element name="ZONE_ID" type="xs:string"/>
25
+ <xs:element name="ORIGIN_ID" type="xs:string"/>
26
+ <xs:element name="SOURCE" type="xs:string"/>
27
+ <xs:element name="MD5" type="xs:string"/>
28
+ <xs:element name="SIZE" type="xs:integer"/>
29
+ <xs:element name="DESCRIPTION" type="xs:string"/>
30
+ <xs:element name="VERSION" type="xs:string"/>
31
+ <xs:element name="FORMAT" type="xs:string"/>
32
+ <xs:element name="APPTEMPLATE64" type="xs:string"/>
33
+ <xs:element name="MARKETPLACE_ID" type="xs:integer"/>
34
+ <xs:element name="MARKETPLACE" type="xs:string"/>
35
+ <xs:element name="STATE" type="xs:integer"/>
36
+ <xs:element name="TYPE" type="xs:integer"/>
37
+ <xs:element name="PERMISSIONS" minOccurs="0" maxOccurs="1">
38
+ <xs:complexType>
39
+ <xs:sequence>
40
+ <xs:element name="OWNER_U" type="xs:integer"/>
41
+ <xs:element name="OWNER_M" type="xs:integer"/>
42
+ <xs:element name="OWNER_A" type="xs:integer"/>
43
+ <xs:element name="GROUP_U" type="xs:integer"/>
44
+ <xs:element name="GROUP_M" type="xs:integer"/>
45
+ <xs:element name="GROUP_A" type="xs:integer"/>
46
+ <xs:element name="OTHER_U" type="xs:integer"/>
47
+ <xs:element name="OTHER_M" type="xs:integer"/>
48
+ <xs:element name="OTHER_A" type="xs:integer"/>
49
+ </xs:sequence>
50
+ </xs:complexType>
51
+ </xs:element>
52
+ <xs:element name="TEMPLATE" type="xs:anyType"/>
53
+ </xs:sequence>
54
+ </xs:complexType>
55
+ </xs:element>
56
+ </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="marketplaceapp.xsd"/>
5
+ <xs:element name="MARKETPLACEAPP_POOL">
6
+ <xs:complexType>
7
+ <xs:sequence maxOccurs="1" minOccurs="1">
8
+ <xs:element ref="MARKETPLACEAPP" maxOccurs="unbounded" minOccurs="0"/>
9
+ </xs:sequence>
10
+ </xs:complexType>
11
+ </xs:element>
12
+ </xs:schema>
@@ -0,0 +1,412 @@
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="OPENNEBULA_CONFIGURATION">
4
+ <xs:complexType>
5
+ <xs:sequence>
6
+
7
+ <xs:element name="API_LIST_ORDER" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
8
+
9
+ <xs:element name="AUTH_MAD" minOccurs="0" maxOccurs="unbounded">
10
+ <xs:complexType>
11
+ <xs:all>
12
+ <xs:element name="AUTHN" type="xs:string"/>
13
+ <xs:element name="EXECUTABLE" type="xs:string"/>
14
+ </xs:all>
15
+ </xs:complexType>
16
+ </xs:element>
17
+
18
+ <xs:element name="AUTH_MAD_CONF" minOccurs="0" maxOccurs="unbounded">
19
+ <xs:complexType>
20
+ <xs:all>
21
+ <xs:element name="DRIVER_MANAGED_GROUPS" type="xs:string"/>
22
+ <xs:element name="DRIVER_MANAGED_GROUP_ADMIN" type="xs:string"/>
23
+ <xs:element name="MAX_TOKEN_TIME" type="xs:integer"/>
24
+ <xs:element name="NAME" type="xs:string"/>
25
+ <xs:element name="PASSWORD_CHANGE" type="xs:string"/>
26
+ </xs:all>
27
+ </xs:complexType>
28
+ </xs:element>
29
+
30
+ <xs:element name="CLUSTER_ENCRYPTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
31
+ <xs:element name="DATASTORE_CAPACITY_CHECK" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
32
+ <xs:element name="DATASTORE_ENCRYPTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
33
+ <xs:element name="DATASTORE_LOCATION" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
34
+
35
+ <xs:element name="DATASTORE_MAD" minOccurs="0" maxOccurs="unbounded">
36
+ <xs:complexType>
37
+ <xs:all>
38
+ <xs:element name="ARGUMENTS" type="xs:string"/>
39
+ <xs:element name="EXECUTABLE" type="xs:string"/>
40
+ </xs:all>
41
+ </xs:complexType>
42
+ </xs:element>
43
+
44
+ <xs:element name="DB" minOccurs="0" maxOccurs="1">
45
+ <xs:complexType>
46
+ <xs:all>
47
+ <xs:element name="BACKEND" minOccurs="0" maxOccurs="1" >
48
+ <xs:simpleType>
49
+ <xs:restriction base="xs:string">
50
+ <xs:enumeration value="postgresql"/>
51
+ <xs:enumeration value="mysql"/>
52
+ <xs:enumeration value="sqlite"/>
53
+ </xs:restriction>
54
+ </xs:simpleType>
55
+ </xs:element>
56
+ <xs:element name="COMPARE_BINARY" minOccurs="0" maxOccurs="1">
57
+ <xs:simpleType>
58
+ <xs:restriction base="xs:string">
59
+ <xs:pattern value="[yY][eE][sS]" />
60
+ <xs:pattern value="[nN][oO]" />
61
+ </xs:restriction>
62
+ </xs:simpleType>
63
+ </xs:element>
64
+ <xs:element name="CONNECTIONS" minOccurs="0" maxOccurs="1" type="xs:integer"/>
65
+ <xs:element name="DB_NAME" minOccurs="0" maxOccurs="1" type="xs:string"/>
66
+ <xs:element name="PASSWD" minOccurs="0" maxOccurs="1" type="xs:string"/>
67
+ <xs:element name="PORT" minOccurs="0" maxOccurs="1" type="xs:integer"/>
68
+ <xs:element name="SERVER" minOccurs="0" maxOccurs="1" type="xs:string"/>
69
+ <xs:element name="USER" minOccurs="0" maxOccurs="1" type="xs:string"/>
70
+ <xs:element name="TIMEOUT" minOccurs="0" maxOccurs="1" type="xs:integer"/>
71
+ </xs:all>
72
+ </xs:complexType>
73
+ </xs:element>
74
+
75
+ <xs:element name="DEFAULT_AUTH" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
76
+ <xs:element name="DEFAULT_CDROM_DEVICE_PREFIX" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
77
+
78
+ <xs:element name="DEFAULT_COST" minOccurs="0" maxOccurs="unbounded">
79
+ <xs:complexType>
80
+ <xs:all>
81
+ <xs:element name="CPU_COST" type="xs:integer"/>
82
+ <xs:element name="DISK_COST" type="xs:integer"/>
83
+ <xs:element name="MEMORY_COST" type="xs:integer"/>
84
+ </xs:all>
85
+ </xs:complexType>
86
+ </xs:element>
87
+
88
+ <xs:element name="DEFAULT_DEVICE_PREFIX" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
89
+ <xs:element name="DEFAULT_IMAGE_PERSISTENT" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
90
+ <xs:element name="DEFAULT_IMAGE_PERSISTENT_NEW" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
91
+ <xs:element name="DEFAULT_IMAGE_TYPE" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
92
+ <xs:element name="DEFAULT_UMASK" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
93
+ <xs:element name="DEFAULT_VDC_CLUSTER_DATASTORE_ACL" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
94
+ <xs:element name="DEFAULT_VDC_CLUSTER_HOST_ACL" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
95
+ <xs:element name="DEFAULT_VDC_CLUSTER_NET_ACL" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
96
+ <xs:element name="DEFAULT_VDC_DATASTORE_ACL" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
97
+ <xs:element name="DEFAULT_VDC_HOST_ACL" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
98
+ <xs:element name="DEFAULT_VDC_VNET_ACL" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
99
+
100
+ <xs:element name="DOCUMENT_ENCRYPTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
101
+
102
+ <xs:element name="DS_MAD_CONF" minOccurs="0" maxOccurs="unbounded">
103
+ <xs:complexType>
104
+ <xs:all>
105
+ <xs:element name="MARKETPLACE_ACTIONS" type="xs:string" minOccurs="0" maxOccurs="1"/>
106
+ <xs:element name="NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
107
+ <xs:element name="PERSISTENT_ONLY" minOccurs="0" maxOccurs="1">
108
+ <xs:simpleType>
109
+ <xs:restriction base="xs:string">
110
+ <xs:pattern value="[yY][eE][sS]" />
111
+ <xs:pattern value="[nN][oO]" />
112
+ </xs:restriction>
113
+ </xs:simpleType>
114
+ </xs:element>
115
+ <xs:element name="REQUIRED_ATTRS" type="xs:string" minOccurs="0" maxOccurs="1"/>
116
+ </xs:all>
117
+ </xs:complexType>
118
+ </xs:element>
119
+
120
+ <xs:element name="DS_MONITOR_VM_DISK" type="xs:integer" minOccurs="0" maxOccurs="1"/>
121
+
122
+ <xs:element name="ENABLE_OTHER_PERMISSIONS" minOccurs="0" maxOccurs="1">
123
+ <xs:simpleType>
124
+ <xs:restriction base="xs:string">
125
+ <xs:pattern value="[yY][eE][sS]" />
126
+ <xs:pattern value="[nN][oO]" />
127
+ </xs:restriction>
128
+ </xs:simpleType>
129
+ </xs:element>
130
+
131
+ <xs:element name="FEDERATION" minOccurs="0" maxOccurs="1">
132
+ <xs:complexType>
133
+ <xs:all>
134
+ <xs:element name="MASTER_ONED" type="xs:string" minOccurs="0" maxOccurs="1"/>
135
+ <xs:element name="MODE" minOccurs="0" maxOccurs="1" >
136
+ <xs:simpleType>
137
+ <xs:restriction base="xs:string">
138
+ <xs:enumeration value="STANDALONE"/>
139
+ <xs:enumeration value="MASTER"/>
140
+ <xs:enumeration value="SLAVE"/>
141
+ </xs:restriction>
142
+ </xs:simpleType>
143
+ </xs:element>
144
+ <xs:element name="SERVER_ID" type="xs:integer" minOccurs="0" maxOccurs="1"/>
145
+ <xs:element name="ZONE_ID" type="xs:integer" minOccurs="0" maxOccurs="1"/>
146
+ </xs:all>
147
+ </xs:complexType>
148
+ </xs:element>
149
+
150
+ <xs:element name="GROUP_RESTRICTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
151
+
152
+ <xs:element name="HM_MAD" minOccurs="0" maxOccurs="1">
153
+ <xs:complexType>
154
+ <xs:all>
155
+ <xs:element name="ARGUMENTS" type="xs:string" minOccurs="0" maxOccurs="1"/>
156
+ <xs:element name="EXECUTABLE" type="xs:string" minOccurs="0" maxOccurs="1"/>
157
+ </xs:all>
158
+ </xs:complexType>
159
+ </xs:element>
160
+
161
+ <xs:element name="HOOK_LOG_CONF" minOccurs="0" maxOccurs="1">
162
+ <xs:complexType>
163
+ <xs:all>
164
+ <xs:element name="LOG_RETENTION" type="xs:integer" minOccurs="0" maxOccurs="1"/>
165
+ </xs:all>
166
+ </xs:complexType>
167
+ </xs:element>
168
+
169
+ <xs:element name="HOST_ENCRYPTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
170
+
171
+ <xs:element name="IMAGE_ENCRYPTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
172
+ <xs:element name="IMAGE_RESTRICTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
173
+
174
+ <xs:element name="IM_MAD" minOccurs="0" maxOccurs="unbounded">
175
+ <xs:complexType>
176
+ <xs:all>
177
+ <xs:element name="ARGUMENTS" type="xs:string" minOccurs="0" maxOccurs="1"/>
178
+ <xs:element name="EXECUTABLE" type="xs:string" minOccurs="0" maxOccurs="1"/>
179
+ <xs:element name="NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
180
+ <xs:element name="THREADS" type="xs:integer" minOccurs="0" maxOccurs="1"/>
181
+ </xs:all>
182
+ </xs:complexType>
183
+ </xs:element>
184
+
185
+ <xs:element name="INHERIT_DATASTORE_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
186
+ <xs:element name="INHERIT_IMAGE_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
187
+ <xs:element name="INHERIT_VNET_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
188
+
189
+ <xs:element name="IPAM_MAD" minOccurs="0" maxOccurs="unbounded">
190
+ <xs:complexType>
191
+ <xs:all>
192
+ <xs:element name="ARGUMENTS" type="xs:string"/>
193
+ <xs:element name="EXECUTABLE" type="xs:string"/>
194
+ </xs:all>
195
+ </xs:complexType>
196
+ </xs:element>
197
+
198
+ <xs:element name="KEEPALIVE_MAX_CONN" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
199
+ <xs:element name="KEEPALIVE_TIMEOUT" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
200
+ <xs:element name="LISTEN_ADDRESS" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
201
+
202
+ <xs:element name="LOG" minOccurs="0" maxOccurs="unbounded">
203
+ <xs:complexType>
204
+ <xs:all>
205
+ <xs:element name="DEBUG_LEVEL" type="xs:integer"/>
206
+ <xs:element name="SYSTEM" type="xs:string"/>
207
+ </xs:all>
208
+ </xs:complexType>
209
+ </xs:element>
210
+
211
+ <xs:element name="LOG_CALL_FORMAT" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
212
+ <xs:element name="MAC_PREFIX" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
213
+ <xs:element name="MANAGER_TIMER" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
214
+
215
+ <xs:element name="MARKET_MAD" minOccurs="0" maxOccurs="unbounded">
216
+ <xs:complexType>
217
+ <xs:all>
218
+ <xs:element name="ARGUMENTS" type="xs:string"/>
219
+ <xs:element name="EXECUTABLE" type="xs:string"/>
220
+ </xs:all>
221
+ </xs:complexType>
222
+ </xs:element>
223
+
224
+ <xs:element name="MARKET_MAD_CONF" minOccurs="0" maxOccurs="unbounded">
225
+ <xs:complexType>
226
+ <xs:all>
227
+ <xs:element name="APP_ACTIONS" type="xs:string"/>
228
+ <xs:element name="NAME" type="xs:string"/>
229
+ <xs:element name="PUBLIC" minOccurs="0" maxOccurs="1">
230
+ <xs:simpleType>
231
+ <xs:restriction base="xs:string">
232
+ <xs:pattern value="[yY][eE][sS]" />
233
+ <xs:pattern value="[nN][oO]" />
234
+ </xs:restriction>
235
+ </xs:simpleType>
236
+ </xs:element>
237
+ <xs:element name="REQUIRED_ATTRS" type="xs:string" minOccurs="0" maxOccurs="1"/>
238
+ <xs:element name="SUNSTONE_NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
239
+ </xs:all>
240
+ </xs:complexType>
241
+ </xs:element>
242
+
243
+ <xs:element name="MAX_CONN" type="xs:integer" minOccurs="0" maxOccurs="1"/>
244
+ <xs:element name="MAX_CONN_BACKLOG" type="xs:integer" minOccurs="0" maxOccurs="1"/>
245
+ <xs:element name="MESSAGE_SIZE" type="xs:integer" minOccurs="0" maxOccurs="1"/>
246
+ <xs:element name="MONITORING_INTERVAL_DATASTORE" type="xs:integer" minOccurs="0" maxOccurs="1"/>
247
+ <xs:element name="MONITORING_INTERVAL_DB_UPDATE" type="xs:integer" minOccurs="0" maxOccurs="1"/>
248
+ <xs:element name="MONITORING_INTERVAL_HOST" type="xs:integer" minOccurs="0" maxOccurs="1"/>
249
+ <xs:element name="MONITORING_INTERVAL_MARKET" type="xs:integer" minOccurs="0" maxOccurs="1"/>
250
+ <xs:element name="MONITORING_INTERVAL_VM" type="xs:integer" minOccurs="0" maxOccurs="1"/>
251
+
252
+ <xs:element name="NETWORK_SIZE" type="xs:integer" minOccurs="0" maxOccurs="1"/>
253
+ <xs:element name="ONE_KEY" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
254
+ <xs:element name="PCI_PASSTHROUGH_BUS" type="xs:string" minOccurs="0" maxOccurs="1"/>
255
+ <xs:element name="PORT" type="xs:integer" minOccurs="0" maxOccurs="1"/>
256
+
257
+ <xs:element name="RAFT" minOccurs="0" maxOccurs="1">
258
+ <xs:complexType>
259
+ <xs:all>
260
+ <xs:element name="BROADCAST_TIMEOUT_MS" type="xs:integer"/>
261
+ <xs:element name="ELECTION_TIMEOUT_MS" type="xs:integer"/>
262
+ <xs:element name="LIMIT_PURGE" type="xs:integer"/>
263
+ <xs:element name="LOG_PURGE_TIMEOUT" type="xs:integer"/>
264
+ <xs:element name="LOG_RETENTION" type="xs:integer"/>
265
+ <xs:element name="XMLRPC_TIMEOUT_MS" type="xs:integer"/>
266
+ </xs:all>
267
+ </xs:complexType>
268
+ </xs:element>
269
+
270
+ <xs:element name="RPC_LOG" type="xs:string" minOccurs="0" maxOccurs="1"/>
271
+ <xs:element name="SCRIPTS_REMOTE_DIR" type="xs:string" minOccurs="0" maxOccurs="1"/>
272
+ <xs:element name="SESSION_EXPIRATION_TIME" type="xs:integer" minOccurs="0" maxOccurs="1"/>
273
+ <xs:element name="TIMEOUT" type="xs:integer" minOccurs="0" maxOccurs="1"/>
274
+
275
+ <xs:element name="TM_MAD" minOccurs="0" maxOccurs="unbounded">
276
+ <xs:complexType>
277
+ <xs:all>
278
+ <xs:element name="ARGUMENTS" type="xs:string"/>
279
+ <xs:element name="EXECUTABLE" type="xs:string"/>
280
+ </xs:all>
281
+ </xs:complexType>
282
+ </xs:element>
283
+
284
+ <xs:element name="TM_MAD_CONF" minOccurs="0" maxOccurs="unbounded">
285
+ <xs:complexType>
286
+ <xs:all>
287
+ <xs:element name="ALLOW_ORPHANS" type="xs:string" minOccurs="0" maxOccurs="1"/>
288
+ <xs:element name="CLONE_TARGET" type="xs:string" minOccurs="0" maxOccurs="1"/>
289
+ <xs:element name="CLONE_TARGET_SHARED" type="xs:string" minOccurs="0" maxOccurs="1"/>
290
+ <xs:element name="CLONE_TARGET_SSH" type="xs:string" minOccurs="0" maxOccurs="1"/>
291
+ <xs:element name="DISK_TYPE_SHARED" type="xs:string" minOccurs="0" maxOccurs="1"/>
292
+ <xs:element name="DISK_TYPE_SSH" type="xs:string" minOccurs="0" maxOccurs="1"/>
293
+ <xs:element name="DRIVER" type="xs:string" minOccurs="0" maxOccurs="1"/>
294
+ <xs:element name="DS_MIGRATE" type="xs:string" minOccurs="0" maxOccurs="1"/>
295
+ <xs:element name="LN_TARGET" type="xs:string" minOccurs="0" maxOccurs="1"/>
296
+ <xs:element name="LN_TARGET_SHARED" type="xs:string" minOccurs="0" maxOccurs="1"/>
297
+ <xs:element name="LN_TARGET_SSH" type="xs:string" minOccurs="0" maxOccurs="1"/>
298
+ <xs:element name="NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
299
+ <xs:element name="SHARED" type="xs:string" minOccurs="0" maxOccurs="1"/>
300
+ <xs:element name="TM_MAD_SYSTEM" type="xs:string" minOccurs="0" maxOccurs="1"/>
301
+ </xs:all>
302
+ </xs:complexType>
303
+ </xs:element>
304
+
305
+ <xs:element name="USER_RESTRICTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
306
+
307
+ <xs:element name="VLAN_IDS" minOccurs="0" maxOccurs="1">
308
+ <xs:complexType>
309
+ <xs:all>
310
+ <xs:element name="RESERVED" type="xs:string"/>
311
+ <xs:element name="START" type="xs:integer"/>
312
+ </xs:all>
313
+ </xs:complexType>
314
+ </xs:element>
315
+
316
+ <xs:element name="VM_ADMIN_OPERATIONS" type="xs:string" minOccurs="0" maxOccurs="1"/>
317
+ <xs:element name="VM_ENCRYPTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
318
+
319
+ <xs:element name="VM_MAD" minOccurs="0" maxOccurs="unbounded">
320
+ <xs:complexType>
321
+ <xs:all>
322
+ <xs:element name="ARGUMENTS" type="xs:string" minOccurs="0" maxOccurs="1"/>
323
+ <xs:element name="DEFAULT" type="xs:string" minOccurs="0" maxOccurs="1"/>
324
+ <xs:element name="EXECUTABLE" type="xs:string" minOccurs="0" maxOccurs="1"/>
325
+ <xs:element name="IMPORTED_VMS_ACTIONS" type="xs:string" minOccurs="0" maxOccurs="1"/>
326
+ <xs:element name="NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
327
+ <xs:element name="SUNSTONE_NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
328
+ <xs:element name="TYPE" type="xs:string" minOccurs="0" maxOccurs="1"/>
329
+ <xs:element name="KEEP_SNAPSHOTS" minOccurs="0" maxOccurs="1">
330
+ <xs:simpleType>
331
+ <xs:restriction base="xs:string">
332
+ <xs:pattern value="[yY][eE][sS]" />
333
+ <xs:pattern value="[nN][oO]" />
334
+ </xs:restriction>
335
+ </xs:simpleType>
336
+ </xs:element>
337
+ <xs:element name="COLD_NIC_ATTACH" minOccurs="0" maxOccurs="1">
338
+ <xs:simpleType>
339
+ <xs:restriction base="xs:string">
340
+ <xs:pattern value="[yY][eE][sS]" />
341
+ <xs:pattern value="[nN][oO]" />
342
+ </xs:restriction>
343
+ </xs:simpleType>
344
+ </xs:element>
345
+ <xs:element name="DS_LIVE_MIGRATION" minOccurs="0" maxOccurs="1">
346
+ <xs:simpleType>
347
+ <xs:restriction base="xs:string">
348
+ <xs:pattern value="[yY][eE][sS]" />
349
+ <xs:pattern value="[nN][oO]" />
350
+ </xs:restriction>
351
+ </xs:simpleType>
352
+ </xs:element>
353
+ <xs:element name="LIVE_RESIZE" minOccurs="0" maxOccurs="1">
354
+ <xs:simpleType>
355
+ <xs:restriction base="xs:string">
356
+ <xs:pattern value="[yY][eE][sS]" />
357
+ <xs:pattern value="[nN][oO]" />
358
+ </xs:restriction>
359
+ </xs:simpleType>
360
+ </xs:element>
361
+ </xs:all>
362
+ </xs:complexType>
363
+ </xs:element>
364
+
365
+ <xs:element name="VM_MANAGE_OPERATIONS" type="xs:string" minOccurs="0" maxOccurs="1"/>
366
+ <xs:element name="VM_MONITORING_EXPIRATION_TIME" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
367
+ <xs:element name="VM_RESTRICTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
368
+
369
+ <xs:element name="VM_SUBMIT_ON_HOLD" minOccurs="0" maxOccurs="1">
370
+ <xs:simpleType>
371
+ <xs:restriction base="xs:string">
372
+ <xs:pattern value="[yY][eE][sS]" />
373
+ <xs:pattern value="[nN][oO]" />
374
+ </xs:restriction>
375
+ </xs:simpleType>
376
+ </xs:element>
377
+
378
+ <xs:element name="VM_USE_OPERATIONS" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
379
+
380
+ <xs:element name="VNC_PORTS" minOccurs="0" maxOccurs="1">
381
+ <xs:complexType>
382
+ <xs:all>
383
+ <xs:element name="RESERVED" type="xs:string"/>
384
+ <xs:element name="START" type="xs:integer"/>
385
+ </xs:all>
386
+ </xs:complexType>
387
+ </xs:element>
388
+
389
+ <xs:element name="VNET_ENCRYPTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
390
+ <xs:element name="VNET_RESTRICTED_ATTR" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
391
+
392
+ <xs:element name="VN_MAD_CONF" minOccurs="0" maxOccurs="unbounded">
393
+ <xs:complexType>
394
+ <xs:all>
395
+ <xs:element name="BRIDGE_TYPE" type="xs:string" minOccurs="0" maxOccurs="1"/>
396
+ <xs:element name="NAME" type="xs:string" minOccurs="0" maxOccurs="1"/>
397
+ </xs:all>
398
+ </xs:complexType>
399
+ </xs:element>
400
+
401
+ <xs:element name="VXLAN_IDS" minOccurs="0" maxOccurs="1">
402
+ <xs:complexType>
403
+ <xs:all>
404
+ <xs:element name="START" type="xs:integer"/>
405
+ </xs:all>
406
+ </xs:complexType>
407
+ </xs:element>
408
+
409
+ </xs:sequence>
410
+ </xs:complexType>
411
+ </xs:element>
412
+ </xs:schema>
@@ -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>