rpyc-pve-cloud 0.2.0rc2__tar.gz → 0.2.0rc4__tar.gz

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 (19) hide show
  1. {rpyc_pve_cloud-0.2.0rc2/src/rpyc_pve_cloud.egg-info → rpyc_pve_cloud-0.2.0rc4}/PKG-INFO +2 -2
  2. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/requirements.txt +1 -1
  3. rpyc_pve_cloud-0.2.0rc4/src/pve_cloud_rpc/_version.py +1 -0
  4. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/pve_cloud_rpc/protos/cloud_pb2.py +29 -25
  5. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/pve_cloud_rpc/protos/cloud_pb2_grpc.py +43 -0
  6. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/pve_cloud_rpc/server.py +17 -5
  7. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4/src/rpyc_pve_cloud.egg-info}/PKG-INFO +2 -2
  8. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/rpyc_pve_cloud.egg-info/requires.txt +1 -1
  9. rpyc_pve_cloud-0.2.0rc2/src/pve_cloud_rpc/_version.py +0 -1
  10. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/LICENSE.md +0 -0
  11. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/README.md +0 -0
  12. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/pyproject.toml +0 -0
  13. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/setup.cfg +0 -0
  14. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/pve_cloud_rpc/protos/health_pb2.py +0 -0
  15. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/pve_cloud_rpc/protos/health_pb2_grpc.py +0 -0
  16. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/rpyc_pve_cloud.egg-info/SOURCES.txt +0 -0
  17. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/rpyc_pve_cloud.egg-info/dependency_links.txt +0 -0
  18. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/rpyc_pve_cloud.egg-info/entry_points.txt +0 -0
  19. {rpyc_pve_cloud-0.2.0rc2 → rpyc_pve_cloud-0.2.0rc4}/src/rpyc_pve_cloud.egg-info/top_level.txt +0 -0
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rpyc-pve-cloud
3
- Version: 0.2.0rc2
3
+ Version: 0.2.0rc4
4
4
  Author-email: Tobias Huebner <tobias.huebner@vmzberlin.com>
5
5
  License-Expression: GPL-3.0-or-later
6
6
  License-File: LICENSE.md
7
- Requires-Dist: py-pve-cloud==0.15.0rc2
7
+ Requires-Dist: py-pve-cloud==0.15.0rc5
8
8
  Requires-Dist: grpcio==1.76.0
9
9
  Requires-Dist: asyncssh==2.22.0
10
10
  Requires-Dist: protobuf==6.33.4
@@ -1,5 +1,5 @@
1
1
  # pessimistic operator for local tdd installs (pip install -e .)
2
- py-pve-cloud==0.15.0rc2
2
+ py-pve-cloud==0.15.0rc5
3
3
  grpcio==1.76.0
4
4
  asyncssh==2.22.0
5
5
  protobuf==6.33.4
@@ -0,0 +1 @@
1
+ __version__ = "0.2.0-rc4"
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
24
24
 
25
25
 
26
26
 
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x63loud.proto\x12\x06protos\",\n\x16GetPveInventoryRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"B\n\x17GetPveInventoryResponse\x12\x11\n\tinventory\x18\x01 \x01(\t\x12\x14\n\x0c\x63loud_domain\x18\x02 \x01(\t\"+\n\x15GetProxmoxHostRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"*\n\x16GetProxmoxHostResponse\x12\x10\n\x08pve_host\x18\x01 \x01(\t\"\xa9\x01\n\x14GetProxmoxApiRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x10\n\x08\x61pi_path\x18\x02 \x01(\t\x12;\n\x08get_args\x18\x03 \x03(\x0b\x32).protos.GetProxmoxApiRequest.GetArgsEntry\x1a.\n\x0cGetArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x15GetProxmoxApiResponse\x12\x11\n\tjson_resp\x18\x01 \x01(\t\"\xb8\x01\n\x17\x43reateProxmoxApiRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x10\n\x08\x61pi_path\x18\x02 \x01(\t\x12\x44\n\x0b\x63reate_args\x18\x03 \x03(\x0b\x32/.protos.CreateProxmoxApiRequest.CreateArgsEntry\x1a\x31\n\x0f\x43reateArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"@\n\x18\x43reateProxmoxApiResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\"?\n\x17\x44\x65leteProxmoxApiRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x10\n\x08\x61pi_path\x18\x02 \x01(\t\"@\n\x18\x44\x65leteProxmoxApiResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\"\x87\x01\n\x10GetSshKeyRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x32\n\x08key_type\x18\x02 \x01(\x0e\x32 .protos.GetSshKeyRequest.KeyType\"+\n\x07KeyType\x12\x0e\n\nAUTOMATION\x10\x00\x12\x10\n\x0cPVE_HOST_RSA\x10\x01\" \n\x11GetSshKeyResponse\x12\x0b\n\x03key\x18\x01 \x01(\t\"*\n\x14GetCephAccessRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"A\n\x15GetCephAccessResponse\x12\x11\n\tceph_conf\x18\x01 \x01(\t\x12\x15\n\radmin_keyring\x18\x02 \x01(\t\">\n\x14GetKubeconfigRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x12\n\nstack_name\x18\x02 \x01(\t\"\'\n\x15GetKubeconfigResponse\x12\x0e\n\x06\x63onfig\x18\x01 \x01(\t\"+\n\x15GetClusterVarsRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"&\n\x16GetClusterVarsResponse\x12\x0c\n\x04vars\x18\x01 \x01(\t\"T\n\x19GetCloudFileSecretRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x13\n\x0bsecret_name\x18\x02 \x01(\t\x12\x0e\n\x06rstrip\x18\x03 \x01(\x08\",\n\x1aGetCloudFileSecretResponse\x12\x0e\n\x06secret\x18\x01 \x01(\t\"m\n\x18\x43reateCloudSecretRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x13\n\x0bsecret_name\x18\x02 \x01(\t\x12\x13\n\x0bsecret_data\x18\x03 \x01(\t\x12\x13\n\x0bsecret_type\x18\x04 \x01(\t\"A\n\x19\x43reateCloudSecretResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\"C\n\x18\x44\x65leteCloudSecretRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x13\n\x0bsecret_name\x18\x02 \x01(\t\"A\n\x19\x44\x65leteCloudSecretResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\"@\n\x15GetCloudSecretRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x13\n\x0bsecret_name\x18\x02 \x01(\t\"(\n\x16GetCloudSecretResponse\x12\x0e\n\x06secret\x18\x01 \x01(\t\"A\n\x16GetCloudSecretsRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x13\n\x0bsecret_type\x18\x02 \x01(\t\"*\n\x17GetCloudSecretsResponse\x12\x0f\n\x07secrets\x18\x01 \x01(\t\">\n\x15GetVmVarsBlakeRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x11\n\tblake_ids\x18\x02 \x03(\t\"\x94\x01\n\x16GetVmVarsBlakeResponse\x12\x46\n\rblake_id_vars\x18\x01 \x03(\x0b\x32/.protos.GetVmVarsBlakeResponse.BlakeIdVarsEntry\x1a\x32\n\x10\x42lakeIdVarsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32\xeb\t\n\x0c\x43loudService\x12R\n\x13GetMasterKubeconfig\x12\x1c.protos.GetKubeconfigRequest\x1a\x1d.protos.GetKubeconfigResponse\x12O\n\x0eGetClusterVars\x12\x1d.protos.GetClusterVarsRequest\x1a\x1e.protos.GetClusterVarsResponse\x12[\n\x12GetCloudFileSecret\x12!.protos.GetCloudFileSecretRequest\x1a\".protos.GetCloudFileSecretResponse\x12X\n\x11\x43reateCloudSecret\x12 .protos.CreateCloudSecretRequest\x1a!.protos.CreateCloudSecretResponse\x12X\n\x11\x44\x65leteCloudSecret\x12 .protos.DeleteCloudSecretRequest\x1a!.protos.DeleteCloudSecretResponse\x12O\n\x0eGetCloudSecret\x12\x1d.protos.GetCloudSecretRequest\x1a\x1e.protos.GetCloudSecretResponse\x12R\n\x0fGetCloudSecrets\x12\x1e.protos.GetCloudSecretsRequest\x1a\x1f.protos.GetCloudSecretsResponse\x12L\n\rGetCephAccess\x12\x1c.protos.GetCephAccessRequest\x1a\x1d.protos.GetCephAccessResponse\x12@\n\tGetSshKey\x12\x18.protos.GetSshKeyRequest\x1a\x19.protos.GetSshKeyResponse\x12L\n\rGetProxmoxApi\x12\x1c.protos.GetProxmoxApiRequest\x1a\x1d.protos.GetProxmoxApiResponse\x12U\n\x10\x43reateProxmoxApi\x12\x1f.protos.CreateProxmoxApiRequest\x1a .protos.CreateProxmoxApiResponse\x12U\n\x10\x44\x65leteProxmoxApi\x12\x1f.protos.DeleteProxmoxApiRequest\x1a .protos.DeleteProxmoxApiResponse\x12O\n\x0eGetProxmoxHost\x12\x1d.protos.GetProxmoxHostRequest\x1a\x1e.protos.GetProxmoxHostResponse\x12R\n\x0fGetPveInventory\x12\x1e.protos.GetPveInventoryRequest\x1a\x1f.protos.GetPveInventoryResponse\x12O\n\x0eGetVmVarsBlake\x12\x1d.protos.GetVmVarsBlakeRequest\x1a\x1e.protos.GetVmVarsBlakeResponseBQZOgithub.com/Proxmox-Cloud/terraform-provider-pxc/internal/provider/protos;protosb\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x63loud.proto\x12\x06protos\",\n\x16GetPveInventoryRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"B\n\x17GetPveInventoryResponse\x12\x11\n\tinventory\x18\x01 \x01(\t\x12\x14\n\x0c\x63loud_domain\x18\x02 \x01(\t\"+\n\x15GetProxmoxHostRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"*\n\x16GetProxmoxHostResponse\x12\x10\n\x08pve_host\x18\x01 \x01(\t\"\xa9\x01\n\x14GetProxmoxApiRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x10\n\x08\x61pi_path\x18\x02 \x01(\t\x12;\n\x08get_args\x18\x03 \x03(\x0b\x32).protos.GetProxmoxApiRequest.GetArgsEntry\x1a.\n\x0cGetArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x15GetProxmoxApiResponse\x12\x11\n\tjson_resp\x18\x01 \x01(\t\"\xb8\x01\n\x17\x43reateProxmoxApiRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x10\n\x08\x61pi_path\x18\x02 \x01(\t\x12\x44\n\x0b\x63reate_args\x18\x03 \x03(\x0b\x32/.protos.CreateProxmoxApiRequest.CreateArgsEntry\x1a\x31\n\x0f\x43reateArgsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"@\n\x18\x43reateProxmoxApiResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\"?\n\x17\x44\x65leteProxmoxApiRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x10\n\x08\x61pi_path\x18\x02 \x01(\t\"@\n\x18\x44\x65leteProxmoxApiResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\"\x87\x01\n\x10GetSshKeyRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x32\n\x08key_type\x18\x02 \x01(\x0e\x32 .protos.GetSshKeyRequest.KeyType\"+\n\x07KeyType\x12\x0e\n\nAUTOMATION\x10\x00\x12\x10\n\x0cPVE_HOST_RSA\x10\x01\" \n\x11GetSshKeyResponse\x12\x0b\n\x03key\x18\x01 \x01(\t\"*\n\x14GetCephAccessRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"A\n\x15GetCephAccessResponse\x12\x11\n\tceph_conf\x18\x01 \x01(\t\x12\x15\n\radmin_keyring\x18\x02 \x01(\t\">\n\x14GetKubeconfigRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x12\n\nstack_name\x18\x02 \x01(\t\"\'\n\x15GetKubeconfigResponse\x12\x0e\n\x06\x63onfig\x18\x01 \x01(\t\"+\n\x15GetClusterVarsRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"&\n\x16GetClusterVarsResponse\x12\x0c\n\x04vars\x18\x01 \x01(\t\"T\n\x19GetCloudFileSecretRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x13\n\x0bsecret_name\x18\x02 \x01(\t\x12\x0e\n\x06rstrip\x18\x03 \x01(\x08\",\n\x1aGetCloudFileSecretResponse\x12\x0e\n\x06secret\x18\x01 \x01(\t\"\x83\x01\n\x18\x43reateCloudSecretRequest\x12\x14\n\x0c\x63loud_domain\x18\x01 \x01(\t\x12\x12\n\ntarget_pve\x18\x02 \x01(\t\x12\x13\n\x0bsecret_name\x18\x03 \x01(\t\x12\x13\n\x0bsecret_data\x18\x04 \x01(\t\x12\x13\n\x0bsecret_type\x18\x05 \x01(\t\"A\n\x19\x43reateCloudSecretResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\"Y\n\x18\x44\x65leteCloudSecretRequest\x12\x14\n\x0c\x63loud_domain\x18\x01 \x01(\t\x12\x12\n\ntarget_pve\x18\x02 \x01(\t\x12\x13\n\x0bsecret_name\x18\x03 \x01(\t\"A\n\x19\x44\x65leteCloudSecretResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x13\n\x0b\x65rr_message\x18\x02 \x01(\t\"V\n\x15GetCloudSecretRequest\x12\x14\n\x0c\x63loud_domain\x18\x01 \x01(\t\x12\x12\n\ntarget_pve\x18\x02 \x01(\t\x12\x13\n\x0bsecret_name\x18\x03 \x01(\t\"(\n\x16GetCloudSecretResponse\x12\x0e\n\x06secret\x18\x01 \x01(\t\"W\n\x16GetCloudSecretsRequest\x12\x14\n\x0c\x63loud_domain\x18\x01 \x01(\t\x12\x12\n\ntarget_pve\x18\x02 \x01(\t\x12\x13\n\x0bsecret_type\x18\x03 \x01(\t\"*\n\x17GetCloudSecretsResponse\x12\x0f\n\x07secrets\x18\x01 \x01(\t\"T\n\x15GetVmVarsBlakeRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\x12\x14\n\x0c\x63loud_domain\x18\x02 \x01(\t\x12\x11\n\tblake_ids\x18\x03 \x03(\t\"\x94\x01\n\x16GetVmVarsBlakeResponse\x12\x46\n\rblake_id_vars\x18\x01 \x03(\x0b\x32/.protos.GetVmVarsBlakeResponse.BlakeIdVarsEntry\x1a\x32\n\x10\x42lakeIdVarsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"+\n\x15GetCloudDomainRequest\x12\x12\n\ntarget_pve\x18\x01 \x01(\t\"(\n\x16GetCloudDomainResponse\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t2\xbc\n\n\x0c\x43loudService\x12R\n\x13GetMasterKubeconfig\x12\x1c.protos.GetKubeconfigRequest\x1a\x1d.protos.GetKubeconfigResponse\x12O\n\x0eGetClusterVars\x12\x1d.protos.GetClusterVarsRequest\x1a\x1e.protos.GetClusterVarsResponse\x12[\n\x12GetCloudFileSecret\x12!.protos.GetCloudFileSecretRequest\x1a\".protos.GetCloudFileSecretResponse\x12X\n\x11\x43reateCloudSecret\x12 .protos.CreateCloudSecretRequest\x1a!.protos.CreateCloudSecretResponse\x12X\n\x11\x44\x65leteCloudSecret\x12 .protos.DeleteCloudSecretRequest\x1a!.protos.DeleteCloudSecretResponse\x12O\n\x0eGetCloudSecret\x12\x1d.protos.GetCloudSecretRequest\x1a\x1e.protos.GetCloudSecretResponse\x12R\n\x0fGetCloudSecrets\x12\x1e.protos.GetCloudSecretsRequest\x1a\x1f.protos.GetCloudSecretsResponse\x12L\n\rGetCephAccess\x12\x1c.protos.GetCephAccessRequest\x1a\x1d.protos.GetCephAccessResponse\x12@\n\tGetSshKey\x12\x18.protos.GetSshKeyRequest\x1a\x19.protos.GetSshKeyResponse\x12L\n\rGetProxmoxApi\x12\x1c.protos.GetProxmoxApiRequest\x1a\x1d.protos.GetProxmoxApiResponse\x12U\n\x10\x43reateProxmoxApi\x12\x1f.protos.CreateProxmoxApiRequest\x1a .protos.CreateProxmoxApiResponse\x12U\n\x10\x44\x65leteProxmoxApi\x12\x1f.protos.DeleteProxmoxApiRequest\x1a .protos.DeleteProxmoxApiResponse\x12O\n\x0eGetProxmoxHost\x12\x1d.protos.GetProxmoxHostRequest\x1a\x1e.protos.GetProxmoxHostResponse\x12R\n\x0fGetPveInventory\x12\x1e.protos.GetPveInventoryRequest\x1a\x1f.protos.GetPveInventoryResponse\x12O\n\x0eGetCloudDomain\x12\x1d.protos.GetCloudDomainRequest\x1a\x1e.protos.GetCloudDomainResponse\x12O\n\x0eGetVmVarsBlake\x12\x1d.protos.GetVmVarsBlakeRequest\x1a\x1e.protos.GetVmVarsBlakeResponseBQZOgithub.com/Proxmox-Cloud/terraform-provider-pxc/internal/provider/protos;protosb\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -84,28 +84,32 @@ if not _descriptor._USE_C_DESCRIPTORS:
84
84
  _globals['_GETCLOUDFILESECRETREQUEST']._serialized_end=1383
85
85
  _globals['_GETCLOUDFILESECRETRESPONSE']._serialized_start=1385
86
86
  _globals['_GETCLOUDFILESECRETRESPONSE']._serialized_end=1429
87
- _globals['_CREATECLOUDSECRETREQUEST']._serialized_start=1431
88
- _globals['_CREATECLOUDSECRETREQUEST']._serialized_end=1540
89
- _globals['_CREATECLOUDSECRETRESPONSE']._serialized_start=1542
90
- _globals['_CREATECLOUDSECRETRESPONSE']._serialized_end=1607
91
- _globals['_DELETECLOUDSECRETREQUEST']._serialized_start=1609
92
- _globals['_DELETECLOUDSECRETREQUEST']._serialized_end=1676
93
- _globals['_DELETECLOUDSECRETRESPONSE']._serialized_start=1678
94
- _globals['_DELETECLOUDSECRETRESPONSE']._serialized_end=1743
95
- _globals['_GETCLOUDSECRETREQUEST']._serialized_start=1745
96
- _globals['_GETCLOUDSECRETREQUEST']._serialized_end=1809
97
- _globals['_GETCLOUDSECRETRESPONSE']._serialized_start=1811
98
- _globals['_GETCLOUDSECRETRESPONSE']._serialized_end=1851
99
- _globals['_GETCLOUDSECRETSREQUEST']._serialized_start=1853
100
- _globals['_GETCLOUDSECRETSREQUEST']._serialized_end=1918
101
- _globals['_GETCLOUDSECRETSRESPONSE']._serialized_start=1920
102
- _globals['_GETCLOUDSECRETSRESPONSE']._serialized_end=1962
103
- _globals['_GETVMVARSBLAKEREQUEST']._serialized_start=1964
104
- _globals['_GETVMVARSBLAKEREQUEST']._serialized_end=2026
105
- _globals['_GETVMVARSBLAKERESPONSE']._serialized_start=2029
106
- _globals['_GETVMVARSBLAKERESPONSE']._serialized_end=2177
107
- _globals['_GETVMVARSBLAKERESPONSE_BLAKEIDVARSENTRY']._serialized_start=2127
108
- _globals['_GETVMVARSBLAKERESPONSE_BLAKEIDVARSENTRY']._serialized_end=2177
109
- _globals['_CLOUDSERVICE']._serialized_start=2180
110
- _globals['_CLOUDSERVICE']._serialized_end=3439
87
+ _globals['_CREATECLOUDSECRETREQUEST']._serialized_start=1432
88
+ _globals['_CREATECLOUDSECRETREQUEST']._serialized_end=1563
89
+ _globals['_CREATECLOUDSECRETRESPONSE']._serialized_start=1565
90
+ _globals['_CREATECLOUDSECRETRESPONSE']._serialized_end=1630
91
+ _globals['_DELETECLOUDSECRETREQUEST']._serialized_start=1632
92
+ _globals['_DELETECLOUDSECRETREQUEST']._serialized_end=1721
93
+ _globals['_DELETECLOUDSECRETRESPONSE']._serialized_start=1723
94
+ _globals['_DELETECLOUDSECRETRESPONSE']._serialized_end=1788
95
+ _globals['_GETCLOUDSECRETREQUEST']._serialized_start=1790
96
+ _globals['_GETCLOUDSECRETREQUEST']._serialized_end=1876
97
+ _globals['_GETCLOUDSECRETRESPONSE']._serialized_start=1878
98
+ _globals['_GETCLOUDSECRETRESPONSE']._serialized_end=1918
99
+ _globals['_GETCLOUDSECRETSREQUEST']._serialized_start=1920
100
+ _globals['_GETCLOUDSECRETSREQUEST']._serialized_end=2007
101
+ _globals['_GETCLOUDSECRETSRESPONSE']._serialized_start=2009
102
+ _globals['_GETCLOUDSECRETSRESPONSE']._serialized_end=2051
103
+ _globals['_GETVMVARSBLAKEREQUEST']._serialized_start=2053
104
+ _globals['_GETVMVARSBLAKEREQUEST']._serialized_end=2137
105
+ _globals['_GETVMVARSBLAKERESPONSE']._serialized_start=2140
106
+ _globals['_GETVMVARSBLAKERESPONSE']._serialized_end=2288
107
+ _globals['_GETVMVARSBLAKERESPONSE_BLAKEIDVARSENTRY']._serialized_start=2238
108
+ _globals['_GETVMVARSBLAKERESPONSE_BLAKEIDVARSENTRY']._serialized_end=2288
109
+ _globals['_GETCLOUDDOMAINREQUEST']._serialized_start=2290
110
+ _globals['_GETCLOUDDOMAINREQUEST']._serialized_end=2333
111
+ _globals['_GETCLOUDDOMAINRESPONSE']._serialized_start=2335
112
+ _globals['_GETCLOUDDOMAINRESPONSE']._serialized_end=2375
113
+ _globals['_CLOUDSERVICE']._serialized_start=2378
114
+ _globals['_CLOUDSERVICE']._serialized_end=3718
111
115
  # @@protoc_insertion_point(module_scope)
@@ -104,6 +104,11 @@ class CloudServiceStub(object):
104
104
  request_serializer=cloud__pb2.GetPveInventoryRequest.SerializeToString,
105
105
  response_deserializer=cloud__pb2.GetPveInventoryResponse.FromString,
106
106
  _registered_method=True)
107
+ self.GetCloudDomain = channel.unary_unary(
108
+ '/protos.CloudService/GetCloudDomain',
109
+ request_serializer=cloud__pb2.GetCloudDomainRequest.SerializeToString,
110
+ response_deserializer=cloud__pb2.GetCloudDomainResponse.FromString,
111
+ _registered_method=True)
107
112
  self.GetVmVarsBlake = channel.unary_unary(
108
113
  '/protos.CloudService/GetVmVarsBlake',
109
114
  request_serializer=cloud__pb2.GetVmVarsBlakeRequest.SerializeToString,
@@ -198,6 +203,12 @@ class CloudServiceServicer(object):
198
203
  context.set_details('Method not implemented!')
199
204
  raise NotImplementedError('Method not implemented!')
200
205
 
206
+ def GetCloudDomain(self, request, context):
207
+ """Missing associated documentation comment in .proto file."""
208
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
209
+ context.set_details('Method not implemented!')
210
+ raise NotImplementedError('Method not implemented!')
211
+
201
212
  def GetVmVarsBlake(self, request, context):
202
213
  """Missing associated documentation comment in .proto file."""
203
214
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
@@ -277,6 +288,11 @@ def add_CloudServiceServicer_to_server(servicer, server):
277
288
  request_deserializer=cloud__pb2.GetPveInventoryRequest.FromString,
278
289
  response_serializer=cloud__pb2.GetPveInventoryResponse.SerializeToString,
279
290
  ),
291
+ 'GetCloudDomain': grpc.unary_unary_rpc_method_handler(
292
+ servicer.GetCloudDomain,
293
+ request_deserializer=cloud__pb2.GetCloudDomainRequest.FromString,
294
+ response_serializer=cloud__pb2.GetCloudDomainResponse.SerializeToString,
295
+ ),
280
296
  'GetVmVarsBlake': grpc.unary_unary_rpc_method_handler(
281
297
  servicer.GetVmVarsBlake,
282
298
  request_deserializer=cloud__pb2.GetVmVarsBlakeRequest.FromString,
@@ -671,6 +687,33 @@ class CloudService(object):
671
687
  metadata,
672
688
  _registered_method=True)
673
689
 
690
+ @staticmethod
691
+ def GetCloudDomain(request,
692
+ target,
693
+ options=(),
694
+ channel_credentials=None,
695
+ call_credentials=None,
696
+ insecure=False,
697
+ compression=None,
698
+ wait_for_ready=None,
699
+ timeout=None,
700
+ metadata=None):
701
+ return grpc.experimental.unary_unary(
702
+ request,
703
+ target,
704
+ '/protos.CloudService/GetCloudDomain',
705
+ cloud__pb2.GetCloudDomainRequest.SerializeToString,
706
+ cloud__pb2.GetCloudDomainResponse.FromString,
707
+ options,
708
+ channel_credentials,
709
+ insecure,
710
+ call_credentials,
711
+ compression,
712
+ wait_for_ready,
713
+ timeout,
714
+ metadata,
715
+ _registered_method=True)
716
+
674
717
  @staticmethod
675
718
  def GetVmVarsBlake(request,
676
719
  target,
@@ -105,6 +105,7 @@ class CloudServiceServicer(cloud_pb2_grpc.CloudServiceServicer):
105
105
  # non file proxmox cloud secrets are stored in the patroni database
106
106
  async def CreateCloudSecret(self, request, context):
107
107
  target_pve = request.target_pve
108
+ cloud_domain = request.cloud_domain
108
109
  secret_name = request.secret_name
109
110
  secret_data = json.loads(request.secret_data)
110
111
  secret_type = request.secret_type
@@ -116,7 +117,7 @@ class CloudServiceServicer(cloud_pb2_grpc.CloudServiceServicer):
116
117
  try:
117
118
  session.add(
118
119
  ProxmoxCloudSecrets(
119
- target_pve=target_pve,
120
+ cloud_domain=cloud_domain,
120
121
  secret_name=secret_name,
121
122
  secret_data=secret_data,
122
123
  secret_type=secret_type,
@@ -135,13 +136,14 @@ class CloudServiceServicer(cloud_pb2_grpc.CloudServiceServicer):
135
136
  async def DeleteCloudSecret(self, request, context):
136
137
  target_pve = request.target_pve
137
138
  secret_name = request.secret_name
139
+ cloud_domain = request.cloud_domain
138
140
 
139
141
  online_pve_host = get_online_pve_host(target_pve, skip_py_cloud_check=True)
140
142
  engine = await get_engine(online_pve_host)
141
143
 
142
144
  with Session(engine) as session:
143
145
  stmt = delete(ProxmoxCloudSecrets).where(
144
- ProxmoxCloudSecrets.target_pve == target_pve,
146
+ ProxmoxCloudSecrets.cloud_domain == cloud_domain,
145
147
  ProxmoxCloudSecrets.secret_name == secret_name,
146
148
  )
147
149
 
@@ -153,13 +155,14 @@ class CloudServiceServicer(cloud_pb2_grpc.CloudServiceServicer):
153
155
  async def GetCloudSecret(self, request, context):
154
156
  target_pve = request.target_pve
155
157
  secret_name = request.secret_name
158
+ cloud_domain = request.cloud_domain
156
159
 
157
160
  online_pve_host = get_online_pve_host(target_pve, skip_py_cloud_check=True)
158
161
  engine = await get_engine(online_pve_host)
159
162
 
160
163
  with Session(engine) as session:
161
164
  stmt = select(ProxmoxCloudSecrets).where(
162
- ProxmoxCloudSecrets.target_pve == target_pve
165
+ ProxmoxCloudSecrets.cloud_domain == cloud_domain
163
166
  and ProxmoxCloudSecrets.secret_name == secret_name
164
167
  )
165
168
  record = session.scalars(stmt).first()
@@ -170,13 +173,14 @@ class CloudServiceServicer(cloud_pb2_grpc.CloudServiceServicer):
170
173
  async def GetCloudSecrets(self, request, context):
171
174
  target_pve = request.target_pve
172
175
  secret_type = request.secret_type
176
+ cloud_domain = request.cloud_domain
173
177
 
174
178
  online_pve_host = get_online_pve_host(target_pve, skip_py_cloud_check=True)
175
179
  engine = await get_engine(online_pve_host)
176
180
 
177
181
  with Session(engine) as session:
178
182
  stmt = select(ProxmoxCloudSecrets).where(
179
- ProxmoxCloudSecrets.target_pve == target_pve,
183
+ ProxmoxCloudSecrets.cloud_domain == cloud_domain,
180
184
  ProxmoxCloudSecrets.secret_type == secret_type,
181
185
  )
182
186
  records = session.scalars(stmt).all()
@@ -190,13 +194,15 @@ class CloudServiceServicer(cloud_pb2_grpc.CloudServiceServicer):
190
194
  async def GetVmVarsBlake(self, request, context):
191
195
  blake_ids = request.blake_ids
192
196
  target_pve = request.target_pve
197
+ cloud_domain = request.cloud_domain
193
198
 
194
199
  online_pve_host = get_online_pve_host(target_pve, skip_py_cloud_check=True)
195
200
  engine = await get_engine(online_pve_host)
196
201
 
197
202
  with Session(engine) as session:
198
203
  stmt = select(VirtualMachineVars).where(
199
- VirtualMachineVars.blake_id.in_(blake_ids)
204
+ VirtualMachineVars.blake_id.in_(blake_ids),
205
+ VirtualMachineVars.cloud_domain == cloud_domain,
200
206
  )
201
207
  records = session.scalars(stmt).all()
202
208
 
@@ -317,6 +323,12 @@ class CloudServiceServicer(cloud_pb2_grpc.CloudServiceServicer):
317
323
 
318
324
  return cloud_pb2.GetProxmoxHostResponse(pve_host=online_pve_host)
319
325
 
326
+ async def GetCloudDomain(self, request, context):
327
+ target_pve = request.target_pve
328
+
329
+ cloud_domain = get_cloud_domain(target_pve)
330
+ return cloud_pb2.GetCloudDomainResponse(domain=cloud_domain)
331
+
320
332
  async def GetPveInventory(self, request, context):
321
333
  target_pve = request.target_pve
322
334
 
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rpyc-pve-cloud
3
- Version: 0.2.0rc2
3
+ Version: 0.2.0rc4
4
4
  Author-email: Tobias Huebner <tobias.huebner@vmzberlin.com>
5
5
  License-Expression: GPL-3.0-or-later
6
6
  License-File: LICENSE.md
7
- Requires-Dist: py-pve-cloud==0.15.0rc2
7
+ Requires-Dist: py-pve-cloud==0.15.0rc5
8
8
  Requires-Dist: grpcio==1.76.0
9
9
  Requires-Dist: asyncssh==2.22.0
10
10
  Requires-Dist: protobuf==6.33.4
@@ -1,4 +1,4 @@
1
- py-pve-cloud==0.15.0rc2
1
+ py-pve-cloud==0.15.0rc5
2
2
  grpcio==1.76.0
3
3
  asyncssh==2.22.0
4
4
  protobuf==6.33.4
@@ -1 +0,0 @@
1
- __version__ = "0.2.0-rc2"