Skip to content

Commit 3ffd348

Browse files
Shenwen YinSczlog
authored andcommitted
update to v2.22.0 schema
1 parent 7f3c85e commit 3ffd348

80 files changed

Lines changed: 21389 additions & 58 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.gitignore
2-
LICENSE
3-
README.md
2+
LICENSE.mustache
43
README.md
54
cloudtower/__init__.py
65
cloudtower/api/__init__.py
@@ -76,6 +75,7 @@ cloudtower/api/ovf_api.py
7675
cloudtower/api/pci_device_api.py
7776
cloudtower/api/pmem_dimm_api.py
7877
cloudtower/api/rack_topo_api.py
78+
cloudtower/api/registry_service_api.py
7979
cloudtower/api/replica_vm_api.py
8080
cloudtower/api/replication_plan_api.py
8181
cloudtower/api/replication_service_api.py
@@ -389,6 +389,7 @@ cloudtower/models/content_library_vm_template_updation_cluster_params.py
389389
cloudtower/models/content_library_vm_template_updation_cluster_params_data.py
390390
cloudtower/models/content_library_vm_template_updation_params.py
391391
cloudtower/models/content_library_vm_template_updation_params_data.py
392+
cloudtower/models/content_library_vm_template_usage.py
392393
cloudtower/models/content_library_vm_template_where_input.py
393394
cloudtower/models/content_library_vmdk_cdrom_modify.py
394395
cloudtower/models/content_library_vmdk_cdrom_mount.py
@@ -715,6 +716,8 @@ cloudtower/models/get_pmem_dimms_connection_request_body.py
715716
cloudtower/models/get_pmem_dimms_request_body.py
716717
cloudtower/models/get_rack_topoes_connection_request_body.py
717718
cloudtower/models/get_rack_topoes_request_body.py
719+
cloudtower/models/get_registry_services_connection_request_body.py
720+
cloudtower/models/get_registry_services_request_body.py
718721
cloudtower/models/get_replica_vms_connection_request_body.py
719722
cloudtower/models/get_replica_vms_request_body.py
720723
cloudtower/models/get_replication_plans_connection_request_body.py
@@ -960,6 +963,8 @@ cloudtower/models/license_order_by_input.py
960963
cloudtower/models/license_type.py
961964
cloudtower/models/license_updation_params.py
962965
cloudtower/models/license_where_input.py
966+
cloudtower/models/load_balancer_instance_group_where_input.py
967+
cloudtower/models/load_balancer_instance_where_input.py
963968
cloudtower/models/load_balancer_service_where_input.py
964969
cloudtower/models/log_collection.py
965970
cloudtower/models/log_collection_connection.py
@@ -1065,6 +1070,7 @@ cloudtower/models/nested_aggregate_nvmf_subsystem.py
10651070
cloudtower/models/nested_aggregate_organization.py
10661071
cloudtower/models/nested_aggregate_pmem_dimm.py
10671072
cloudtower/models/nested_aggregate_rack_topo.py
1073+
cloudtower/models/nested_aggregate_registry_service.py
10681074
cloudtower/models/nested_aggregate_replica_vm.py
10691075
cloudtower/models/nested_aggregate_replication_plan.py
10701076
cloudtower/models/nested_aggregate_replication_service.py
@@ -1428,6 +1434,11 @@ cloudtower/models/rack_topo_order_by_input.py
14281434
cloudtower/models/rack_topo_updation_params.py
14291435
cloudtower/models/rack_topo_updation_params_data.py
14301436
cloudtower/models/rack_topo_where_input.py
1437+
cloudtower/models/registry_service.py
1438+
cloudtower/models/registry_service_connection.py
1439+
cloudtower/models/registry_service_order_by_input.py
1440+
cloudtower/models/registry_service_usage.py
1441+
cloudtower/models/registry_service_where_input.py
14311442
cloudtower/models/remove_clusters_from_datacenter_params.py
14321443
cloudtower/models/replica_name_rule.py
14331444
cloudtower/models/replica_vm.py
@@ -1565,6 +1576,7 @@ cloudtower/models/svt_image.py
15651576
cloudtower/models/svt_image_connection.py
15661577
cloudtower/models/svt_image_order_by_input.py
15671578
cloudtower/models/svt_image_where_input.py
1579+
cloudtower/models/sync_replication_plan_where_input.py
15681580
cloudtower/models/system_audit_log.py
15691581
cloudtower/models/system_audit_log_connection.py
15701582
cloudtower/models/system_audit_log_order_by_input.py
@@ -1865,6 +1877,7 @@ cloudtower/models/vm_placement_group_deletion_params.py
18651877
cloudtower/models/vm_placement_group_order_by_input.py
18661878
cloudtower/models/vm_placement_group_updation_params.py
18671879
cloudtower/models/vm_placement_group_updation_params_data.py
1880+
cloudtower/models/vm_placement_group_usage.py
18681881
cloudtower/models/vm_placement_group_where_input.py
18691882
cloudtower/models/vm_rebuild_params.py
18701883
cloudtower/models/vm_remove_cd_rom_params.py
@@ -1956,6 +1969,8 @@ cloudtower/models/vm_where_input.py
19561969
cloudtower/models/vm_where_unique_input.py
19571970
cloudtower/models/vmdk_cdrom_modify.py
19581971
cloudtower/models/vmdk_disk_modify.py
1972+
cloudtower/models/vnet_bond_group_where_input.py
1973+
cloudtower/models/vnet_bond_network_type.py
19591974
cloudtower/models/vnet_bond_where_input.py
19601975
cloudtower/models/vpc_nic_params.py
19611976
cloudtower/models/vsphere_esxi_account.py

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,21 @@
33
Python 环境下的 Cloudtower SDK,适用于 2.7 与 3.4 以上版本。
44

55
- [源码地址](https://github.com/smartxworks/cloudtower-python-sdk)
6-
- [下载地址](https://github.com/smartxworks/cloudtower-python-sdk/releases)
7-
- [通用指南](https://cloudtower-api-doc.vercel.app)
6+
- [下载地址](https://github.com/smartxworks/cloudtower-python-sdk)
87

98
## 安装
109

1110
- ### whl
1211

1312
```shell
14-
pip install cloudtower_sdk-2.21.0-py2.py3-none-any.whl
13+
pip install cloudtower_sdk-2.22.0-py2.py3-none-any.whl
1514
```
1615

1716
- ### tar.gz
1817

1918
```shell
20-
tar xvzf cloudtower-sdk-2.21.0.tar.gz
21-
cd cloudtower-sdk-2.21.0
19+
tar xvzf cloudtower-sdk--2.22.0.tar.gz
20+
cd cloudtower-sdk--2.22.0
2221
python setup.py install
2322
```
2423

@@ -133,7 +132,7 @@ try:
133132
wait_tasks([res.task_id for res in start_res], api_client)
134133
except ApiException as e:
135134
# 处理错误
136-
else:
135+
137136
# task完成后的回调
138137
```
139138

RELEASENOTE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# RELEASE NOTE
22

3+
## release 日期 2026-02-09
4+
5+
v2.22.0 release (tower version 4.8.0)
6+
7+
### features
8+
9+
- 增加 [RegistryServiceApi] 用于镜像仓库的查询
10+
- [BackupPlanApi] [get_backup_plan_without_executions] 提供不返回 execution 的备份计划查询 API
11+
- [ReplicationPlanApi] [get_replication_plan_without_executions] 提供不返回 execution 的复制计划查询 API
12+
- [Host] 新增字段 dirty_cache_space, dirty_cache_usage 和 failure_cache_space
13+
- [Cluster] 新增字段 dirty_cache_space, dirty_cache_usage 和 failure_cache_space
14+
- [ClusterSettings] 新增字段 default_storage_policy_stripe_num
15+
- [VmVolumeSnapshot] 新增字段 elf_storage_policy_stripe_num
16+
- [VmVolume] 新增字段 elf_storage_policy_stripe_num
17+
- [NestedVirtualPrivateCloudService] 新增字段 everoute_cluster
18+
- [VmNic] 新增字段 guest_info_ip_addresses 和 guest_info_ip_addresses_v6
19+
320
## release 日期 2025-10-14
421

522
v2.21.0 release (tower version 4.7.0)

cloudtower/__init__.py

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# flake8: noqa
44
from __future__ import absolute_import
55

6-
__version__ = "2.21.0"
6+
__version__ = "2.22.0"
77

88
# import apis into sdk package
99
from cloudtower.api.alert_api import AlertApi
@@ -78,6 +78,7 @@
7878
from cloudtower.api.pci_device_api import PciDeviceApi
7979
from cloudtower.api.pmem_dimm_api import PmemDimmApi
8080
from cloudtower.api.rack_topo_api import RackTopoApi
81+
from cloudtower.api.registry_service_api import RegistryServiceApi
8182
from cloudtower.api.replica_vm_api import ReplicaVmApi
8283
from cloudtower.api.replication_plan_api import ReplicationPlanApi
8384
from cloudtower.api.replication_service_api import ReplicationServiceApi
@@ -397,6 +398,7 @@
397398
from cloudtower.models.content_library_vm_template_updation_cluster_params_data import ContentLibraryVmTemplateUpdationClusterParamsData
398399
from cloudtower.models.content_library_vm_template_updation_params import ContentLibraryVmTemplateUpdationParams
399400
from cloudtower.models.content_library_vm_template_updation_params_data import ContentLibraryVmTemplateUpdationParamsData
401+
from cloudtower.models.content_library_vm_template_usage import ContentLibraryVmTemplateUsage
400402
from cloudtower.models.content_library_vm_template_where_input import ContentLibraryVmTemplateWhereInput
401403
from cloudtower.models.content_library_vmdk_cdrom_modify import ContentLibraryVmdkCdromModify
402404
from cloudtower.models.content_library_vmdk_cdrom_mount import ContentLibraryVmdkCdromMount
@@ -723,6 +725,8 @@
723725
from cloudtower.models.get_pmem_dimms_request_body import GetPmemDimmsRequestBody
724726
from cloudtower.models.get_rack_topoes_connection_request_body import GetRackTopoesConnectionRequestBody
725727
from cloudtower.models.get_rack_topoes_request_body import GetRackTopoesRequestBody
728+
from cloudtower.models.get_registry_services_connection_request_body import GetRegistryServicesConnectionRequestBody
729+
from cloudtower.models.get_registry_services_request_body import GetRegistryServicesRequestBody
726730
from cloudtower.models.get_replica_vms_connection_request_body import GetReplicaVmsConnectionRequestBody
727731
from cloudtower.models.get_replica_vms_request_body import GetReplicaVmsRequestBody
728732
from cloudtower.models.get_replication_plans_connection_request_body import GetReplicationPlansConnectionRequestBody
@@ -968,6 +972,8 @@
968972
from cloudtower.models.license_type import LicenseType
969973
from cloudtower.models.license_updation_params import LicenseUpdationParams
970974
from cloudtower.models.license_where_input import LicenseWhereInput
975+
from cloudtower.models.load_balancer_instance_group_where_input import LoadBalancerInstanceGroupWhereInput
976+
from cloudtower.models.load_balancer_instance_where_input import LoadBalancerInstanceWhereInput
971977
from cloudtower.models.load_balancer_service_where_input import LoadBalancerServiceWhereInput
972978
from cloudtower.models.log_collection import LogCollection
973979
from cloudtower.models.log_collection_connection import LogCollectionConnection
@@ -1073,6 +1079,7 @@
10731079
from cloudtower.models.nested_aggregate_organization import NestedAggregateOrganization
10741080
from cloudtower.models.nested_aggregate_pmem_dimm import NestedAggregatePmemDimm
10751081
from cloudtower.models.nested_aggregate_rack_topo import NestedAggregateRackTopo
1082+
from cloudtower.models.nested_aggregate_registry_service import NestedAggregateRegistryService
10761083
from cloudtower.models.nested_aggregate_replica_vm import NestedAggregateReplicaVm
10771084
from cloudtower.models.nested_aggregate_replication_plan import NestedAggregateReplicationPlan
10781085
from cloudtower.models.nested_aggregate_replication_service import NestedAggregateReplicationService
@@ -1437,6 +1444,11 @@
14371444
from cloudtower.models.rack_topo_updation_params import RackTopoUpdationParams
14381445
from cloudtower.models.rack_topo_updation_params_data import RackTopoUpdationParamsData
14391446
from cloudtower.models.rack_topo_where_input import RackTopoWhereInput
1447+
from cloudtower.models.registry_service import RegistryService
1448+
from cloudtower.models.registry_service_connection import RegistryServiceConnection
1449+
from cloudtower.models.registry_service_order_by_input import RegistryServiceOrderByInput
1450+
from cloudtower.models.registry_service_usage import RegistryServiceUsage
1451+
from cloudtower.models.registry_service_where_input import RegistryServiceWhereInput
14401452
from cloudtower.models.remove_clusters_from_datacenter_params import RemoveClustersFromDatacenterParams
14411453
from cloudtower.models.replica_name_rule import ReplicaNameRule
14421454
from cloudtower.models.replica_vm import ReplicaVm
@@ -1573,6 +1585,7 @@
15731585
from cloudtower.models.svt_image_connection import SvtImageConnection
15741586
from cloudtower.models.svt_image_order_by_input import SvtImageOrderByInput
15751587
from cloudtower.models.svt_image_where_input import SvtImageWhereInput
1588+
from cloudtower.models.sync_replication_plan_where_input import SyncReplicationPlanWhereInput
15761589
from cloudtower.models.system_audit_log import SystemAuditLog
15771590
from cloudtower.models.system_audit_log_connection import SystemAuditLogConnection
15781591
from cloudtower.models.system_audit_log_order_by_input import SystemAuditLogOrderByInput
@@ -1873,6 +1886,7 @@
18731886
from cloudtower.models.vm_placement_group_order_by_input import VmPlacementGroupOrderByInput
18741887
from cloudtower.models.vm_placement_group_updation_params import VmPlacementGroupUpdationParams
18751888
from cloudtower.models.vm_placement_group_updation_params_data import VmPlacementGroupUpdationParamsData
1889+
from cloudtower.models.vm_placement_group_usage import VmPlacementGroupUsage
18761890
from cloudtower.models.vm_placement_group_where_input import VmPlacementGroupWhereInput
18771891
from cloudtower.models.vm_rebuild_params import VmRebuildParams
18781892
from cloudtower.models.vm_remove_cd_rom_params import VmRemoveCdRomParams
@@ -1964,6 +1978,8 @@
19641978
from cloudtower.models.vm_where_unique_input import VmWhereUniqueInput
19651979
from cloudtower.models.vmdk_cdrom_modify import VmdkCdromModify
19661980
from cloudtower.models.vmdk_disk_modify import VmdkDiskModify
1981+
from cloudtower.models.vnet_bond_group_where_input import VnetBondGroupWhereInput
1982+
from cloudtower.models.vnet_bond_network_type import VnetBondNetworkType
19671983
from cloudtower.models.vnet_bond_where_input import VnetBondWhereInput
19681984
from cloudtower.models.vpc_nic_params import VpcNicParams
19691985
from cloudtower.models.vsphere_esxi_account import VsphereEsxiAccount

cloudtower/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
from cloudtower.api.pci_device_api import PciDeviceApi
7676
from cloudtower.api.pmem_dimm_api import PmemDimmApi
7777
from cloudtower.api.rack_topo_api import RackTopoApi
78+
from cloudtower.api.registry_service_api import RegistryServiceApi
7879
from cloudtower.api.replica_vm_api import ReplicaVmApi
7980
from cloudtower.api.replication_plan_api import ReplicationPlanApi
8081
from cloudtower.api.replication_service_api import ReplicationServiceApi

0 commit comments

Comments
 (0)