Skip to content

Commit 0870d0d

Browse files
committed
update to v2.14.0 schema
1 parent 2c11cf0 commit 0870d0d

File tree

163 files changed

+17442
-4915
lines changed

Some content is hidden

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

163 files changed

+17442
-4915
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,4 @@ target/
6464

6565
#Ipython Notebook
6666
.ipynb_checkpoints
67+
.pypirc

.openapi-generator/FILES

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,8 @@ cloudtower/models/consistent_type.py
239239
cloudtower/models/content_library_image.py
240240
cloudtower/models/content_library_image_connection.py
241241
cloudtower/models/content_library_image_deletion_params.py
242+
cloudtower/models/content_library_image_import_data.py
243+
cloudtower/models/content_library_image_import_params.py
242244
cloudtower/models/content_library_image_order_by_input.py
243245
cloudtower/models/content_library_image_updation_cluster_params.py
244246
cloudtower/models/content_library_image_updation_cluster_params_data.py
@@ -262,6 +264,7 @@ cloudtower/models/content_library_vm_template_where_input.py
262264
cloudtower/models/content_library_vmdk_cdrom_modify.py
263265
cloudtower/models/content_library_vmdk_cdrom_mount.py
264266
cloudtower/models/convert_vm_template_to_vm_params.py
267+
cloudtower/models/copy_iscsi_lun_params.py
265268
cloudtower/models/cpu_fan_speed_unit.py
266269
cloudtower/models/create_vcenter_account_params.py
267270
cloudtower/models/create_vcenter_account_params_data.py
@@ -359,6 +362,13 @@ cloudtower/models/elf_storage_policy.py
359362
cloudtower/models/elf_storage_policy_connection.py
360363
cloudtower/models/elf_storage_policy_order_by_input.py
361364
cloudtower/models/elf_storage_policy_where_input.py
365+
cloudtower/models/enter_maintenance_mode_check_params.py
366+
cloudtower/models/enter_maintenance_mode_check_result.py
367+
cloudtower/models/enter_maintenance_mode_input.py
368+
cloudtower/models/enter_maintenance_mode_params.py
369+
cloudtower/models/enter_maintenance_mode_result.py
370+
cloudtower/models/enter_maintenance_mode_result_params.py
371+
cloudtower/models/enter_maintenance_mode_result_params_where.py
362372
cloudtower/models/entity_async_status.py
363373
cloudtower/models/entity_filter.py
364374
cloudtower/models/entity_filter_connection.py
@@ -385,6 +395,10 @@ cloudtower/models/everoute_package_connection.py
385395
cloudtower/models/everoute_package_order_by_input.py
386396
cloudtower/models/everoute_package_where_input.py
387397
cloudtower/models/execute_plan.py
398+
cloudtower/models/exit_maintenance_mode_input.py
399+
cloudtower/models/exit_maintenance_mode_params.py
400+
cloudtower/models/exit_maintenance_mode_result.py
401+
cloudtower/models/exit_maintenance_mode_result_params.py
388402
cloudtower/models/export_file_download_links.py
389403
cloudtower/models/export_vm_volume_params.py
390404
cloudtower/models/export_vm_volume_params_data.py
@@ -572,6 +586,7 @@ cloudtower/models/get_vm_snapshots_connection_request_body.py
572586
cloudtower/models/get_vm_snapshots_request_body.py
573587
cloudtower/models/get_vm_templates_connection_request_body.py
574588
cloudtower/models/get_vm_templates_request_body.py
589+
cloudtower/models/get_vm_vnc_info_params.py
575590
cloudtower/models/get_vm_volume_metric_input.py
576591
cloudtower/models/get_vm_volume_snapshots_connection_request_body.py
577592
cloudtower/models/get_vm_volume_snapshots_request_body.py
@@ -614,6 +629,8 @@ cloudtower/models/gpu_device_usage.py
614629
cloudtower/models/gpu_device_usage_updation_params.py
615630
cloudtower/models/gpu_device_usage_updation_params_data.py
616631
cloudtower/models/gpu_device_where_input.py
632+
cloudtower/models/gpu_vm_detail.py
633+
cloudtower/models/gpu_vm_info.py
617634
cloudtower/models/graph.py
618635
cloudtower/models/graph_connection.py
619636
cloudtower/models/graph_creation_params.py
@@ -713,6 +730,8 @@ cloudtower/models/log_service_configs_input.py
713730
cloudtower/models/login_input.py
714731
cloudtower/models/login_response.py
715732
cloudtower/models/maintenance_mode_enum.py
733+
cloudtower/models/maintenance_mode_verify.py
734+
cloudtower/models/maintenance_mode_vm_info.py
716735
cloudtower/models/management_vlan_updation_params.py
717736
cloudtower/models/management_vlan_updation_params_data.py
718737
cloudtower/models/meta_leader.py
@@ -1004,6 +1023,9 @@ cloudtower/models/nvmf_subsystem_order_by_input.py
10041023
cloudtower/models/nvmf_subsystem_policy_type.py
10051024
cloudtower/models/nvmf_subsystem_updation_params.py
10061025
cloudtower/models/nvmf_subsystem_where_input.py
1026+
cloudtower/models/operate_action_enum.py
1027+
cloudtower/models/operate_host_power_data.py
1028+
cloudtower/models/operate_host_power_params.py
10071029
cloudtower/models/organization.py
10081030
cloudtower/models/organization_connection.py
10091031
cloudtower/models/organization_creation_params.py
@@ -1078,6 +1100,7 @@ cloudtower/models/security_policy_update_body.py
10781100
cloudtower/models/security_policy_update_params.py
10791101
cloudtower/models/security_policy_where_input.py
10801102
cloudtower/models/severity_enum.py
1103+
cloudtower/models/shutdown_vm_id.py
10811104
cloudtower/models/smtp_secure_mode.py
10821105
cloudtower/models/smtp_server_where_input.py
10831106
cloudtower/models/snapshot_group.py
@@ -1147,9 +1170,14 @@ cloudtower/models/table_reporter_params.py
11471170
cloudtower/models/table_reporter_params_filter.py
11481171
cloudtower/models/task.py
11491172
cloudtower/models/task_connection.py
1173+
cloudtower/models/task_creation_params.py
1174+
cloudtower/models/task_description.py
11501175
cloudtower/models/task_order_by_input.py
11511176
cloudtower/models/task_status.py
1177+
cloudtower/models/task_step_creation_params.py
11521178
cloudtower/models/task_type.py
1179+
cloudtower/models/task_update_params.py
1180+
cloudtower/models/task_update_params_data.py
11531181
cloudtower/models/task_where_input.py
11541182
cloudtower/models/template_cloud_init.py
11551183
cloudtower/models/time_unit.py
@@ -1186,6 +1214,8 @@ cloudtower/models/usb_device_where_input.py
11861214
cloudtower/models/user.py
11871215
cloudtower/models/user_audit_log.py
11881216
cloudtower/models/user_audit_log_connection.py
1217+
cloudtower/models/user_audit_log_creation_params.py
1218+
cloudtower/models/user_audit_log_message.py
11891219
cloudtower/models/user_audit_log_order_by_input.py
11901220
cloudtower/models/user_audit_log_status.py
11911221
cloudtower/models/user_audit_log_where_input.py
@@ -1291,6 +1321,8 @@ cloudtower/models/vm_folder_order_by_input.py
12911321
cloudtower/models/vm_folder_updation_params.py
12921322
cloudtower/models/vm_folder_updation_params_data.py
12931323
cloudtower/models/vm_folder_where_input.py
1324+
cloudtower/models/vm_gpu_detail.py
1325+
cloudtower/models/vm_gpu_info.py
12941326
cloudtower/models/vm_gpu_operation_params.py
12951327
cloudtower/models/vm_guests_operation_system.py
12961328
cloudtower/models/vm_import_nic_params.py
@@ -1310,6 +1342,7 @@ cloudtower/models/vm_operate_params.py
13101342
cloudtower/models/vm_operate_pci_nic_params.py
13111343
cloudtower/models/vm_operate_pci_nic_params_data.py
13121344
cloudtower/models/vm_order_by_input.py
1345+
cloudtower/models/vm_owner_params.py
13131346
cloudtower/models/vm_placement_group.py
13141347
cloudtower/models/vm_placement_group_connection.py
13151348
cloudtower/models/vm_placement_group_creation_params.py
@@ -1380,6 +1413,7 @@ cloudtower/models/vm_vlan_creation_params.py
13801413
cloudtower/models/vm_vlan_updation_params.py
13811414
cloudtower/models/vm_vlan_updation_params_data.py
13821415
cloudtower/models/vm_vm_policy.py
1416+
cloudtower/models/vm_vnc_info.py
13831417
cloudtower/models/vm_volume.py
13841418
cloudtower/models/vm_volume_connection.py
13851419
cloudtower/models/vm_volume_creation_params.py
@@ -1495,8 +1529,10 @@ cloudtower/models/with_task_snapshot_group.py
14951529
cloudtower/models/with_task_snapshot_plan.py
14961530
cloudtower/models/with_task_snmp_transport.py
14971531
cloudtower/models/with_task_snmp_trap_receiver.py
1532+
cloudtower/models/with_task_task.py
14981533
cloudtower/models/with_task_usb_device.py
14991534
cloudtower/models/with_task_user.py
1535+
cloudtower/models/with_task_user_audit_log.py
15001536
cloudtower/models/with_task_user_role_next.py
15011537
cloudtower/models/with_task_vcenter_account.py
15021538
cloudtower/models/with_task_vds.py

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ Python 环境下的 Cloudtower SDK,适用于 2.7 与 3.4 以上版本。
1111
- ### whl
1212

1313
```shell
14-
pip install cloudtower_sdk-2.13.0-py2.py3-none-any.whl
14+
pip install cloudtower_sdk-2.14.0-py2.py3-none-any.whl
1515
```
1616

1717
- ### tar.gz
1818

1919
```shell
20-
tar xvzf cloudtower-sdk-2.13.0.tar.gz
21-
cd cloudtower-sdk-2.13.0
20+
tar xvzf cloudtower-sdk-2.14.0.tar.gz
21+
cd cloudtower-sdk-2.14.0
2222
python setup.py install
2323
```
2424

RELEASENOTE.md

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

3+
## release 日期 2024-01-04
4+
5+
v2.14.0 release (tower version 4.0.0)
6+
7+
### update
8+
9+
- [ContentLIbraryImageApi]:
10+
- [import_content_library_image]: 新增通过 url 导入内容库镜像 API
11+
- [GpuDeviceApi]:
12+
- [get_detail_vm_info_by_gpu_devices]: 新增获取 GPU 设备关联的虚拟机 API
13+
- [HostApi]:
14+
- [enter_maintenance_mode]: 新增进入维护模式 API
15+
- [enter_maintenance_mode_pre_check]: 新增进入维护模式预检 API
16+
- [enter_maintenance_mode_precheck_result]: 新增获取进入维护模式预检结果 API
17+
- [exit_maintenance_mode]: 新增离开维护模式 API
18+
- [exit_maintenance_mode_precheck_result]: 新增离开维护模式预检 API
19+
- [power_off_host]: 新增主机电源操作 API,用于关闭、重启主机
20+
- [IscsiLunAPi]:
21+
- [copy_iscsi_lun]: 新增复制 iscsi lun API
22+
- [NicApi]:
23+
- [get_nics]: 额外返回 iommu_status 以及关联的虚拟机
24+
- [TaskApi]:
25+
- [create_task]: 新增创建 Task API
26+
- [update_task]: 新增更新 Task API
27+
- [UserAuditLogApi]:
28+
- [create_user_audit_log]: 新增创建事件审计 API
29+
- [VmApi]:
30+
- [get_vm_gpu_device_info]: 新增根据虚拟机获取其挂载的 GPU 设备信息 API
31+
- [get_vm_Vnc_info]: 新增获取 vm vnc 信息 API
32+
- [migrate_vm_across_cluster]: 优化了报错逻辑,当目标主机存在且不在目标集群上时,直接报错
33+
- [rebuild_vm_from_snapshot]: 重建虚拟机 API 支持配置 PCI 网卡
34+
- [create_vm], [create_vm_from_template], [create_vm_from_content_library_template], [clone_vm], [rebuild_vm_from_snapshot]: 创建虚拟机时支持配置虚拟机所属用户
35+
36+
### bugfix
37+
38+
- [ContentLibraryImageApi]:
39+
- [update_content_library_image]: 修复了更新内容库镜像时,没有传递 name 会失败的问题
40+
- [ElfImageApi]:
41+
- [update_elf_image]: 修复了更新镜像时,没有传递 name 会失败的问题
42+
- [vmApi]:
43+
- [create_vm_from_content_library_template]: 修复模板卷存储策略包含三副本时,非完全克隆虚拟机失败,提示非完全克隆无法修改存储策略的问题
44+
345
## release 日期 2023-11-07
446

547
v2.13.0 release (tower version 3.4.0)

0 commit comments

Comments
 (0)