opennebula 7.0.2 → 7.1.80.pre

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 (79) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cloud/CloudClient.rb +1 -1
  3. data/lib/opennebula/acl.rb +11 -13
  4. data/lib/opennebula/cluster_pool.rb +2 -0
  5. data/lib/opennebula/datastore_pool.rb +2 -0
  6. data/lib/opennebula/document.rb +1 -1
  7. data/lib/opennebula/document_json.rb +1 -0
  8. data/lib/opennebula/document_pool_json.rb +2 -0
  9. data/lib/opennebula/error.rb +8 -2
  10. data/lib/opennebula/flow/service_pool.rb +2 -0
  11. data/lib/opennebula/flow/service_template.rb +1 -0
  12. data/lib/opennebula/group.rb +3 -0
  13. data/lib/opennebula/group_pool.rb +2 -0
  14. data/lib/opennebula/grpc/acl_pb.rb +21 -0
  15. data/lib/opennebula/grpc/acl_services_pb.rb +56 -0
  16. data/lib/opennebula/grpc/backupjob_pb.rb +35 -0
  17. data/lib/opennebula/grpc/backupjob_services_pb.rb +70 -0
  18. data/lib/opennebula/grpc/cluster_pb.rb +33 -0
  19. data/lib/opennebula/grpc/cluster_services_pb.rb +38 -0
  20. data/lib/opennebula/grpc/datastore_pb.rb +27 -0
  21. data/lib/opennebula/grpc/datastore_services_pb.rb +62 -0
  22. data/lib/opennebula/grpc/document_pb.rb +29 -0
  23. data/lib/opennebula/grpc/document_services_pb.rb +64 -0
  24. data/lib/opennebula/grpc/group_pb.rb +27 -0
  25. data/lib/opennebula/grpc/group_services_pb.rb +63 -0
  26. data/lib/opennebula/grpc/hook_pb.rb +28 -0
  27. data/lib/opennebula/grpc/hook_services_pb.rb +63 -0
  28. data/lib/opennebula/grpc/host_pb.rb +27 -0
  29. data/lib/opennebula/grpc/host_services_pb.rb +62 -0
  30. data/lib/opennebula/grpc/image_pb.rb +36 -0
  31. data/lib/opennebula/grpc/image_services_pb.rb +71 -0
  32. data/lib/opennebula/grpc/marketplace_pb.rb +29 -0
  33. data/lib/opennebula/grpc/marketplace_services_pb.rb +64 -0
  34. data/lib/opennebula/grpc/marketplaceapp_pb.rb +32 -0
  35. data/lib/opennebula/grpc/marketplaceapp_services_pb.rb +67 -0
  36. data/lib/opennebula/grpc/secgroup_pb.rb +28 -0
  37. data/lib/opennebula/grpc/secgroup_services_pb.rb +63 -0
  38. data/lib/opennebula/grpc/shared_pb.rb +16 -0
  39. data/lib/opennebula/grpc/system_pb.rb +22 -0
  40. data/lib/opennebula/grpc/system_services_pb.rb +57 -0
  41. data/lib/opennebula/grpc/template_pb.rb +30 -0
  42. data/lib/opennebula/grpc/template_services_pb.rb +65 -0
  43. data/lib/opennebula/grpc/user_pb.rb +32 -0
  44. data/lib/opennebula/grpc/user_services_pb.rb +68 -0
  45. data/lib/opennebula/grpc/vdc_pb.rb +34 -0
  46. data/lib/opennebula/grpc/vdc_services_pb.rb +69 -0
  47. data/lib/opennebula/grpc/vm_pb.rb +66 -0
  48. data/lib/opennebula/grpc/vm_services_pb.rb +102 -0
  49. data/lib/opennebula/grpc/vmgroup_pb.rb +31 -0
  50. data/lib/opennebula/grpc/vmgroup_services_pb.rb +66 -0
  51. data/lib/opennebula/grpc/vn_pb.rb +36 -0
  52. data/lib/opennebula/grpc/vn_services_pb.rb +71 -0
  53. data/lib/opennebula/grpc/vntemplate_pb.rb +30 -0
  54. data/lib/opennebula/grpc/vntemplate_services_pb.rb +65 -0
  55. data/lib/opennebula/grpc/vrouter_pb.rb +31 -0
  56. data/lib/opennebula/grpc/vrouter_services_pb.rb +66 -0
  57. data/lib/opennebula/grpc/zone_pb.rb +36 -0
  58. data/lib/opennebula/grpc/zone_services_pb.rb +68 -0
  59. data/lib/opennebula/host.rb +2 -0
  60. data/lib/opennebula/host_pool.rb +2 -0
  61. data/lib/opennebula/ldap_auth.rb +1 -1
  62. data/lib/opennebula/lockable_ext.rb +12 -23
  63. data/lib/opennebula/marketplaceapp_ext.rb +3 -0
  64. data/lib/opennebula/oneform_client.rb +320 -0
  65. data/lib/opennebula/pool.rb +2 -1
  66. data/lib/opennebula/pool_element.rb +8 -8
  67. data/lib/opennebula/saml_auth.rb +1 -1
  68. data/lib/opennebula/user_pool.rb +1 -0
  69. data/lib/opennebula/version.rb +22 -0
  70. data/lib/opennebula/virtual_machine.rb +34 -2
  71. data/lib/opennebula/virtual_machine_ext.rb +2 -0
  72. data/lib/opennebula/virtual_network_pool.rb +2 -0
  73. data/lib/opennebula/wait_ext.rb +1 -0
  74. data/lib/opennebula/xml_element.rb +1 -0
  75. data/lib/opennebula/xml_utils.rb +2 -2
  76. data/lib/opennebula/zone.rb +4 -3
  77. data/lib/opennebula.rb +2 -13
  78. metadata +51 -5
  79. data/lib/opennebula/client.rb +0 -228
@@ -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-2025, 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-2025, 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-2025, 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-2025, 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
@@ -0,0 +1,68 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: user.proto for package 'one.user'
3
+ # Original file comments:
4
+ # --------------------------------------------------------------------------
5
+ #
6
+ # Copyright 2002-2025, 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 'user_pb'
36
+
37
+ module One
38
+ module User
39
+ module UserService
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.user.UserService'
47
+
48
+ rpc :Allocate, ::One::User::AllocateRequest, ::One::ResponseID
49
+ rpc :Delete, ::One::User::DeleteRequest, ::One::ResponseID
50
+ rpc :Info, ::One::User::InfoRequest, ::One::ResponseXML
51
+ rpc :Update, ::One::User::UpdateRequest, ::One::ResponseID
52
+ rpc :Login, ::One::User::LoginRequest, ::One::ResponseXML
53
+ rpc :Enable, ::One::User::EnableRequest, ::One::ResponseID
54
+ rpc :Password, ::One::User::PasswordRequest, ::One::ResponseID
55
+ rpc :ChangeAuth, ::One::User::ChangeAuthRequest, ::One::ResponseID
56
+ rpc :Quota, ::One::User::QuotaRequest, ::One::ResponseID
57
+ rpc :ChangeGroup, ::One::User::ChangeGroupRequest, ::One::ResponseID
58
+ rpc :AddGroup, ::One::User::AddGroupRequest, ::One::ResponseID
59
+ rpc :DelGroup, ::One::User::DelGroupRequest, ::One::ResponseID
60
+ rpc :DefaultQuotaInfo, ::One::User::PoolInfoRequest, ::One::ResponseXML
61
+ rpc :DefaultQuotaUpdate, ::One::User::DefaultQuotaUpdateRequest, ::One::ResponseXML
62
+ rpc :PoolInfo, ::One::User::PoolInfoRequest, ::One::ResponseXML
63
+ end
64
+
65
+ Stub = Service.rpc_stub_class
66
+ end
67
+ end
68
+ end
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: vdc.proto
4
+
5
+ require 'google/protobuf'
6
+
7
+ require 'shared_pb'
8
+
9
+
10
+ descriptor_data = "\n\tvdc.proto\x12\x07one.vdc\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\"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\"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\"Y\n\x11\x41\x64\x64\x43lusterRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07zone_id\x18\x03 \x01(\x05\x12\x12\n\ncluster_id\x18\x04 \x01(\x05\"Y\n\x11\x44\x65lClusterRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07zone_id\x18\x03 \x01(\x05\x12\x12\n\ncluster_id\x18\x04 \x01(\x05\"S\n\x0e\x41\x64\x64HostRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07zone_id\x18\x03 \x01(\x05\x12\x0f\n\x07host_id\x18\x04 \x01(\x05\"S\n\x0e\x44\x65lHostRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07zone_id\x18\x03 \x01(\x05\x12\x0f\n\x07host_id\x18\x04 \x01(\x05\"V\n\x13\x41\x64\x64\x44\x61tastoreRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07zone_id\x18\x03 \x01(\x05\x12\r\n\x05\x64s_id\x18\x04 \x01(\x05\"V\n\x13\x44\x65lDatastoreRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07zone_id\x18\x03 \x01(\x05\x12\r\n\x05\x64s_id\x18\x04 \x01(\x05\"S\n\x0e\x41\x64\x64VnetRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07zone_id\x18\x03 \x01(\x05\x12\x0f\n\x07vnet_id\x18\x04 \x01(\x05\"S\n\x0e\x44\x65lVnetRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x0b\n\x03oid\x18\x02 \x01(\x05\x12\x0f\n\x07zone_id\x18\x03 \x01(\x05\x12\x0f\n\x07vnet_id\x18\x04 \x01(\x05\"%\n\x0fPoolInfoRequest\x12\x12\n\nsession_id\x18\x01 \x01(\t2\xfa\x06\n\nVdcService\x12\x35\n\x08\x41llocate\x12\x18.one.vdc.AllocateRequest\x1a\x0f.one.ResponseID\x12\x31\n\x06\x44\x65lete\x12\x16.one.vdc.DeleteRequest\x1a\x0f.one.ResponseID\x12.\n\x04Info\x12\x14.one.vdc.InfoRequest\x1a\x10.one.ResponseXML\x12\x31\n\x06Update\x12\x16.one.vdc.UpdateRequest\x1a\x0f.one.ResponseID\x12\x31\n\x06Rename\x12\x16.one.vdc.RenameRequest\x1a\x0f.one.ResponseID\x12\x35\n\x08\x41\x64\x64Group\x12\x18.one.vdc.AddGroupRequest\x1a\x0f.one.ResponseID\x12\x35\n\x08\x44\x65lGroup\x12\x18.one.vdc.DelGroupRequest\x1a\x0f.one.ResponseID\x12\x39\n\nAddCluster\x12\x1a.one.vdc.AddClusterRequest\x1a\x0f.one.ResponseID\x12\x39\n\nDelCluster\x12\x1a.one.vdc.DelClusterRequest\x1a\x0f.one.ResponseID\x12\x33\n\x07\x41\x64\x64Host\x12\x17.one.vdc.AddHostRequest\x1a\x0f.one.ResponseID\x12\x33\n\x07\x44\x65lHost\x12\x17.one.vdc.DelHostRequest\x1a\x0f.one.ResponseID\x12=\n\x0c\x41\x64\x64\x44\x61tastore\x12\x1c.one.vdc.AddDatastoreRequest\x1a\x0f.one.ResponseID\x12=\n\x0c\x44\x65lDatastore\x12\x1c.one.vdc.DelDatastoreRequest\x1a\x0f.one.ResponseID\x12\x33\n\x07\x41\x64\x64Vnet\x12\x17.one.vdc.AddVnetRequest\x1a\x0f.one.ResponseID\x12\x33\n\x07\x44\x65lVnet\x12\x17.one.vdc.DelVnetRequest\x1a\x0f.one.ResponseID\x12\x36\n\x08PoolInfo\x12\x18.one.vdc.PoolInfoRequest\x1a\x10.one.ResponseXMLB7Z5github.com/OpenNebula/one/src/oca/go/src/goca/api/vdcb\x06proto3"
11
+
12
+ pool = ::Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
14
+
15
+ module One
16
+ module Vdc
17
+ AllocateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.AllocateRequest").msgclass
18
+ DeleteRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.DeleteRequest").msgclass
19
+ InfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.InfoRequest").msgclass
20
+ UpdateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.UpdateRequest").msgclass
21
+ RenameRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.RenameRequest").msgclass
22
+ AddGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.AddGroupRequest").msgclass
23
+ DelGroupRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.DelGroupRequest").msgclass
24
+ AddClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.AddClusterRequest").msgclass
25
+ DelClusterRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.DelClusterRequest").msgclass
26
+ AddHostRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.AddHostRequest").msgclass
27
+ DelHostRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.DelHostRequest").msgclass
28
+ AddDatastoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.AddDatastoreRequest").msgclass
29
+ DelDatastoreRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.DelDatastoreRequest").msgclass
30
+ AddVnetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.AddVnetRequest").msgclass
31
+ DelVnetRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.DelVnetRequest").msgclass
32
+ PoolInfoRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("one.vdc.PoolInfoRequest").msgclass
33
+ end
34
+ end
@@ -0,0 +1,69 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: vdc.proto for package 'one.vdc'
3
+ # Original file comments:
4
+ # --------------------------------------------------------------------------
5
+ #
6
+ # Copyright 2002-2025, 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 'vdc_pb'
36
+
37
+ module One
38
+ module Vdc
39
+ module VdcService
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.vdc.VdcService'
47
+
48
+ rpc :Allocate, ::One::Vdc::AllocateRequest, ::One::ResponseID
49
+ rpc :Delete, ::One::Vdc::DeleteRequest, ::One::ResponseID
50
+ rpc :Info, ::One::Vdc::InfoRequest, ::One::ResponseXML
51
+ rpc :Update, ::One::Vdc::UpdateRequest, ::One::ResponseID
52
+ rpc :Rename, ::One::Vdc::RenameRequest, ::One::ResponseID
53
+ rpc :AddGroup, ::One::Vdc::AddGroupRequest, ::One::ResponseID
54
+ rpc :DelGroup, ::One::Vdc::DelGroupRequest, ::One::ResponseID
55
+ rpc :AddCluster, ::One::Vdc::AddClusterRequest, ::One::ResponseID
56
+ rpc :DelCluster, ::One::Vdc::DelClusterRequest, ::One::ResponseID
57
+ rpc :AddHost, ::One::Vdc::AddHostRequest, ::One::ResponseID
58
+ rpc :DelHost, ::One::Vdc::DelHostRequest, ::One::ResponseID
59
+ rpc :AddDatastore, ::One::Vdc::AddDatastoreRequest, ::One::ResponseID
60
+ rpc :DelDatastore, ::One::Vdc::DelDatastoreRequest, ::One::ResponseID
61
+ rpc :AddVnet, ::One::Vdc::AddVnetRequest, ::One::ResponseID
62
+ rpc :DelVnet, ::One::Vdc::DelVnetRequest, ::One::ResponseID
63
+ rpc :PoolInfo, ::One::Vdc::PoolInfoRequest, ::One::ResponseXML
64
+ end
65
+
66
+ Stub = Service.rpc_stub_class
67
+ end
68
+ end
69
+ end