opennebula 7.0.2 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cloud/CloudClient.rb +3 -3
  3. data/lib/models/role.rb +1 -1
  4. data/lib/models/service.rb +1 -1
  5. data/lib/models/vmrole.rb +1 -1
  6. data/lib/models/vrrole.rb +1 -1
  7. data/lib/models.rb +1 -1
  8. data/lib/opennebula/acl.rb +12 -14
  9. data/lib/opennebula/acl_pool.rb +1 -1
  10. data/lib/opennebula/backupjob.rb +1 -1
  11. data/lib/opennebula/backupjob_pool.rb +1 -1
  12. data/lib/opennebula/cluster.rb +1 -1
  13. data/lib/opennebula/cluster_pool.rb +3 -1
  14. data/lib/opennebula/datastore.rb +1 -1
  15. data/lib/opennebula/datastore_pool.rb +3 -1
  16. data/lib/opennebula/document.rb +2 -2
  17. data/lib/opennebula/document_json.rb +2 -1
  18. data/lib/opennebula/document_pool.rb +1 -1
  19. data/lib/opennebula/document_pool_json.rb +3 -1
  20. data/lib/opennebula/error.rb +9 -3
  21. data/lib/opennebula/flow/grammar.rb +1 -1
  22. data/lib/opennebula/flow/service_pool.rb +3 -1
  23. data/lib/opennebula/flow/service_template.rb +2 -1
  24. data/lib/opennebula/flow/service_template_ext.rb +1 -1
  25. data/lib/opennebula/flow/service_template_pool.rb +1 -1
  26. data/lib/opennebula/flow/validator.rb +1 -1
  27. data/lib/opennebula/flow.rb +1 -1
  28. data/lib/opennebula/group.rb +4 -1
  29. data/lib/opennebula/group_pool.rb +3 -1
  30. data/lib/opennebula/grpc/acl_pb.rb +21 -0
  31. data/lib/opennebula/grpc/acl_services_pb.rb +56 -0
  32. data/lib/opennebula/grpc/backupjob_pb.rb +35 -0
  33. data/lib/opennebula/grpc/backupjob_services_pb.rb +70 -0
  34. data/lib/opennebula/grpc/cluster_pb.rb +33 -0
  35. data/lib/opennebula/grpc/cluster_services_pb.rb +38 -0
  36. data/lib/opennebula/grpc/datastore_pb.rb +27 -0
  37. data/lib/opennebula/grpc/datastore_services_pb.rb +62 -0
  38. data/lib/opennebula/grpc/document_pb.rb +29 -0
  39. data/lib/opennebula/grpc/document_services_pb.rb +64 -0
  40. data/lib/opennebula/grpc/group_pb.rb +27 -0
  41. data/lib/opennebula/grpc/group_services_pb.rb +63 -0
  42. data/lib/opennebula/grpc/hook_pb.rb +28 -0
  43. data/lib/opennebula/grpc/hook_services_pb.rb +63 -0
  44. data/lib/opennebula/grpc/host_pb.rb +27 -0
  45. data/lib/opennebula/grpc/host_services_pb.rb +62 -0
  46. data/lib/opennebula/grpc/image_pb.rb +36 -0
  47. data/lib/opennebula/grpc/image_services_pb.rb +71 -0
  48. data/lib/opennebula/grpc/marketplace_pb.rb +29 -0
  49. data/lib/opennebula/grpc/marketplace_services_pb.rb +64 -0
  50. data/lib/opennebula/grpc/marketplaceapp_pb.rb +32 -0
  51. data/lib/opennebula/grpc/marketplaceapp_services_pb.rb +67 -0
  52. data/lib/opennebula/grpc/secgroup_pb.rb +28 -0
  53. data/lib/opennebula/grpc/secgroup_services_pb.rb +63 -0
  54. data/lib/opennebula/grpc/shared_pb.rb +16 -0
  55. data/lib/opennebula/grpc/system_pb.rb +22 -0
  56. data/lib/opennebula/grpc/system_services_pb.rb +57 -0
  57. data/lib/opennebula/grpc/template_pb.rb +30 -0
  58. data/lib/opennebula/grpc/template_services_pb.rb +65 -0
  59. data/lib/opennebula/grpc/user_pb.rb +32 -0
  60. data/lib/opennebula/grpc/user_services_pb.rb +68 -0
  61. data/lib/opennebula/grpc/vdc_pb.rb +34 -0
  62. data/lib/opennebula/grpc/vdc_services_pb.rb +69 -0
  63. data/lib/opennebula/grpc/vm_pb.rb +66 -0
  64. data/lib/opennebula/grpc/vm_services_pb.rb +102 -0
  65. data/lib/opennebula/grpc/vmgroup_pb.rb +31 -0
  66. data/lib/opennebula/grpc/vmgroup_services_pb.rb +66 -0
  67. data/lib/opennebula/grpc/vn_pb.rb +36 -0
  68. data/lib/opennebula/grpc/vn_services_pb.rb +71 -0
  69. data/lib/opennebula/grpc/vntemplate_pb.rb +30 -0
  70. data/lib/opennebula/grpc/vntemplate_services_pb.rb +65 -0
  71. data/lib/opennebula/grpc/vrouter_pb.rb +31 -0
  72. data/lib/opennebula/grpc/vrouter_services_pb.rb +66 -0
  73. data/lib/opennebula/grpc/zone_pb.rb +36 -0
  74. data/lib/opennebula/grpc/zone_services_pb.rb +68 -0
  75. data/lib/opennebula/hook.rb +1 -1
  76. data/lib/opennebula/hook_log.rb +1 -1
  77. data/lib/opennebula/hook_pool.rb +1 -1
  78. data/lib/opennebula/host.rb +3 -1
  79. data/lib/opennebula/host_pool.rb +3 -1
  80. data/lib/opennebula/image.rb +11 -10
  81. data/lib/opennebula/image_pool.rb +1 -1
  82. data/lib/opennebula/ldap_auth.rb +2 -2
  83. data/lib/opennebula/ldap_auth_spec.rb +1 -1
  84. data/lib/opennebula/lockable_ext.rb +13 -24
  85. data/lib/opennebula/marketplace.rb +1 -1
  86. data/lib/opennebula/marketplace_pool.rb +1 -1
  87. data/lib/opennebula/marketplaceapp.rb +1 -1
  88. data/lib/opennebula/marketplaceapp_ext.rb +4 -1
  89. data/lib/opennebula/marketplaceapp_pool.rb +1 -1
  90. data/lib/opennebula/oneflow_client.rb +1 -1
  91. data/lib/opennebula/oneform_client.rb +320 -0
  92. data/lib/opennebula/pool.rb +3 -2
  93. data/lib/opennebula/pool_element.rb +9 -9
  94. data/lib/opennebula/saml_auth.rb +2 -2
  95. data/lib/opennebula/security_group.rb +1 -1
  96. data/lib/opennebula/security_group_pool.rb +1 -1
  97. data/lib/opennebula/server_cipher_auth.rb +1 -1
  98. data/lib/opennebula/server_x509_auth.rb +1 -1
  99. data/lib/opennebula/ssh_auth.rb +1 -1
  100. data/lib/opennebula/system.rb +1 -1
  101. data/lib/opennebula/template.rb +1 -1
  102. data/lib/opennebula/template_ext.rb +1 -1
  103. data/lib/opennebula/template_pool.rb +1 -1
  104. data/lib/opennebula/user.rb +1 -1
  105. data/lib/opennebula/user_pool.rb +2 -1
  106. data/lib/opennebula/utils.rb +1 -1
  107. data/lib/opennebula/vdc.rb +1 -1
  108. data/lib/opennebula/vdc_pool.rb +1 -1
  109. data/lib/opennebula/version.rb +22 -0
  110. data/lib/opennebula/virtual_machine.rb +35 -3
  111. data/lib/opennebula/virtual_machine_ext.rb +3 -1
  112. data/lib/opennebula/virtual_machine_pool.rb +1 -1
  113. data/lib/opennebula/virtual_network.rb +1 -1
  114. data/lib/opennebula/virtual_network_pool.rb +3 -1
  115. data/lib/opennebula/virtual_router.rb +1 -1
  116. data/lib/opennebula/virtual_router_pool.rb +1 -1
  117. data/lib/opennebula/vm_group.rb +1 -1
  118. data/lib/opennebula/vm_group_pool.rb +1 -1
  119. data/lib/opennebula/vntemplate.rb +1 -1
  120. data/lib/opennebula/vntemplate_pool.rb +1 -1
  121. data/lib/opennebula/wait_ext.rb +2 -1
  122. data/lib/opennebula/x509_auth.rb +1 -1
  123. data/lib/opennebula/xml_element.rb +2 -1
  124. data/lib/opennebula/xml_pool.rb +1 -1
  125. data/lib/opennebula/xml_utils.rb +3 -3
  126. data/lib/opennebula/zone.rb +5 -4
  127. data/lib/opennebula/zone_pool.rb +1 -1
  128. data/lib/opennebula.rb +3 -14
  129. metadata +49 -3
  130. data/lib/opennebula/client.rb +0 -228
@@ -0,0 +1,71 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: image.proto for package 'one.image'
3
+ # Original file comments:
4
+ # --------------------------------------------------------------------------
5
+ #
6
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems
7
+ #
8
+ #
9
+ #
10
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
11
+ #
12
+ # not use this file except in compliance with the License. You may obtain
13
+ #
14
+ # a copy of the License at
15
+ #
16
+ #
17
+ #
18
+ # http://www.apache.org/licenses/LICENSE-2.0
19
+ #
20
+ #
21
+ #
22
+ # Unless required by applicable law or agreed to in writing, software
23
+ #
24
+ # distributed under the License is distributed on an "AS IS" BASIS,
25
+ #
26
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ #
28
+ # See the License for the specific language governing permissions and
29
+ #
30
+ # limitations under the License.
31
+ #
32
+ # --------------------------------------------------------------------------
33
+
34
+ require 'grpc'
35
+ require 'image_pb'
36
+
37
+ module One
38
+ module Image
39
+ module ImageService
40
+ class Service
41
+
42
+ include ::GRPC::GenericService
43
+
44
+ self.marshal_class_method = :encode
45
+ self.unmarshal_class_method = :decode
46
+ self.service_name = 'one.image.ImageService'
47
+
48
+ rpc :Allocate, ::One::Image::AllocateRequest, ::One::ResponseID
49
+ rpc :Delete, ::One::Image::DeleteRequest, ::One::ResponseID
50
+ rpc :Info, ::One::Image::InfoRequest, ::One::ResponseXML
51
+ rpc :Update, ::One::Image::UpdateRequest, ::One::ResponseID
52
+ rpc :Rename, ::One::Image::RenameRequest, ::One::ResponseID
53
+ rpc :Chmod, ::One::Image::ChmodRequest, ::One::ResponseID
54
+ rpc :Chown, ::One::Image::ChownRequest, ::One::ResponseID
55
+ rpc :Lock, ::One::Image::LockRequest, ::One::ResponseID
56
+ rpc :Unlock, ::One::Image::UnlockRequest, ::One::ResponseID
57
+ rpc :Clone, ::One::Image::CloneRequest, ::One::ResponseID
58
+ rpc :Enable, ::One::Image::EnableRequest, ::One::ResponseID
59
+ rpc :Persistent, ::One::Image::PersistentRequest, ::One::ResponseID
60
+ rpc :Chtype, ::One::Image::ChtypeRequest, ::One::ResponseID
61
+ rpc :SnapshotDelete, ::One::Image::SnapshotDeleteRequest, ::One::ResponseID
62
+ rpc :SnapshotRevert, ::One::Image::SnapshotRevertRequest, ::One::ResponseID
63
+ rpc :SnapshotFlatten, ::One::Image::SnapshotFlattenRequest, ::One::ResponseID
64
+ rpc :Restore, ::One::Image::RestoreRequest, ::One::ResponseXML
65
+ rpc :PoolInfo, ::One::Image::PoolInfoRequest, ::One::ResponseXML
66
+ end
67
+
68
+ Stub = Service.rpc_stub_class
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: marketplace.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'shared_pb'
8
+
9
+
10
+ descriptor_data = "\n\x11marketplace.proto\x12\none.market\x1a\x0cshared.proto\"7\n\x0f\x41llocateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08template\x18\x02 \x01(\t\"0\n\rDeleteRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\"?\n\x0bInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07\x64\x65\x63rypt\x18\x03 \x01(\x08\"R\n\rUpdateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08template\x18\x03 \x01(\t\x12\x0e\n\x06\x61ppend\x18\x04 \x01(\x05\">\n\rRenameRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\"\xe6\x01\n\x0c\x43hmodRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08user_use\x18\x03 \x01(\x11\x12\x13\n\x0buser_manage\x18\x04 \x01(\x11\x12\x12\n\nuser_admin\x18\x05 \x01(\x11\x12\x11\n\tgroup_use\x18\x06 \x01(\x11\x12\x14\n\x0cgroup_manage\x18\x07 \x01(\x11\x12\x13\n\x0bgroup_admin\x18\x08 \x01(\x11\x12\x11\n\tother_use\x18\t \x01(\x11\x12\x14\n\x0cother_manage\x18\n \x01(\x11\x12\x13\n\x0bother_admin\x18\x0b \x01(\x11\"R\n\x0c\x43hownRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07user_id\x18\x03 \x01(\x11\x12\x10\n\x08group_id\x18\x04 \x01(\x11\"@\n\rEnableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0e\n\x06\x65nable\x18\x03 \x01(\x08\"4\n\x11\x41llocateDBRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03xml\x18\x02 \x01(\t\"?\n\x0fUpdateDBRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0b\n\x03xml\x18\x03 \x01(\t\"%\n\x0fPoolInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t2\xf4\x04\n\x12MarketPlaceService\x12\x38\n\x08\x41llocate\x12\x1b.one.market.AllocateRequest\x1a\x0f.one.ResponseID\x12\x34\n\x06\x44\x65lete\x12\x19.one.market.DeleteRequest\x1a\x0f.one.ResponseID\x12\x31\n\x04Info\x12\x17.one.market.InfoRequest\x1a\x10.one.ResponseXML\x12\x34\n\x06Update\x12\x19.one.market.UpdateRequest\x1a\x0f.one.ResponseID\x12\x34\n\x06Rename\x12\x19.one.market.RenameRequest\x1a\x0f.one.ResponseID\x12\x32\n\x05\x43hmod\x12\x18.one.market.ChmodRequest\x1a\x0f.one.ResponseID\x12\x32\n\x05\x43hown\x12\x18.one.market.ChownRequest\x1a\x0f.one.ResponseID\x12\x34\n\x06\x45nable\x12\x19.one.market.EnableRequest\x1a\x0f.one.ResponseID\x12<\n\nAllocateDB\x12\x1d.one.market.AllocateDBRequest\x1a\x0f.one.ResponseID\x12\x38\n\x08UpdateDB\x12\x1b.one.market.UpdateDBRequest\x1a\x0f.one.ResponseID\x12\x39\n\x08PoolInfo\x12\x1b.one.market.PoolInfoRequest\x1a\x10.one.ResponseXMLB?Z=github.com/OpenNebula/one/src/oca/go/src/goca/api/marketplaceb\x06proto3"
11
+
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module One
16
+ module Market
17
+ AllocateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.AllocateRequest").msgclass
18
+ DeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.DeleteRequest").msgclass
19
+ InfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.InfoRequest").msgclass
20
+ UpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.UpdateRequest").msgclass
21
+ RenameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.RenameRequest").msgclass
22
+ ChmodRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.ChmodRequest").msgclass
23
+ ChownRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.ChownRequest").msgclass
24
+ EnableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.EnableRequest").msgclass
25
+ AllocateDBRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.AllocateDBRequest").msgclass
26
+ UpdateDBRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.UpdateDBRequest").msgclass
27
+ PoolInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.market.PoolInfoRequest").msgclass
28
+ end
29
+ end
@@ -0,0 +1,64 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: marketplace.proto for package 'one.market'
3
+ # Original file comments:
4
+ # --------------------------------------------------------------------------
5
+ #
6
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems
7
+ #
8
+ #
9
+ #
10
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
11
+ #
12
+ # not use this file except in compliance with the License. You may obtain
13
+ #
14
+ # a copy of the License at
15
+ #
16
+ #
17
+ #
18
+ # http://www.apache.org/licenses/LICENSE-2.0
19
+ #
20
+ #
21
+ #
22
+ # Unless required by applicable law or agreed to in writing, software
23
+ #
24
+ # distributed under the License is distributed on an "AS IS" BASIS,
25
+ #
26
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ #
28
+ # See the License for the specific language governing permissions and
29
+ #
30
+ # limitations under the License.
31
+ #
32
+ # --------------------------------------------------------------------------
33
+
34
+ require 'grpc'
35
+ require 'marketplace_pb'
36
+
37
+ module One
38
+ module Market
39
+ module MarketPlaceService
40
+ class Service
41
+
42
+ include ::GRPC::GenericService
43
+
44
+ self.marshal_class_method = :encode
45
+ self.unmarshal_class_method = :decode
46
+ self.service_name = 'one.market.MarketPlaceService'
47
+
48
+ rpc :Allocate, ::One::Market::AllocateRequest, ::One::ResponseID
49
+ rpc :Delete, ::One::Market::DeleteRequest, ::One::ResponseID
50
+ rpc :Info, ::One::Market::InfoRequest, ::One::ResponseXML
51
+ rpc :Update, ::One::Market::UpdateRequest, ::One::ResponseID
52
+ rpc :Rename, ::One::Market::RenameRequest, ::One::ResponseID
53
+ rpc :Chmod, ::One::Market::ChmodRequest, ::One::ResponseID
54
+ rpc :Chown, ::One::Market::ChownRequest, ::One::ResponseID
55
+ rpc :Enable, ::One::Market::EnableRequest, ::One::ResponseID
56
+ rpc :AllocateDB, ::One::Market::AllocateDBRequest, ::One::ResponseID
57
+ rpc :UpdateDB, ::One::Market::UpdateDBRequest, ::One::ResponseID
58
+ rpc :PoolInfo, ::One::Market::PoolInfoRequest, ::One::ResponseXML
59
+ end
60
+
61
+ Stub = Service.rpc_stub_class
62
+ end
63
+ end
64
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: marketplaceapp.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'shared_pb'
8
+
9
+
10
+ descriptor_data = "\n\x14marketplaceapp.proto\x12\rone.marketapp\x1a\x0cshared.proto\"J\n\x0f\x41llocateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08template\x18\x02 \x01(\t\x12\x11\n\tmarket_id\x18\x03 \x01(\x05\"0\n\rDeleteRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\"?\n\x0bInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07\x64\x65\x63rypt\x18\x03 \x01(\x08\"R\n\rUpdateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08template\x18\x03 \x01(\t\x12\x0e\n\x06\x61ppend\x18\x04 \x01(\x05\">\n\rRenameRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\"\xe6\x01\n\x0c\x43hmodRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08user_use\x18\x03 \x01(\x11\x12\x13\n\x0buser_manage\x18\x04 \x01(\x11\x12\x12\n\nuser_admin\x18\x05 \x01(\x11\x12\x11\n\tgroup_use\x18\x06 \x01(\x11\x12\x14\n\x0cgroup_manage\x18\x07 \x01(\x11\x12\x13\n\x0bgroup_admin\x18\x08 \x01(\x11\x12\x11\n\tother_use\x18\t \x01(\x11\x12\x14\n\x0cother_manage\x18\n \x01(\x11\x12\x13\n\x0bother_admin\x18\x0b \x01(\x11\"R\n\x0c\x43hownRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07user_id\x18\x03 \x01(\x11\x12\x10\n\x08group_id\x18\x04 \x01(\x11\"@\n\rEnableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0e\n\x06\x65nable\x18\x03 \x01(\x08\"K\n\x0bLockRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\r\n\x05level\x18\x03 \x01(\x05\x12\x0c\n\x04test\x18\x04 \x01(\x08\"0\n\rUnlockRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\"4\n\x11\x41llocateDBRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03xml\x18\x02 \x01(\t\"?\n\x0fUpdateDBRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0b\n\x03xml\x18\x03 \x01(\t\"0\n\rDropDBRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\"V\n\x0fPoolInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ilter_flag\x18\x02 \x01(\x11\x12\r\n\x05start\x18\x03 \x01(\x11\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x11\x32\xbf\x06\n\x15MarketPlaceAppService\x12;\n\x08\x41llocate\x12\x1e.one.marketapp.AllocateRequest\x1a\x0f.one.ResponseID\x12\x37\n\x06\x44\x65lete\x12\x1c.one.marketapp.DeleteRequest\x1a\x0f.one.ResponseID\x12\x34\n\x04Info\x12\x1a.one.marketapp.InfoRequest\x1a\x10.one.ResponseXML\x12\x37\n\x06Update\x12\x1c.one.marketapp.UpdateRequest\x1a\x0f.one.ResponseID\x12\x37\n\x06Rename\x12\x1c.one.marketapp.RenameRequest\x1a\x0f.one.ResponseID\x12\x35\n\x05\x43hmod\x12\x1b.one.marketapp.ChmodRequest\x1a\x0f.one.ResponseID\x12\x35\n\x05\x43hown\x12\x1b.one.marketapp.ChownRequest\x1a\x0f.one.ResponseID\x12\x37\n\x06\x45nable\x12\x1c.one.marketapp.EnableRequest\x1a\x0f.one.ResponseID\x12\x33\n\x04Lock\x12\x1a.one.marketapp.LockRequest\x1a\x0f.one.ResponseID\x12\x37\n\x06Unlock\x12\x1c.one.marketapp.UnlockRequest\x1a\x0f.one.ResponseID\x12?\n\nAllocateDB\x12 .one.marketapp.AllocateDBRequest\x1a\x0f.one.ResponseID\x12;\n\x08UpdateDB\x12\x1e.one.marketapp.UpdateDBRequest\x1a\x0f.one.ResponseID\x12\x37\n\x06\x44ropDB\x12\x1c.one.marketapp.DropDBRequest\x1a\x0f.one.ResponseID\x12<\n\x08PoolInfo\x12\x1e.one.marketapp.PoolInfoRequest\x1a\x10.one.ResponseXMLBBZ@github.com/OpenNebula/one/src/oca/go/src/goca/api/marketplaceappb\x06proto3"
11
+
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module One
16
+ module Marketapp
17
+ AllocateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.AllocateRequest").msgclass
18
+ DeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.DeleteRequest").msgclass
19
+ InfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.InfoRequest").msgclass
20
+ UpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.UpdateRequest").msgclass
21
+ RenameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.RenameRequest").msgclass
22
+ ChmodRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.ChmodRequest").msgclass
23
+ ChownRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.ChownRequest").msgclass
24
+ EnableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.EnableRequest").msgclass
25
+ LockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.LockRequest").msgclass
26
+ UnlockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.UnlockRequest").msgclass
27
+ AllocateDBRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.AllocateDBRequest").msgclass
28
+ UpdateDBRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.UpdateDBRequest").msgclass
29
+ DropDBRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.DropDBRequest").msgclass
30
+ PoolInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.marketapp.PoolInfoRequest").msgclass
31
+ end
32
+ end
@@ -0,0 +1,67 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: marketplaceapp.proto for package 'one.marketapp'
3
+ # Original file comments:
4
+ # --------------------------------------------------------------------------
5
+ #
6
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems
7
+ #
8
+ #
9
+ #
10
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
11
+ #
12
+ # not use this file except in compliance with the License. You may obtain
13
+ #
14
+ # a copy of the License at
15
+ #
16
+ #
17
+ #
18
+ # http://www.apache.org/licenses/LICENSE-2.0
19
+ #
20
+ #
21
+ #
22
+ # Unless required by applicable law or agreed to in writing, software
23
+ #
24
+ # distributed under the License is distributed on an "AS IS" BASIS,
25
+ #
26
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ #
28
+ # See the License for the specific language governing permissions and
29
+ #
30
+ # limitations under the License.
31
+ #
32
+ # --------------------------------------------------------------------------
33
+
34
+ require 'grpc'
35
+ require 'marketplaceapp_pb'
36
+
37
+ module One
38
+ module Marketapp
39
+ module MarketPlaceAppService
40
+ class Service
41
+
42
+ include ::GRPC::GenericService
43
+
44
+ self.marshal_class_method = :encode
45
+ self.unmarshal_class_method = :decode
46
+ self.service_name = 'one.marketapp.MarketPlaceAppService'
47
+
48
+ rpc :Allocate, ::One::Marketapp::AllocateRequest, ::One::ResponseID
49
+ rpc :Delete, ::One::Marketapp::DeleteRequest, ::One::ResponseID
50
+ rpc :Info, ::One::Marketapp::InfoRequest, ::One::ResponseXML
51
+ rpc :Update, ::One::Marketapp::UpdateRequest, ::One::ResponseID
52
+ rpc :Rename, ::One::Marketapp::RenameRequest, ::One::ResponseID
53
+ rpc :Chmod, ::One::Marketapp::ChmodRequest, ::One::ResponseID
54
+ rpc :Chown, ::One::Marketapp::ChownRequest, ::One::ResponseID
55
+ rpc :Enable, ::One::Marketapp::EnableRequest, ::One::ResponseID
56
+ rpc :Lock, ::One::Marketapp::LockRequest, ::One::ResponseID
57
+ rpc :Unlock, ::One::Marketapp::UnlockRequest, ::One::ResponseID
58
+ rpc :AllocateDB, ::One::Marketapp::AllocateDBRequest, ::One::ResponseID
59
+ rpc :UpdateDB, ::One::Marketapp::UpdateDBRequest, ::One::ResponseID
60
+ rpc :DropDB, ::One::Marketapp::DropDBRequest, ::One::ResponseID
61
+ rpc :PoolInfo, ::One::Marketapp::PoolInfoRequest, ::One::ResponseXML
62
+ end
63
+
64
+ Stub = Service.rpc_stub_class
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,28 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: secgroup.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'shared_pb'
8
+
9
+
10
+ descriptor_data = "\n\x0esecgroup.proto\x12\x0cone.secgroup\x1a\x0cshared.proto\"7\n\x0f\x41llocateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08template\x18\x02 \x01(\t\"0\n\rDeleteRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\"?\n\x0bInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07\x64\x65\x63rypt\x18\x03 \x01(\x08\"R\n\rUpdateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08template\x18\x03 \x01(\t\x12\x0e\n\x06\x61ppend\x18\x04 \x01(\x05\">\n\rRenameRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\"\xe6\x01\n\x0c\x43hmodRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08user_use\x18\x03 \x01(\x11\x12\x13\n\x0buser_manage\x18\x04 \x01(\x11\x12\x12\n\nuser_admin\x18\x05 \x01(\x11\x12\x11\n\tgroup_use\x18\x06 \x01(\x11\x12\x14\n\x0cgroup_manage\x18\x07 \x01(\x11\x12\x13\n\x0bgroup_admin\x18\x08 \x01(\x11\x12\x11\n\tother_use\x18\t \x01(\x11\x12\x14\n\x0cother_manage\x18\n \x01(\x11\x12\x13\n\x0bother_admin\x18\x0b \x01(\x11\"R\n\x0c\x43hownRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07user_id\x18\x03 \x01(\x11\x12\x10\n\x08group_id\x18\x04 \x01(\x11\"=\n\x0c\x43loneRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\"B\n\rCommitRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08recovery\x18\x03 \x01(\x08\"V\n\x0fPoolInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ilter_flag\x18\x02 \x01(\x11\x12\r\n\x05start\x18\x03 \x01(\x11\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x11\x32\xc6\x04\n\x14SecurityGroupService\x12:\n\x08\x41llocate\x12\x1d.one.secgroup.AllocateRequest\x1a\x0f.one.ResponseID\x12\x36\n\x06\x44\x65lete\x12\x1b.one.secgroup.DeleteRequest\x1a\x0f.one.ResponseID\x12\x36\n\x06Update\x12\x1b.one.secgroup.UpdateRequest\x1a\x0f.one.ResponseID\x12\x36\n\x06Rename\x12\x1b.one.secgroup.RenameRequest\x1a\x0f.one.ResponseID\x12\x34\n\x05\x43hmod\x12\x1a.one.secgroup.ChmodRequest\x1a\x0f.one.ResponseID\x12\x34\n\x05\x43hown\x12\x1a.one.secgroup.ChownRequest\x1a\x0f.one.ResponseID\x12\x34\n\x05\x43lone\x12\x1a.one.secgroup.CloneRequest\x1a\x0f.one.ResponseID\x12\x36\n\x06\x43ommit\x12\x1b.one.secgroup.CommitRequest\x1a\x0f.one.ResponseID\x12\x33\n\x04Info\x12\x19.one.secgroup.InfoRequest\x1a\x10.one.ResponseXML\x12;\n\x08PoolInfo\x12\x1d.one.secgroup.PoolInfoRequest\x1a\x10.one.ResponseXMLB<Z:github.com/OpenNebula/one/src/oca/go/src/goca/api/secgroupb\x06proto3"
11
+
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module One
16
+ module Secgroup
17
+ AllocateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.AllocateRequest").msgclass
18
+ DeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.DeleteRequest").msgclass
19
+ InfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.InfoRequest").msgclass
20
+ UpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.UpdateRequest").msgclass
21
+ RenameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.RenameRequest").msgclass
22
+ ChmodRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.ChmodRequest").msgclass
23
+ ChownRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.ChownRequest").msgclass
24
+ CloneRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.CloneRequest").msgclass
25
+ CommitRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.CommitRequest").msgclass
26
+ PoolInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.secgroup.PoolInfoRequest").msgclass
27
+ end
28
+ end
@@ -0,0 +1,63 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: secgroup.proto for package 'one.secgroup'
3
+ # Original file comments:
4
+ # --------------------------------------------------------------------------
5
+ #
6
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems
7
+ #
8
+ #
9
+ #
10
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
11
+ #
12
+ # not use this file except in compliance with the License. You may obtain
13
+ #
14
+ # a copy of the License at
15
+ #
16
+ #
17
+ #
18
+ # http://www.apache.org/licenses/LICENSE-2.0
19
+ #
20
+ #
21
+ #
22
+ # Unless required by applicable law or agreed to in writing, software
23
+ #
24
+ # distributed under the License is distributed on an "AS IS" BASIS,
25
+ #
26
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ #
28
+ # See the License for the specific language governing permissions and
29
+ #
30
+ # limitations under the License.
31
+ #
32
+ # --------------------------------------------------------------------------
33
+
34
+ require 'grpc'
35
+ require 'secgroup_pb'
36
+
37
+ module One
38
+ module Secgroup
39
+ module SecurityGroupService
40
+ class Service
41
+
42
+ include ::GRPC::GenericService
43
+
44
+ self.marshal_class_method = :encode
45
+ self.unmarshal_class_method = :decode
46
+ self.service_name = 'one.secgroup.SecurityGroupService'
47
+
48
+ rpc :Allocate, ::One::Secgroup::AllocateRequest, ::One::ResponseID
49
+ rpc :Delete, ::One::Secgroup::DeleteRequest, ::One::ResponseID
50
+ rpc :Update, ::One::Secgroup::UpdateRequest, ::One::ResponseID
51
+ rpc :Rename, ::One::Secgroup::RenameRequest, ::One::ResponseID
52
+ rpc :Chmod, ::One::Secgroup::ChmodRequest, ::One::ResponseID
53
+ rpc :Chown, ::One::Secgroup::ChownRequest, ::One::ResponseID
54
+ rpc :Clone, ::One::Secgroup::CloneRequest, ::One::ResponseID
55
+ rpc :Commit, ::One::Secgroup::CommitRequest, ::One::ResponseID
56
+ rpc :Info, ::One::Secgroup::InfoRequest, ::One::ResponseXML
57
+ rpc :PoolInfo, ::One::Secgroup::PoolInfoRequest, ::One::ResponseXML
58
+ end
59
+
60
+ Stub = Service.rpc_stub_class
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: shared.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+
8
+ descriptor_data = "\n\x0cshared.proto\x12\x03one\"\x19\n\nResponseID\x12\x0b\n\x03oid\x18\x01 \x01(\x05\"\x1a\n\x0bResponseXML\x12\x0b\n\x03xml\x18\x01 \x01(\tB:Z8github.com/OpenNebula/one/src/oca/go/src/goca/api/sharedb\x06proto3"
9
+
10
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
12
+
13
+ module One
14
+ ResponseID = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.ResponseID").msgclass
15
+ ResponseXML = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.ResponseXML").msgclass
16
+ end
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: system.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'shared_pb'
8
+
9
+
10
+ descriptor_data = "\n\x0csystem.proto\x12\none.system\x1a\x0cshared.proto\"$\n\x0eVersionRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"#\n\rConfigRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\"?\n\nSqlRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03sql\x18\x02 \x01(\t\x12\x10\n\x08\x66\x65\x64\x65rate\x18\x03 \x01(\x08\"2\n\x0fSqlQueryRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03sql\x18\x02 \x01(\t2\xea\x01\n\rSystemService\x12\x37\n\x07Version\x12\x1a.one.system.VersionRequest\x1a\x10.one.ResponseXML\x12\x35\n\x06\x43onfig\x12\x19.one.system.ConfigRequest\x1a\x10.one.ResponseXML\x12.\n\x03Sql\x12\x16.one.system.SqlRequest\x1a\x0f.one.ResponseID\x12\x39\n\x08SqlQuery\x12\x1b.one.system.SqlQueryRequest\x1a\x10.one.ResponseXMLB:Z8github.com/OpenNebula/one/src/oca/go/src/goca/api/systemb\x06proto3"
11
+
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module One
16
+ module System
17
+ VersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.system.VersionRequest").msgclass
18
+ ConfigRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.system.ConfigRequest").msgclass
19
+ SqlRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.system.SqlRequest").msgclass
20
+ SqlQueryRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.system.SqlQueryRequest").msgclass
21
+ end
22
+ end
@@ -0,0 +1,57 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: system.proto for package 'one.system'
3
+ # Original file comments:
4
+ # --------------------------------------------------------------------------
5
+ #
6
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems
7
+ #
8
+ #
9
+ #
10
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
11
+ #
12
+ # not use this file except in compliance with the License. You may obtain
13
+ #
14
+ # a copy of the License at
15
+ #
16
+ #
17
+ #
18
+ # http://www.apache.org/licenses/LICENSE-2.0
19
+ #
20
+ #
21
+ #
22
+ # Unless required by applicable law or agreed to in writing, software
23
+ #
24
+ # distributed under the License is distributed on an "AS IS" BASIS,
25
+ #
26
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ #
28
+ # See the License for the specific language governing permissions and
29
+ #
30
+ # limitations under the License.
31
+ #
32
+ # --------------------------------------------------------------------------
33
+
34
+ require 'grpc'
35
+ require 'system_pb'
36
+
37
+ module One
38
+ module System
39
+ module SystemService
40
+ class Service
41
+
42
+ include ::GRPC::GenericService
43
+
44
+ self.marshal_class_method = :encode
45
+ self.unmarshal_class_method = :decode
46
+ self.service_name = 'one.system.SystemService'
47
+
48
+ rpc :Version, ::One::System::VersionRequest, ::One::ResponseXML
49
+ rpc :Config, ::One::System::ConfigRequest, ::One::ResponseXML
50
+ rpc :Sql, ::One::System::SqlRequest, ::One::ResponseID
51
+ rpc :SqlQuery, ::One::System::SqlQueryRequest, ::One::ResponseXML
52
+ end
53
+
54
+ Stub = Service.rpc_stub_class
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: template.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'shared_pb'
8
+
9
+
10
+ descriptor_data = "\n\x0etemplate.proto\x12\x08one.tmpl\x1a\x0cshared.proto\"7\n\x0f\x41llocateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08template\x18\x02 \x01(\t\"C\n\rDeleteRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x11\n\trecursive\x18\x03 \x01(\x08\"Q\n\x0bInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08\x65xtended\x18\x03 \x01(\x08\x12\x0f\n\x07\x64\x65\x63rypt\x18\x04 \x01(\x08\"R\n\rUpdateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08template\x18\x03 \x01(\t\x12\x0e\n\x06\x61ppend\x18\x04 \x01(\x05\">\n\rRenameRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\"\xf9\x01\n\x0c\x43hmodRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08user_use\x18\x03 \x01(\x11\x12\x13\n\x0buser_manage\x18\x04 \x01(\x11\x12\x12\n\nuser_admin\x18\x05 \x01(\x11\x12\x11\n\tgroup_use\x18\x06 \x01(\x11\x12\x14\n\x0cgroup_manage\x18\x07 \x01(\x11\x12\x13\n\x0bgroup_admin\x18\x08 \x01(\x11\x12\x11\n\tother_use\x18\t \x01(\x11\x12\x14\n\x0cother_manage\x18\n \x01(\x11\x12\x13\n\x0bother_admin\x18\x0b \x01(\x11\x12\x11\n\trecursive\x18\x0c \x01(\x08\"R\n\x0c\x43hownRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07user_id\x18\x03 \x01(\x11\x12\x10\n\x08group_id\x18\x04 \x01(\x11\"K\n\x0bLockRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\r\n\x05level\x18\x03 \x01(\x05\x12\x0c\n\x04test\x18\x04 \x01(\x08\"0\n\rUnlockRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\"P\n\x0c\x43loneRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x11\n\trecursive\x18\x04 \x01(\x08\"}\n\x12InstantiateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0c\n\x04hold\x18\x04 \x01(\x08\x12\x16\n\x0e\x65xtra_template\x18\x05 \x01(\t\x12\x12\n\npersistent\x18\x06 \x01(\x08\"V\n\x0fPoolInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ilter_flag\x18\x02 \x01(\x11\x12\r\n\x05start\x18\x03 \x01(\x11\x12\x0b\n\x03\x65nd\x18\x04 \x01(\x11\x32\x87\x05\n\x0fTemplateService\x12\x36\n\x08\x41llocate\x12\x19.one.tmpl.AllocateRequest\x1a\x0f.one.ResponseID\x12\x32\n\x06\x44\x65lete\x12\x17.one.tmpl.DeleteRequest\x1a\x0f.one.ResponseID\x12/\n\x04Info\x12\x15.one.tmpl.InfoRequest\x1a\x10.one.ResponseXML\x12\x32\n\x06Update\x12\x17.one.tmpl.UpdateRequest\x1a\x0f.one.ResponseID\x12\x32\n\x06Rename\x12\x17.one.tmpl.RenameRequest\x1a\x0f.one.ResponseID\x12\x30\n\x05\x43hmod\x12\x16.one.tmpl.ChmodRequest\x1a\x0f.one.ResponseID\x12\x30\n\x05\x43hown\x12\x16.one.tmpl.ChownRequest\x1a\x0f.one.ResponseID\x12.\n\x04Lock\x12\x15.one.tmpl.LockRequest\x1a\x0f.one.ResponseID\x12\x32\n\x06Unlock\x12\x17.one.tmpl.UnlockRequest\x1a\x0f.one.ResponseID\x12\x30\n\x05\x43lone\x12\x16.one.tmpl.CloneRequest\x1a\x0f.one.ResponseID\x12<\n\x0bInstantiate\x12\x1c.one.tmpl.InstantiateRequest\x1a\x0f.one.ResponseID\x12\x37\n\x08PoolInfo\x12\x19.one.tmpl.PoolInfoRequest\x1a\x10.one.ResponseXMLB<Z:github.com/OpenNebula/one/src/oca/go/src/goca/api/templateb\x06proto3"
11
+
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module One
16
+ module Tmpl
17
+ AllocateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.AllocateRequest").msgclass
18
+ DeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.DeleteRequest").msgclass
19
+ InfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.InfoRequest").msgclass
20
+ UpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.UpdateRequest").msgclass
21
+ RenameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.RenameRequest").msgclass
22
+ ChmodRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.ChmodRequest").msgclass
23
+ ChownRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.ChownRequest").msgclass
24
+ LockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.LockRequest").msgclass
25
+ UnlockRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.UnlockRequest").msgclass
26
+ CloneRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.CloneRequest").msgclass
27
+ InstantiateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.InstantiateRequest").msgclass
28
+ PoolInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.tmpl.PoolInfoRequest").msgclass
29
+ end
30
+ end
@@ -0,0 +1,65 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: template.proto for package 'one.tmpl'
3
+ # Original file comments:
4
+ # --------------------------------------------------------------------------
5
+ #
6
+ # Copyright 2002-2026, OpenNebula Project, OpenNebula Systems
7
+ #
8
+ #
9
+ #
10
+ # Licensed under the Apache License, Version 2.0 (the "License"); you may
11
+ #
12
+ # not use this file except in compliance with the License. You may obtain
13
+ #
14
+ # a copy of the License at
15
+ #
16
+ #
17
+ #
18
+ # http://www.apache.org/licenses/LICENSE-2.0
19
+ #
20
+ #
21
+ #
22
+ # Unless required by applicable law or agreed to in writing, software
23
+ #
24
+ # distributed under the License is distributed on an "AS IS" BASIS,
25
+ #
26
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ #
28
+ # See the License for the specific language governing permissions and
29
+ #
30
+ # limitations under the License.
31
+ #
32
+ # --------------------------------------------------------------------------
33
+
34
+ require 'grpc'
35
+ require 'template_pb'
36
+
37
+ module One
38
+ module Tmpl
39
+ module TemplateService
40
+ class Service
41
+
42
+ include ::GRPC::GenericService
43
+
44
+ self.marshal_class_method = :encode
45
+ self.unmarshal_class_method = :decode
46
+ self.service_name = 'one.tmpl.TemplateService'
47
+
48
+ rpc :Allocate, ::One::Tmpl::AllocateRequest, ::One::ResponseID
49
+ rpc :Delete, ::One::Tmpl::DeleteRequest, ::One::ResponseID
50
+ rpc :Info, ::One::Tmpl::InfoRequest, ::One::ResponseXML
51
+ rpc :Update, ::One::Tmpl::UpdateRequest, ::One::ResponseID
52
+ rpc :Rename, ::One::Tmpl::RenameRequest, ::One::ResponseID
53
+ rpc :Chmod, ::One::Tmpl::ChmodRequest, ::One::ResponseID
54
+ rpc :Chown, ::One::Tmpl::ChownRequest, ::One::ResponseID
55
+ rpc :Lock, ::One::Tmpl::LockRequest, ::One::ResponseID
56
+ rpc :Unlock, ::One::Tmpl::UnlockRequest, ::One::ResponseID
57
+ rpc :Clone, ::One::Tmpl::CloneRequest, ::One::ResponseID
58
+ rpc :Instantiate, ::One::Tmpl::InstantiateRequest, ::One::ResponseID
59
+ rpc :PoolInfo, ::One::Tmpl::PoolInfoRequest, ::One::ResponseXML
60
+ end
61
+
62
+ Stub = Service.rpc_stub_class
63
+ end
64
+ end
65
+ end
@@ -0,0 +1,32 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: user.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'shared_pb'
8
+
9
+
10
+ descriptor_data = "\n\nuser.proto\x12\x08one.user\x1a\x0cshared.proto\"l\n\x0f\x41llocateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x10\n\x08username\x18\x02 \x01(\t\x12\x10\n\x08password\x18\x03 \x01(\t\x12\x0e\n\x06\x64river\x18\x04 \x01(\t\x12\x11\n\tgroup_ids\x18\x05 \x03(\x05\"0\n\rDeleteRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\"?\n\x0bInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07\x64\x65\x63rypt\x18\x03 \x01(\x08\"R\n\rUpdateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08template\x18\x03 \x01(\t\x12\x0e\n\x06\x61ppend\x18\x04 \x01(\x05\"D\n\x0f\x41\x64\x64GroupRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08group_id\x18\x03 \x01(\x05\"\\\n\x11\x43hangeAuthRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08new_auth\x18\x03 \x01(\t\x12\x14\n\x0cnew_password\x18\x04 \x01(\t\"F\n\x12\x43hangeGroupRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07new_gid\x18\x03 \x01(\x05\"D\n\x0f\x44\x65lGroupRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x10\n\x08group_id\x18\x03 \x01(\x05\"@\n\rEnableRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0e\n\x06\x65nable\x18\x03 \x01(\x08\"]\n\x0cLoginRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05uname\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\r\n\x05valid\x18\x04 \x01(\x05\x12\x0c\n\x04\x65gid\x18\x05 \x01(\x05\"H\n\x0fPasswordRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x14\n\x0cnew_password\x18\x03 \x01(\t\">\n\x0cQuotaRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\r\n\x05quota\x18\x03 \x01(\t\">\n\x19\x44\x65\x66\x61ultQuotaUpdateRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05quota\x18\x02 \x01(\t\"%\n\x0fPoolInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t2\xe0\x06\n\x0bUserService\x12\x36\n\x08\x41llocate\x12\x19.one.user.AllocateRequest\x1a\x0f.one.ResponseID\x12\x32\n\x06\x44\x65lete\x12\x17.one.user.DeleteRequest\x1a\x0f.one.ResponseID\x12/\n\x04Info\x12\x15.one.user.InfoRequest\x1a\x10.one.ResponseXML\x12\x32\n\x06Update\x12\x17.one.user.UpdateRequest\x1a\x0f.one.ResponseID\x12\x31\n\x05Login\x12\x16.one.user.LoginRequest\x1a\x10.one.ResponseXML\x12\x32\n\x06\x45nable\x12\x17.one.user.EnableRequest\x1a\x0f.one.ResponseID\x12\x36\n\x08Password\x12\x19.one.user.PasswordRequest\x1a\x0f.one.ResponseID\x12:\n\nChangeAuth\x12\x1b.one.user.ChangeAuthRequest\x1a\x0f.one.ResponseID\x12\x30\n\x05Quota\x12\x16.one.user.QuotaRequest\x1a\x0f.one.ResponseID\x12<\n\x0b\x43hangeGroup\x12\x1c.one.user.ChangeGroupRequest\x1a\x0f.one.ResponseID\x12\x36\n\x08\x41\x64\x64Group\x12\x19.one.user.AddGroupRequest\x1a\x0f.one.ResponseID\x12\x36\n\x08\x44\x65lGroup\x12\x19.one.user.DelGroupRequest\x1a\x0f.one.ResponseID\x12?\n\x10\x44\x65\x66\x61ultQuotaInfo\x12\x19.one.user.PoolInfoRequest\x1a\x10.one.ResponseXML\x12K\n\x12\x44\x65\x66\x61ultQuotaUpdate\x12#.one.user.DefaultQuotaUpdateRequest\x1a\x10.one.ResponseXML\x12\x37\n\x08PoolInfo\x12\x19.one.user.PoolInfoRequest\x1a\x10.one.ResponseXMLB8Z6github.com/OpenNebula/one/src/oca/go/src/goca/api/userb\x06proto3"
11
+
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module One
16
+ module User
17
+ AllocateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.AllocateRequest").msgclass
18
+ DeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.DeleteRequest").msgclass
19
+ InfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.InfoRequest").msgclass
20
+ UpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.UpdateRequest").msgclass
21
+ AddGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.AddGroupRequest").msgclass
22
+ ChangeAuthRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.ChangeAuthRequest").msgclass
23
+ ChangeGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.ChangeGroupRequest").msgclass
24
+ DelGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.DelGroupRequest").msgclass
25
+ EnableRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.EnableRequest").msgclass
26
+ LoginRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.LoginRequest").msgclass
27
+ PasswordRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.PasswordRequest").msgclass
28
+ QuotaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.QuotaRequest").msgclass
29
+ DefaultQuotaUpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.DefaultQuotaUpdateRequest").msgclass
30
+ PoolInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.user.PoolInfoRequest").msgclass
31
+ end
32
+ end