opennebula-cli 5.12.9 → 6.0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. checksums.yaml +4 -4
  2. data/bin/oneacct +9 -4
  3. data/bin/oneacl +8 -5
  4. data/bin/onecluster +10 -7
  5. data/bin/onedatastore +10 -7
  6. data/bin/oneflow +85 -13
  7. data/bin/oneflow-template +45 -8
  8. data/bin/onegroup +10 -7
  9. data/bin/onehook +10 -7
  10. data/bin/onehost +10 -7
  11. data/bin/oneimage +100 -9
  12. data/bin/onemarket +10 -7
  13. data/bin/onemarketapp +114 -11
  14. data/bin/onesecgroup +13 -7
  15. data/bin/oneshowback +18 -10
  16. data/bin/onetemplate +12 -8
  17. data/bin/oneuser +30 -7
  18. data/bin/onevcenter +8 -11
  19. data/bin/onevdc +10 -7
  20. data/bin/onevm +146 -11
  21. data/bin/onevmgroup +13 -7
  22. data/bin/onevnet +8 -5
  23. data/bin/onevntemplate +11 -7
  24. data/bin/onevrouter +10 -7
  25. data/bin/onezone +11 -8
  26. data/lib/cli_helper.rb +17 -8
  27. data/lib/command_parser.rb +17 -14
  28. data/lib/one_helper.rb +401 -39
  29. data/lib/one_helper/oneacct_helper.rb +6 -17
  30. data/lib/one_helper/oneacl_helper.rb +1 -1
  31. data/lib/one_helper/onecluster_helper.rb +1 -1
  32. data/lib/one_helper/onedatastore_helper.rb +11 -1
  33. data/lib/one_helper/oneflow_helper.rb +20 -5
  34. data/lib/one_helper/oneflowtemplate_helper.rb +28 -2
  35. data/lib/one_helper/onegroup_helper.rb +1 -1
  36. data/lib/one_helper/onehook_helper.rb +1 -1
  37. data/lib/one_helper/onehost_helper.rb +1 -5
  38. data/lib/one_helper/oneimage_helper.rb +13 -7
  39. data/lib/one_helper/onemarket_helper.rb +1 -1
  40. data/lib/one_helper/onemarketapp_helper.rb +500 -96
  41. data/lib/one_helper/onequota_helper.rb +1 -1
  42. data/lib/one_helper/onesecgroup_helper.rb +1 -1
  43. data/lib/one_helper/onetemplate_helper.rb +12 -1
  44. data/lib/one_helper/oneuser_helper.rb +11 -3
  45. data/lib/one_helper/onevcenter_helper.rb +176 -146
  46. data/lib/one_helper/onevdc_helper.rb +1 -1
  47. data/lib/one_helper/onevm_helper.rb +4 -3
  48. data/lib/one_helper/onevmgroup_helper.rb +1 -1
  49. data/lib/one_helper/onevnet_helper.rb +1 -1
  50. data/lib/one_helper/onevntemplate_helper.rb +1 -1
  51. data/lib/one_helper/onevrouter_helper.rb +1 -20
  52. data/lib/one_helper/onezone_helper.rb +24 -17
  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 +50 -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/monitoring_data.xsd +41 -0
  79. data/share/schemas/xsd/opennebula_configuration.xsd +412 -0
  80. data/share/schemas/xsd/raftstatus.xsd +18 -0
  81. data/share/schemas/xsd/security_group.xsd +74 -0
  82. data/share/schemas/xsd/security_group_pool.xsd +12 -0
  83. data/share/schemas/xsd/showback.xsd +29 -0
  84. data/share/schemas/xsd/user.xsd +186 -0
  85. data/share/schemas/xsd/user_pool.xsd +201 -0
  86. data/share/schemas/xsd/vdc.xsd +76 -0
  87. data/share/schemas/xsd/vdc_pool.xsd +12 -0
  88. data/share/schemas/xsd/vm.xsd +251 -0
  89. data/share/schemas/xsd/vm_group.xsd +59 -0
  90. data/share/schemas/xsd/vm_group_pool.xsd +12 -0
  91. data/share/schemas/xsd/vm_pool.xsd +114 -0
  92. data/share/schemas/xsd/vmtemplate.xsd +52 -0
  93. data/share/schemas/xsd/vmtemplate_pool.xsd +12 -0
  94. data/share/schemas/xsd/vnet.xsd +137 -0
  95. data/share/schemas/xsd/vnet_pool.xsd +85 -0
  96. data/share/schemas/xsd/vntemplate.xsd +50 -0
  97. data/share/schemas/xsd/vntemplate_pool.xsd +12 -0
  98. data/share/schemas/xsd/vrouter.xsd +49 -0
  99. data/share/schemas/xsd/vrouter_pool.xsd +12 -0
  100. data/share/schemas/xsd/zone.xsd +40 -0
  101. data/share/schemas/xsd/zone_pool.xsd +36 -0
  102. metadata +67 -5
  103. data/lib/one_helper/oneprovision_helper.rb +0 -362
@@ -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>
@@ -0,0 +1,137 @@
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="VNET">
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="LOCK" minOccurs="0" maxOccurs="1">
14
+ <xs:complexType>
15
+ <xs:sequence>
16
+ <xs:element name="LOCKED" type="xs:integer"/>
17
+ <xs:element name="OWNER" type="xs:integer"/>
18
+ <xs:element name="TIME" type="xs:integer"/>
19
+ <xs:element name="REQ_ID" type="xs:integer"/>
20
+ </xs:sequence>
21
+ </xs:complexType>
22
+ </xs:element>
23
+ <xs:element name="PERMISSIONS" minOccurs="0" maxOccurs="1">
24
+ <xs:complexType>
25
+ <xs:sequence>
26
+ <xs:element name="OWNER_U" type="xs:integer"/>
27
+ <xs:element name="OWNER_M" type="xs:integer"/>
28
+ <xs:element name="OWNER_A" type="xs:integer"/>
29
+ <xs:element name="GROUP_U" type="xs:integer"/>
30
+ <xs:element name="GROUP_M" type="xs:integer"/>
31
+ <xs:element name="GROUP_A" type="xs:integer"/>
32
+ <xs:element name="OTHER_U" type="xs:integer"/>
33
+ <xs:element name="OTHER_M" type="xs:integer"/>
34
+ <xs:element name="OTHER_A" type="xs:integer"/>
35
+ </xs:sequence>
36
+ </xs:complexType>
37
+ </xs:element>
38
+ <xs:element name="CLUSTERS">
39
+ <xs:complexType>
40
+ <xs:sequence>
41
+ <xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
42
+ </xs:sequence>
43
+ </xs:complexType>
44
+ </xs:element>
45
+ <xs:element name="BRIDGE" type="xs:string"/>
46
+ <xs:element name="BRIDGE_TYPE" type="xs:string" minOccurs="0"/>
47
+ <xs:element name="PARENT_NETWORK_ID" type="xs:string"/>
48
+ <xs:element name="VN_MAD" type="xs:string"/>
49
+ <xs:element name="PHYDEV" type="xs:string"/>
50
+ <xs:element name="VLAN_ID" type="xs:string" minOccurs="0"/>
51
+ <xs:element name="OUTER_VLAN_ID" type="xs:string" minOccurs="0"/>
52
+ <xs:element name="VLAN_ID_AUTOMATIC" type="xs:string"/>
53
+ <xs:element name="OUTER_VLAN_ID_AUTOMATIC" type="xs:string"/>
54
+ <xs:element name="USED_LEASES" type="xs:integer"/>
55
+ <xs:element name="VROUTERS">
56
+ <xs:complexType>
57
+ <xs:sequence>
58
+ <xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
59
+ </xs:sequence>
60
+ </xs:complexType>
61
+ </xs:element>
62
+ <xs:element name="TEMPLATE">
63
+ <xs:complexType>
64
+ <xs:sequence>
65
+ <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
66
+ <xs:element name="CONTEXT_FORCE_IPV4" type="xs:string" minOccurs="0" maxOccurs="1"/>
67
+ <xs:element name="DNS" type="xs:string" minOccurs="0" maxOccurs="1"/>
68
+ <xs:element name="GATEWAY" type="xs:string" minOccurs="0" maxOccurs="1"/>
69
+ <xs:element name="GATEWAY6" type="xs:string" minOccurs="0" maxOccurs="1"/>
70
+ <xs:element name="GUEST_MTU" type="xs:int" minOccurs="0" maxOccurs="1"/>
71
+ <xs:element name="NETWORK_ADDRESS" type="xs:string" minOccurs="0" maxOccurs="1"/>
72
+ <xs:element name="NETWORK_MASK" type="xs:string" minOccurs="0" maxOccurs="1"/>
73
+ <xs:element name="SEARCH_DOMAIN" type="xs:string" minOccurs="0" maxOccurs="1"/>
74
+ <xs:element name="VCENTER_FROM_WILD" type="xs:string" minOccurs="0" maxOccurs="1"/>
75
+ <xs:element name="VCENTER_INSTANCE_ID" type="xs:string" minOccurs="0" maxOccurs="1"/>
76
+ <xs:element name="VCENTER_NET_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
77
+ <xs:element name="VCENTER_PORTGROUP_TYPE" type="xs:string" minOccurs="0" maxOccurs="1"/>
78
+ <xs:element name="VCENTER_TEMPLATE_REF" type="xs:string" minOccurs="0" maxOccurs="1"/>
79
+ <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
80
+ </xs:sequence>
81
+ </xs:complexType>
82
+ </xs:element>
83
+ <xs:element name="AR_POOL">
84
+ <xs:complexType>
85
+ <xs:sequence minOccurs="0">
86
+ <xs:element name="AR" minOccurs="0" maxOccurs="unbounded">
87
+ <xs:complexType>
88
+ <xs:sequence>
89
+ <xs:element name="AR_ID" type="xs:string"/>
90
+ <xs:element name="GLOBAL_PREFIX" type="xs:string" minOccurs="0"/>
91
+ <xs:element name="IP" type="xs:string" minOccurs="0"/>
92
+ <xs:element name="MAC" type="xs:string"/>
93
+ <xs:element name="PARENT_NETWORK_AR_ID" type="xs:string" minOccurs="0"/>
94
+ <xs:element name="SIZE" type="xs:integer"/>
95
+ <xs:element name="TYPE" type="xs:string"/>
96
+ <xs:element name="ULA_PREFIX" type="xs:string" minOccurs="0"/>
97
+ <xs:element name="VN_MAD" type="xs:string" minOccurs="0"/>
98
+ <xs:element name="MAC_END" type="xs:string" minOccurs="0"/>
99
+ <xs:element name="IP_END" type="xs:string" minOccurs="0"/>
100
+ <xs:element name="IP6_ULA" type="xs:string" minOccurs="0"/>
101
+ <xs:element name="IP6_ULA_END" type="xs:string" minOccurs="0"/>
102
+ <xs:element name="IP6_GLOBAL" type="xs:string" minOccurs="0"/>
103
+ <xs:element name="IP6_GLOBAL_END" type="xs:string" minOccurs="0"/>
104
+ <xs:element name="IP6" type="xs:string" minOccurs="0"/>
105
+ <xs:element name="IP6_END" type="xs:string" minOccurs="0"/>
106
+ <xs:element name="USED_LEASES" type="xs:string"/>
107
+ <xs:element name="LEASES" minOccurs="0" maxOccurs="1">
108
+ <xs:complexType>
109
+ <xs:sequence>
110
+ <xs:element name="LEASE" minOccurs="0" maxOccurs="unbounded">
111
+ <xs:complexType>
112
+ <xs:all>
113
+ <xs:element name="IP" type="xs:string" minOccurs="0"/>
114
+ <xs:element name="IP6" type="xs:string" minOccurs="0"/>
115
+ <xs:element name="IP6_GLOBAL" type="xs:string" minOccurs="0"/>
116
+ <xs:element name="IP6_LINK" type="xs:string" minOccurs="0"/>
117
+ <xs:element name="IP6_ULA" type="xs:string" minOccurs="0"/>
118
+ <xs:element name="MAC" type="xs:string"/>
119
+ <xs:element name="VM" type="xs:integer" minOccurs="0"/>
120
+ <xs:element name="VNET" type="xs:integer" minOccurs="0"/>
121
+ <xs:element name="VROUTER" type="xs:integer" minOccurs="0"/>
122
+ </xs:all>
123
+ </xs:complexType>
124
+ </xs:element>
125
+ </xs:sequence>
126
+ </xs:complexType>
127
+ </xs:element>
128
+ </xs:sequence>
129
+ </xs:complexType>
130
+ </xs:element>
131
+ </xs:sequence>
132
+ </xs:complexType>
133
+ </xs:element>
134
+ </xs:sequence>
135
+ </xs:complexType>
136
+ </xs:element>
137
+ </xs:schema>
@@ -0,0 +1,85 @@
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="vnet.xsd"/>
5
+ <xs:element name="VNET_POOL">
6
+ <xs:complexType>
7
+ <xs:sequence maxOccurs="1" minOccurs="1">
8
+ <xs:element name="VNET" maxOccurs="unbounded" minOccurs="0">
9
+ <xs:complexType>
10
+ <xs:sequence>
11
+ <xs:element name="ID" type="xs:integer"/>
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="NAME" type="xs:string"/>
17
+ <xs:element name="PERMISSIONS" minOccurs="0" maxOccurs="1">
18
+ <xs:complexType>
19
+ <xs:sequence>
20
+ <xs:element name="OWNER_U" type="xs:integer"/>
21
+ <xs:element name="OWNER_M" type="xs:integer"/>
22
+ <xs:element name="OWNER_A" type="xs:integer"/>
23
+ <xs:element name="GROUP_U" type="xs:integer"/>
24
+ <xs:element name="GROUP_M" type="xs:integer"/>
25
+ <xs:element name="GROUP_A" type="xs:integer"/>
26
+ <xs:element name="OTHER_U" type="xs:integer"/>
27
+ <xs:element name="OTHER_M" type="xs:integer"/>
28
+ <xs:element name="OTHER_A" type="xs:integer"/>
29
+ </xs:sequence>
30
+ </xs:complexType>
31
+ </xs:element>
32
+ <xs:element name="CLUSTERS">
33
+ <xs:complexType>
34
+ <xs:sequence>
35
+ <xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
36
+ </xs:sequence>
37
+ </xs:complexType>
38
+ </xs:element>
39
+ <xs:element name="BRIDGE" type="xs:string"/>
40
+ <xs:element name="BRIDGE_TYPE" type="xs:string" minOccurs="0"/>
41
+ <xs:element name="PARENT_NETWORK_ID" type="xs:string"/>
42
+ <xs:element name="VN_MAD" type="xs:string"/>
43
+ <xs:element name="PHYDEV" type="xs:string"/>
44
+ <xs:element name="VLAN_ID" type="xs:string" minOccurs="0"/>
45
+ <xs:element name="OUTER_VLAN_ID" type="xs:string" minOccurs="0"/>
46
+ <xs:element name="VLAN_ID_AUTOMATIC" type="xs:string"/>
47
+ <xs:element name="OUTER_VLAN_ID_AUTOMATIC" type="xs:string"/>
48
+ <xs:element name="USED_LEASES" type="xs:integer"/>
49
+ <xs:element name="VROUTERS">
50
+ <xs:complexType>
51
+ <xs:sequence>
52
+ <xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
53
+ </xs:sequence>
54
+ </xs:complexType>
55
+ </xs:element>
56
+ <xs:element name="TEMPLATE" type="xs:anyType"/>
57
+ <xs:element name="AR_POOL">
58
+ <xs:complexType>
59
+ <xs:sequence minOccurs="0">
60
+ <xs:element name="AR" minOccurs="0" maxOccurs="unbounded">
61
+ <xs:complexType>
62
+ <xs:sequence>
63
+ <xs:element name="ALLOCATED" type="xs:string" minOccurs="0"/>
64
+ <xs:element name="AR_ID" type="xs:string"/>
65
+ <xs:element name="GLOBAL_PREFIX" type="xs:string" minOccurs="0"/>
66
+ <xs:element name="IP" type="xs:string" minOccurs="0"/>
67
+ <xs:element name="MAC" type="xs:string"/>
68
+ <xs:element name="PARENT_NETWORK_AR_ID" type="xs:string" minOccurs="0"/>
69
+ <xs:element name="SIZE" type="xs:integer"/>
70
+ <xs:element name="TYPE" type="xs:string"/>
71
+ <xs:element name="ULA_PREFIX" type="xs:string" minOccurs="0"/>
72
+ <xs:element name="VN_MAD" type="xs:string" minOccurs="0"/>
73
+ </xs:sequence>
74
+ </xs:complexType>
75
+ </xs:element>
76
+ </xs:sequence>
77
+ </xs:complexType>
78
+ </xs:element>
79
+ </xs:sequence>
80
+ </xs:complexType>
81
+ </xs:element>
82
+ </xs:sequence>
83
+ </xs:complexType>
84
+ </xs:element>
85
+ </xs:schema>
@@ -0,0 +1,50 @@
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="VNTEMPLATE">
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="VN_MAD" type="xs:string"/>
43
+ <xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"/>
44
+ </xs:sequence>
45
+ </xs:complexType>
46
+ </xs:element>
47
+ </xs:sequence>
48
+ </xs:complexType>
49
+ </xs:element>
50
+ </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="vntemplate.xsd"/>
5
+ <xs:element name="VNTEMPLATE_POOL">
6
+ <xs:complexType>
7
+ <xs:sequence maxOccurs="1" minOccurs="1">
8
+ <xs:element ref="VNTEMPLATE" maxOccurs="unbounded" minOccurs="0"/>
9
+ </xs:sequence>
10
+ </xs:complexType>
11
+ </xs:element>
12
+ </xs:schema>
@@ -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:element name="VROUTER">
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="VMS">
39
+ <xs:complexType>
40
+ <xs:sequence>
41
+ <xs:element name="ID" type="xs:integer" minOccurs="0" maxOccurs="unbounded"/>
42
+ </xs:sequence>
43
+ </xs:complexType>
44
+ </xs:element>
45
+ <xs:element name="TEMPLATE" type="xs:anyType"/>
46
+ </xs:sequence>
47
+ </xs:complexType>
48
+ </xs:element>
49
+ </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="vrouter.xsd"/>
5
+ <xs:element name="VROUTER_POOL">
6
+ <xs:complexType>
7
+ <xs:sequence maxOccurs="1" minOccurs="1">
8
+ <xs:element ref="VROUTER" maxOccurs="unbounded" minOccurs="0"/>
9
+ </xs:sequence>
10
+ </xs:complexType>
11
+ </xs:element>
12
+ </xs:schema>
@@ -0,0 +1,40 @@
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="ZONE">
5
+ <xs:complexType>
6
+ <xs:sequence>
7
+ <xs:element name="ID" type="xs:integer"/>
8
+ <xs:element name="NAME" type="xs:string"/>
9
+ <xs:element name="TEMPLATE">
10
+ <xs:complexType>
11
+ <xs:sequence>
12
+ <xs:element name="ENDPOINT" type="xs:string"/>
13
+ </xs:sequence>
14
+ </xs:complexType>
15
+ </xs:element>
16
+ <xs:element name="SERVER_POOL">
17
+ <xs:complexType>
18
+ <xs:sequence>
19
+ <xs:element name="SERVER" minOccurs="0" maxOccurs="unbounded">
20
+ <xs:complexType>
21
+ <xs:sequence>
22
+ <xs:element name="ENDPOINT" type="xs:string"/>
23
+ <xs:element name="ID" type="xs:integer"/>
24
+ <xs:element name="NAME" type="xs:string"/>
25
+ <xs:element name="STATE" type="xs:integer" minOccurs="0" maxOccurs="1"/>
26
+ <xs:element name="TERM" type="xs:integer" minOccurs="0" maxOccurs="1"/>
27
+ <xs:element name="VOTEDFOR" type="xs:integer" minOccurs="0" maxOccurs="1"/>
28
+ <xs:element name="COMMIT" type="xs:integer" minOccurs="0" maxOccurs="1"/>
29
+ <xs:element name="LOG_INDEX" type="xs:integer" minOccurs="0" maxOccurs="1"/>
30
+ <xs:element name="FEDLOG_INDEX" type="xs:integer" minOccurs="0" maxOccurs="1"/>
31
+ </xs:sequence>
32
+ </xs:complexType>
33
+ </xs:element>
34
+ </xs:sequence>
35
+ </xs:complexType>
36
+ </xs:element>
37
+ </xs:sequence>
38
+ </xs:complexType>
39
+ </xs:element>
40
+ </xs:schema>