libvirtpy 0.1.0__py3-none-any.whl
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.
- libvirtpy/__init__.py +5 -0
- libvirtpy/client/__init__.py +54 -0
- libvirtpy/client/_bases.py +326 -0
- libvirtpy/client/_runner.py +57 -0
- libvirtpy/client/aio.py +5922 -0
- libvirtpy/client/client.py +5695 -0
- libvirtpy/client/operations/__init__.py +631 -0
- libvirtpy/client/operations/_common.py +495 -0
- libvirtpy/client/operations/checkpoint.py +196 -0
- libvirtpy/client/operations/connection.py +93 -0
- libvirtpy/client/operations/connection_extra.py +256 -0
- libvirtpy/client/operations/domain.py +306 -0
- libvirtpy/client/operations/domain_agent.py +115 -0
- libvirtpy/client/operations/domain_block.py +368 -0
- libvirtpy/client/operations/domain_info.py +400 -0
- libvirtpy/client/operations/domain_lifecycle.py +338 -0
- libvirtpy/client/operations/domain_migration.py +164 -0
- libvirtpy/client/operations/domain_network.py +113 -0
- libvirtpy/client/operations/domain_tuning.py +494 -0
- libvirtpy/client/operations/host.py +246 -0
- libvirtpy/client/operations/host_interface.py +100 -0
- libvirtpy/client/operations/interface_extra.py +45 -0
- libvirtpy/client/operations/network.py +135 -0
- libvirtpy/client/operations/network_info.py +155 -0
- libvirtpy/client/operations/network_port.py +142 -0
- libvirtpy/client/operations/node_device.py +76 -0
- libvirtpy/client/operations/node_device_info.py +189 -0
- libvirtpy/client/operations/nwfilter.py +67 -0
- libvirtpy/client/operations/nwfilter_binding.py +74 -0
- libvirtpy/client/operations/secret.py +93 -0
- libvirtpy/client/operations/secret_extra.py +24 -0
- libvirtpy/client/operations/snapshot.py +100 -0
- libvirtpy/client/operations/snapshot_tree.py +114 -0
- libvirtpy/client/operations/storage.py +267 -0
- libvirtpy/client/operations/storage_info.py +188 -0
- libvirtpy/client/operations/streams.py +201 -0
- libvirtpy/client/references.py +249 -0
- libvirtpy/client/subscribing.py +88 -0
- libvirtpy/client/testing/__init__.py +24 -0
- libvirtpy/client/testing/_common.py +167 -0
- libvirtpy/client/testing/_domains.py +294 -0
- libvirtpy/client/testing/_objects.py +205 -0
- libvirtpy/client/testing/_state.py +246 -0
- libvirtpy/client/testing/_storage.py +171 -0
- libvirtpy/client/testing/async_transport.py +30 -0
- libvirtpy/client/testing/fake.py +81 -0
- libvirtpy/client/transport.py +87 -0
- libvirtpy/client/types.py +59 -0
- libvirtpy/client/wire.py +436 -0
- libvirtpy/client/wire_aio.py +348 -0
- libvirtpy/errors.py +7 -0
- libvirtpy/py.typed +0 -0
- libvirtpy/rpc/__init__.py +1 -0
- libvirtpy/rpc/aio.py +387 -0
- libvirtpy/rpc/cpumap.py +48 -0
- libvirtpy/rpc/errors.py +186 -0
- libvirtpy/rpc/events.py +259 -0
- libvirtpy/rpc/options.py +66 -0
- libvirtpy/rpc/procedure.py +27 -0
- libvirtpy/rpc/protocol/__init__.py +0 -0
- libvirtpy/rpc/protocol/procedures.py +5163 -0
- libvirtpy/rpc/protocol/typed_hints.py +210 -0
- libvirtpy/rpc/protocol/types.py +9299 -0
- libvirtpy/rpc/remote.py +295 -0
- libvirtpy/rpc/remote_aio.py +106 -0
- libvirtpy/rpc/sasl.py +467 -0
- libvirtpy/rpc/session.py +424 -0
- libvirtpy/rpc/sockets.py +251 -0
- libvirtpy/rpc/stream.py +323 -0
- libvirtpy/rpc/subscription.py +451 -0
- libvirtpy/rpc/sync.py +460 -0
- libvirtpy/rpc/typed_params.py +97 -0
- libvirtpy/rpc/uri.py +85 -0
- libvirtpy/rpc/xdr.py +552 -0
- libvirtpy/xml/__init__.py +49 -0
- libvirtpy/xml/_base.py +145 -0
- libvirtpy/xml/_shared/__init__.py +1 -0
- libvirtpy/xml/_shared/metadata.py +67 -0
- libvirtpy/xml/_shared/network.py +108 -0
- libvirtpy/xml/_shared/storage.py +131 -0
- libvirtpy/xml/_shared/sysinfo.py +83 -0
- libvirtpy/xml/_types.py +197 -0
- libvirtpy/xml/_xml_element.py +134 -0
- libvirtpy/xml/backup/__init__.py +25 -0
- libvirtpy/xml/backup/backup.py +89 -0
- libvirtpy/xml/backup/checkpoint.py +48 -0
- libvirtpy/xml/capabilities/__init__.py +43 -0
- libvirtpy/xml/capabilities/domain.py +436 -0
- libvirtpy/xml/capabilities/host.py +413 -0
- libvirtpy/xml/capabilities/storagepool.py +59 -0
- libvirtpy/xml/domain/__init__.py +493 -0
- libvirtpy/xml/domain/blkiotune.py +81 -0
- libvirtpy/xml/domain/clock.py +79 -0
- libvirtpy/xml/domain/cpu.py +265 -0
- libvirtpy/xml/domain/devices/__init__.py +495 -0
- libvirtpy/xml/domain/devices/address.py +152 -0
- libvirtpy/xml/domain/devices/audio.py +204 -0
- libvirtpy/xml/domain/devices/chardev.py +197 -0
- libvirtpy/xml/domain/devices/common.py +75 -0
- libvirtpy/xml/domain/devices/controller.py +262 -0
- libvirtpy/xml/domain/devices/devices.py +79 -0
- libvirtpy/xml/domain/devices/disk.py +471 -0
- libvirtpy/xml/domain/devices/filesystem.py +206 -0
- libvirtpy/xml/domain/devices/graphics.py +245 -0
- libvirtpy/xml/domain/devices/hostdev.py +221 -0
- libvirtpy/xml/domain/devices/input.py +89 -0
- libvirtpy/xml/domain/devices/interface.py +459 -0
- libvirtpy/xml/domain/devices/iommu.py +54 -0
- libvirtpy/xml/domain/devices/memballoon.py +42 -0
- libvirtpy/xml/domain/devices/memory_device.py +101 -0
- libvirtpy/xml/domain/devices/misc.py +169 -0
- libvirtpy/xml/domain/devices/nvram.py +20 -0
- libvirtpy/xml/domain/devices/shmem.py +46 -0
- libvirtpy/xml/domain/devices/sound.py +42 -0
- libvirtpy/xml/domain/devices/tpm.py +103 -0
- libvirtpy/xml/domain/devices/usb.py +86 -0
- libvirtpy/xml/domain/devices/video.py +101 -0
- libvirtpy/xml/domain/domain.py +157 -0
- libvirtpy/xml/domain/features.py +312 -0
- libvirtpy/xml/domain/iothread.py +41 -0
- libvirtpy/xml/domain/launch_security.py +82 -0
- libvirtpy/xml/domain/memory.py +149 -0
- libvirtpy/xml/domain/misc.py +113 -0
- libvirtpy/xml/domain/namespaces.py +96 -0
- libvirtpy/xml/domain/numa.py +140 -0
- libvirtpy/xml/domain/os.py +267 -0
- libvirtpy/xml/domain/qemu.py +102 -0
- libvirtpy/xml/domain/seclabel.py +29 -0
- libvirtpy/xml/domain/storage_source.py +466 -0
- libvirtpy/xml/domain/sysinfo.py +34 -0
- libvirtpy/xml/interface/__init__.py +17 -0
- libvirtpy/xml/interface/interface.py +153 -0
- libvirtpy/xml/network/__init__.py +101 -0
- libvirtpy/xml/network/network.py +311 -0
- libvirtpy/xml/network/port.py +84 -0
- libvirtpy/xml/nodedev/__init__.py +13 -0
- libvirtpy/xml/nodedev/nodedev.py +490 -0
- libvirtpy/xml/nwfilter/__init__.py +81 -0
- libvirtpy/xml/nwfilter/binding.py +51 -0
- libvirtpy/xml/nwfilter/filter.py +92 -0
- libvirtpy/xml/nwfilter/rules.py +534 -0
- libvirtpy/xml/secret/__init__.py +11 -0
- libvirtpy/xml/secret/secret.py +36 -0
- libvirtpy/xml/snapshot/__init__.py +29 -0
- libvirtpy/xml/snapshot/snapshot.py +136 -0
- libvirtpy/xml/storage/__init__.py +75 -0
- libvirtpy/xml/storage/pool.py +219 -0
- libvirtpy/xml/storage/volume.py +102 -0
- libvirtpy/xml/sysinfo.py +40 -0
- libvirtpy-0.1.0.dist-info/METADATA +109 -0
- libvirtpy-0.1.0.dist-info/RECORD +154 -0
- libvirtpy-0.1.0.dist-info/WHEEL +4 -0
- libvirtpy-0.1.0.dist-info/licenses/LICENSE +501 -0
- libvirtpy-0.1.0.dist-info/licenses/NOTICE +23 -0
|
@@ -0,0 +1,631 @@
|
|
|
1
|
+
"""Every libvirt method the client offers, written once, without any I/O."""
|
|
2
|
+
|
|
3
|
+
from libvirtpy.client.operations.checkpoint import (
|
|
4
|
+
abort_domain_backup,
|
|
5
|
+
begin_domain_backup,
|
|
6
|
+
create_domain_checkpoint,
|
|
7
|
+
delete_domain_checkpoint,
|
|
8
|
+
get_domain_backup,
|
|
9
|
+
get_domain_checkpoint_parent,
|
|
10
|
+
list_domain_checkpoint_children,
|
|
11
|
+
list_domain_checkpoints,
|
|
12
|
+
lookup_domain_checkpoint,
|
|
13
|
+
)
|
|
14
|
+
from libvirtpy.client.operations.connection import (
|
|
15
|
+
get_capabilities,
|
|
16
|
+
get_domain_capabilities,
|
|
17
|
+
get_hostname,
|
|
18
|
+
get_storage_pool_capabilities,
|
|
19
|
+
get_sysinfo,
|
|
20
|
+
get_version,
|
|
21
|
+
)
|
|
22
|
+
from libvirtpy.client.operations.connection_extra import (
|
|
23
|
+
baseline_cpu,
|
|
24
|
+
baseline_hypervisor_cpu,
|
|
25
|
+
compare_cpu,
|
|
26
|
+
compare_hypervisor_cpu,
|
|
27
|
+
convert_domain_from_native,
|
|
28
|
+
convert_domain_to_native,
|
|
29
|
+
get_all_domain_stats,
|
|
30
|
+
get_cpu_model_names,
|
|
31
|
+
get_driver_type,
|
|
32
|
+
get_library_version,
|
|
33
|
+
get_max_vcpus,
|
|
34
|
+
get_uri,
|
|
35
|
+
is_connection_secure,
|
|
36
|
+
set_connection_identity,
|
|
37
|
+
supports_feature,
|
|
38
|
+
)
|
|
39
|
+
from libvirtpy.client.operations.domain import (
|
|
40
|
+
attach_domain_device,
|
|
41
|
+
create_domain,
|
|
42
|
+
define_domain,
|
|
43
|
+
destroy_domain,
|
|
44
|
+
detach_domain_device,
|
|
45
|
+
get_domain_autostart,
|
|
46
|
+
get_domain_info,
|
|
47
|
+
get_domain_state,
|
|
48
|
+
list_domains,
|
|
49
|
+
lookup_domain,
|
|
50
|
+
reboot_domain,
|
|
51
|
+
reset_domain,
|
|
52
|
+
resume_domain,
|
|
53
|
+
set_domain_autostart,
|
|
54
|
+
set_domain_memory,
|
|
55
|
+
set_domain_vcpus,
|
|
56
|
+
shutdown_domain,
|
|
57
|
+
start_domain,
|
|
58
|
+
suspend_domain,
|
|
59
|
+
undefine_domain,
|
|
60
|
+
update_domain_device,
|
|
61
|
+
)
|
|
62
|
+
from libvirtpy.client.operations.domain_agent import (
|
|
63
|
+
freeze_domain_filesystems,
|
|
64
|
+
get_domain_authorized_ssh_keys,
|
|
65
|
+
set_domain_agent_timeout,
|
|
66
|
+
set_domain_authorized_ssh_keys,
|
|
67
|
+
thaw_domain_filesystems,
|
|
68
|
+
trim_domain_filesystems,
|
|
69
|
+
)
|
|
70
|
+
from libvirtpy.client.operations.domain_block import (
|
|
71
|
+
abort_domain_block_job,
|
|
72
|
+
commit_domain_block,
|
|
73
|
+
copy_domain_block,
|
|
74
|
+
delete_domain_throttle_group,
|
|
75
|
+
detach_domain_device_by_alias,
|
|
76
|
+
get_domain_block_info,
|
|
77
|
+
get_domain_block_io_tune,
|
|
78
|
+
get_domain_block_job_info,
|
|
79
|
+
get_domain_block_stats,
|
|
80
|
+
get_domain_disk_errors,
|
|
81
|
+
peek_domain_block,
|
|
82
|
+
pull_domain_block,
|
|
83
|
+
rebase_domain_block,
|
|
84
|
+
resize_domain_block,
|
|
85
|
+
set_domain_block_io_tune,
|
|
86
|
+
set_domain_block_job_speed,
|
|
87
|
+
set_domain_block_threshold,
|
|
88
|
+
set_domain_throttle_group,
|
|
89
|
+
)
|
|
90
|
+
from libvirtpy.client.operations.domain_info import (
|
|
91
|
+
abort_domain_job,
|
|
92
|
+
get_domain_control_info,
|
|
93
|
+
get_domain_fsinfo,
|
|
94
|
+
get_domain_guest_info,
|
|
95
|
+
get_domain_hostname,
|
|
96
|
+
get_domain_iothread_info,
|
|
97
|
+
get_domain_job_info,
|
|
98
|
+
get_domain_job_stats,
|
|
99
|
+
get_domain_launch_security_info,
|
|
100
|
+
get_domain_max_memory,
|
|
101
|
+
get_domain_max_vcpus,
|
|
102
|
+
get_domain_messages,
|
|
103
|
+
get_domain_metadata,
|
|
104
|
+
get_domain_os_type,
|
|
105
|
+
get_domain_perf_events,
|
|
106
|
+
get_domain_security_label,
|
|
107
|
+
get_domain_security_labels,
|
|
108
|
+
get_domain_time,
|
|
109
|
+
has_domain_current_snapshot,
|
|
110
|
+
is_domain_active,
|
|
111
|
+
is_domain_persistent,
|
|
112
|
+
is_domain_updated,
|
|
113
|
+
set_domain_memory_stats_period,
|
|
114
|
+
set_domain_metadata,
|
|
115
|
+
set_domain_perf_events,
|
|
116
|
+
set_domain_time,
|
|
117
|
+
start_domain_dirty_rate_calc,
|
|
118
|
+
)
|
|
119
|
+
from libvirtpy.client.operations.domain_lifecycle import (
|
|
120
|
+
define_domain_managed_save_xml,
|
|
121
|
+
define_saved_domain_xml,
|
|
122
|
+
dump_domain_core,
|
|
123
|
+
get_domain_autostart_once,
|
|
124
|
+
get_domain_managed_save_xml,
|
|
125
|
+
get_saved_domain_xml,
|
|
126
|
+
has_domain_managed_save,
|
|
127
|
+
inject_domain_nmi,
|
|
128
|
+
reload_domain_graphics,
|
|
129
|
+
remove_domain_managed_save,
|
|
130
|
+
rename_domain,
|
|
131
|
+
restore_domain,
|
|
132
|
+
save_domain,
|
|
133
|
+
save_domain_managed,
|
|
134
|
+
send_domain_keys,
|
|
135
|
+
send_domain_signal,
|
|
136
|
+
set_domain_autostart_once,
|
|
137
|
+
set_domain_lifecycle_action,
|
|
138
|
+
set_domain_user_password,
|
|
139
|
+
suspend_domain_for_duration,
|
|
140
|
+
wake_domain,
|
|
141
|
+
)
|
|
142
|
+
from libvirtpy.client.operations.domain_migration import (
|
|
143
|
+
get_domain_migration_compression_cache,
|
|
144
|
+
get_domain_migration_max_downtime,
|
|
145
|
+
get_domain_migration_max_speed,
|
|
146
|
+
restore_domain_with_parameters,
|
|
147
|
+
save_domain_with_parameters,
|
|
148
|
+
set_domain_launch_security_state,
|
|
149
|
+
set_domain_migration_compression_cache,
|
|
150
|
+
set_domain_migration_max_downtime,
|
|
151
|
+
set_domain_migration_max_speed,
|
|
152
|
+
start_domain_migration_post_copy,
|
|
153
|
+
)
|
|
154
|
+
from libvirtpy.client.operations.domain_network import (
|
|
155
|
+
announce_domain_interface,
|
|
156
|
+
get_domain_interface_parameters,
|
|
157
|
+
get_domain_interface_stats,
|
|
158
|
+
list_domain_interface_addresses,
|
|
159
|
+
set_domain_interface_parameters,
|
|
160
|
+
)
|
|
161
|
+
from libvirtpy.client.operations.domain_tuning import (
|
|
162
|
+
add_domain_iothread,
|
|
163
|
+
delete_domain_iothread,
|
|
164
|
+
get_domain_blkio_parameters,
|
|
165
|
+
get_domain_cpu_stats,
|
|
166
|
+
get_domain_emulator_pin,
|
|
167
|
+
get_domain_guest_vcpus,
|
|
168
|
+
get_domain_memory_parameters,
|
|
169
|
+
get_domain_memory_stats,
|
|
170
|
+
get_domain_numa_parameters,
|
|
171
|
+
get_domain_scheduler_parameters,
|
|
172
|
+
get_domain_scheduler_type,
|
|
173
|
+
get_domain_vcpu_count,
|
|
174
|
+
get_domain_vcpu_pins,
|
|
175
|
+
get_domain_vcpus,
|
|
176
|
+
peek_domain_memory,
|
|
177
|
+
pin_domain_emulator,
|
|
178
|
+
pin_domain_iothread,
|
|
179
|
+
pin_domain_vcpu,
|
|
180
|
+
set_domain_blkio_parameters,
|
|
181
|
+
set_domain_guest_vcpus,
|
|
182
|
+
set_domain_iothread_parameters,
|
|
183
|
+
set_domain_max_memory,
|
|
184
|
+
set_domain_memory_parameters,
|
|
185
|
+
set_domain_numa_parameters,
|
|
186
|
+
set_domain_scheduler_parameters,
|
|
187
|
+
set_domain_vcpu,
|
|
188
|
+
)
|
|
189
|
+
from libvirtpy.client.operations.host import (
|
|
190
|
+
allocate_host_pages,
|
|
191
|
+
get_host_cells_free_memory,
|
|
192
|
+
get_host_cpu_map,
|
|
193
|
+
get_host_cpu_stats,
|
|
194
|
+
get_host_free_memory,
|
|
195
|
+
get_host_free_pages,
|
|
196
|
+
get_host_info,
|
|
197
|
+
get_host_memory_parameters,
|
|
198
|
+
get_host_memory_stats,
|
|
199
|
+
get_host_security_model,
|
|
200
|
+
get_host_sev_info,
|
|
201
|
+
set_host_memory_parameters,
|
|
202
|
+
suspend_host_for_duration,
|
|
203
|
+
)
|
|
204
|
+
from libvirtpy.client.operations.host_interface import (
|
|
205
|
+
define_host_interface,
|
|
206
|
+
destroy_host_interface,
|
|
207
|
+
list_host_interfaces,
|
|
208
|
+
lookup_host_interface,
|
|
209
|
+
start_host_interface,
|
|
210
|
+
undefine_host_interface,
|
|
211
|
+
)
|
|
212
|
+
from libvirtpy.client.operations.interface_extra import (
|
|
213
|
+
begin_host_interface_changes,
|
|
214
|
+
commit_host_interface_changes,
|
|
215
|
+
is_host_interface_active,
|
|
216
|
+
rollback_host_interface_changes,
|
|
217
|
+
)
|
|
218
|
+
from libvirtpy.client.operations.network import (
|
|
219
|
+
create_network,
|
|
220
|
+
define_network,
|
|
221
|
+
destroy_network,
|
|
222
|
+
get_network_autostart,
|
|
223
|
+
list_networks,
|
|
224
|
+
lookup_network,
|
|
225
|
+
set_network_autostart,
|
|
226
|
+
start_network,
|
|
227
|
+
undefine_network,
|
|
228
|
+
)
|
|
229
|
+
from libvirtpy.client.operations.network_info import (
|
|
230
|
+
get_network_bridge_name,
|
|
231
|
+
get_network_metadata,
|
|
232
|
+
is_network_active,
|
|
233
|
+
is_network_persistent,
|
|
234
|
+
list_network_dhcp_leases,
|
|
235
|
+
set_network_metadata,
|
|
236
|
+
update_network,
|
|
237
|
+
)
|
|
238
|
+
from libvirtpy.client.operations.network_port import (
|
|
239
|
+
create_network_port,
|
|
240
|
+
delete_network_port,
|
|
241
|
+
get_network_port_parameters,
|
|
242
|
+
list_network_ports,
|
|
243
|
+
lookup_network_port,
|
|
244
|
+
set_network_port_parameters,
|
|
245
|
+
)
|
|
246
|
+
from libvirtpy.client.operations.node_device import (
|
|
247
|
+
create_node_device,
|
|
248
|
+
destroy_node_device,
|
|
249
|
+
list_node_devices,
|
|
250
|
+
lookup_node_device,
|
|
251
|
+
)
|
|
252
|
+
from libvirtpy.client.operations.node_device_info import (
|
|
253
|
+
define_node_device,
|
|
254
|
+
detach_node_device,
|
|
255
|
+
get_node_device_autostart,
|
|
256
|
+
get_node_device_parent,
|
|
257
|
+
is_node_device_active,
|
|
258
|
+
is_node_device_persistent,
|
|
259
|
+
list_node_device_capabilities,
|
|
260
|
+
lookup_node_device_scsi_host_by_wwn,
|
|
261
|
+
reattach_node_device,
|
|
262
|
+
reset_node_device,
|
|
263
|
+
set_node_device_autostart,
|
|
264
|
+
start_node_device,
|
|
265
|
+
undefine_node_device,
|
|
266
|
+
update_node_device,
|
|
267
|
+
)
|
|
268
|
+
from libvirtpy.client.operations.nwfilter import (
|
|
269
|
+
define_nwfilter,
|
|
270
|
+
list_nwfilters,
|
|
271
|
+
lookup_nwfilter,
|
|
272
|
+
undefine_nwfilter,
|
|
273
|
+
)
|
|
274
|
+
from libvirtpy.client.operations.nwfilter_binding import (
|
|
275
|
+
create_nwfilter_binding,
|
|
276
|
+
delete_nwfilter_binding,
|
|
277
|
+
list_nwfilter_bindings,
|
|
278
|
+
lookup_nwfilter_binding,
|
|
279
|
+
)
|
|
280
|
+
from libvirtpy.client.operations.secret import (
|
|
281
|
+
define_secret,
|
|
282
|
+
get_secret_value,
|
|
283
|
+
list_secrets,
|
|
284
|
+
lookup_secret,
|
|
285
|
+
set_secret_value,
|
|
286
|
+
undefine_secret,
|
|
287
|
+
)
|
|
288
|
+
from libvirtpy.client.operations.secret_extra import (
|
|
289
|
+
lookup_secret_by_usage,
|
|
290
|
+
)
|
|
291
|
+
from libvirtpy.client.operations.snapshot import (
|
|
292
|
+
create_domain_snapshot,
|
|
293
|
+
delete_domain_snapshot,
|
|
294
|
+
list_domain_snapshots,
|
|
295
|
+
lookup_domain_snapshot,
|
|
296
|
+
revert_domain_snapshot,
|
|
297
|
+
)
|
|
298
|
+
from libvirtpy.client.operations.snapshot_tree import (
|
|
299
|
+
get_current_domain_snapshot,
|
|
300
|
+
get_domain_snapshot_parent,
|
|
301
|
+
has_domain_snapshot_metadata,
|
|
302
|
+
is_domain_snapshot_current,
|
|
303
|
+
list_domain_snapshot_children,
|
|
304
|
+
)
|
|
305
|
+
from libvirtpy.client.operations.storage import (
|
|
306
|
+
build_pool,
|
|
307
|
+
create_pool,
|
|
308
|
+
create_pool_volume,
|
|
309
|
+
define_pool,
|
|
310
|
+
delete_pool,
|
|
311
|
+
delete_pool_volume,
|
|
312
|
+
destroy_pool,
|
|
313
|
+
get_pool_autostart,
|
|
314
|
+
list_pool_volumes,
|
|
315
|
+
list_pools,
|
|
316
|
+
lookup_pool,
|
|
317
|
+
lookup_pool_volume,
|
|
318
|
+
refresh_pool,
|
|
319
|
+
resize_pool_volume,
|
|
320
|
+
set_pool_autostart,
|
|
321
|
+
start_pool,
|
|
322
|
+
undefine_pool,
|
|
323
|
+
wipe_pool_volume,
|
|
324
|
+
)
|
|
325
|
+
from libvirtpy.client.operations.storage_info import (
|
|
326
|
+
create_pool_volume_from,
|
|
327
|
+
find_pool_sources,
|
|
328
|
+
get_pool_info,
|
|
329
|
+
get_pool_volume_info,
|
|
330
|
+
get_pool_volume_path,
|
|
331
|
+
is_pool_active,
|
|
332
|
+
is_pool_persistent,
|
|
333
|
+
lookup_pool_by_target_path,
|
|
334
|
+
lookup_pool_by_volume,
|
|
335
|
+
wipe_pool_volume_with_pattern,
|
|
336
|
+
)
|
|
337
|
+
from libvirtpy.client.operations.streams import (
|
|
338
|
+
download_pool_volume,
|
|
339
|
+
open_domain_channel,
|
|
340
|
+
open_domain_console,
|
|
341
|
+
take_domain_screenshot,
|
|
342
|
+
upload_pool_volume,
|
|
343
|
+
)
|
|
344
|
+
|
|
345
|
+
__all__ = [
|
|
346
|
+
"abort_domain_backup",
|
|
347
|
+
"abort_domain_block_job",
|
|
348
|
+
"abort_domain_job",
|
|
349
|
+
"add_domain_iothread",
|
|
350
|
+
"allocate_host_pages",
|
|
351
|
+
"announce_domain_interface",
|
|
352
|
+
"attach_domain_device",
|
|
353
|
+
"baseline_cpu",
|
|
354
|
+
"baseline_hypervisor_cpu",
|
|
355
|
+
"begin_domain_backup",
|
|
356
|
+
"begin_host_interface_changes",
|
|
357
|
+
"build_pool",
|
|
358
|
+
"commit_domain_block",
|
|
359
|
+
"commit_host_interface_changes",
|
|
360
|
+
"compare_cpu",
|
|
361
|
+
"compare_hypervisor_cpu",
|
|
362
|
+
"convert_domain_from_native",
|
|
363
|
+
"convert_domain_to_native",
|
|
364
|
+
"copy_domain_block",
|
|
365
|
+
"create_domain",
|
|
366
|
+
"create_domain_checkpoint",
|
|
367
|
+
"create_domain_snapshot",
|
|
368
|
+
"create_network",
|
|
369
|
+
"create_network_port",
|
|
370
|
+
"create_node_device",
|
|
371
|
+
"create_nwfilter_binding",
|
|
372
|
+
"create_pool",
|
|
373
|
+
"create_pool_volume",
|
|
374
|
+
"create_pool_volume_from",
|
|
375
|
+
"define_domain",
|
|
376
|
+
"define_domain_managed_save_xml",
|
|
377
|
+
"define_host_interface",
|
|
378
|
+
"define_network",
|
|
379
|
+
"define_node_device",
|
|
380
|
+
"define_nwfilter",
|
|
381
|
+
"define_pool",
|
|
382
|
+
"define_saved_domain_xml",
|
|
383
|
+
"define_secret",
|
|
384
|
+
"delete_domain_checkpoint",
|
|
385
|
+
"delete_domain_iothread",
|
|
386
|
+
"delete_domain_snapshot",
|
|
387
|
+
"delete_domain_throttle_group",
|
|
388
|
+
"delete_network_port",
|
|
389
|
+
"delete_nwfilter_binding",
|
|
390
|
+
"delete_pool",
|
|
391
|
+
"delete_pool_volume",
|
|
392
|
+
"destroy_domain",
|
|
393
|
+
"destroy_host_interface",
|
|
394
|
+
"destroy_network",
|
|
395
|
+
"destroy_node_device",
|
|
396
|
+
"destroy_pool",
|
|
397
|
+
"detach_domain_device",
|
|
398
|
+
"detach_domain_device_by_alias",
|
|
399
|
+
"detach_node_device",
|
|
400
|
+
"download_pool_volume",
|
|
401
|
+
"dump_domain_core",
|
|
402
|
+
"find_pool_sources",
|
|
403
|
+
"freeze_domain_filesystems",
|
|
404
|
+
"get_all_domain_stats",
|
|
405
|
+
"get_capabilities",
|
|
406
|
+
"get_cpu_model_names",
|
|
407
|
+
"get_current_domain_snapshot",
|
|
408
|
+
"get_domain_authorized_ssh_keys",
|
|
409
|
+
"get_domain_autostart",
|
|
410
|
+
"get_domain_autostart_once",
|
|
411
|
+
"get_domain_backup",
|
|
412
|
+
"get_domain_blkio_parameters",
|
|
413
|
+
"get_domain_block_info",
|
|
414
|
+
"get_domain_block_io_tune",
|
|
415
|
+
"get_domain_block_job_info",
|
|
416
|
+
"get_domain_block_stats",
|
|
417
|
+
"get_domain_capabilities",
|
|
418
|
+
"get_domain_checkpoint_parent",
|
|
419
|
+
"get_domain_control_info",
|
|
420
|
+
"get_domain_cpu_stats",
|
|
421
|
+
"get_domain_disk_errors",
|
|
422
|
+
"get_domain_emulator_pin",
|
|
423
|
+
"get_domain_fsinfo",
|
|
424
|
+
"get_domain_guest_info",
|
|
425
|
+
"get_domain_guest_vcpus",
|
|
426
|
+
"get_domain_hostname",
|
|
427
|
+
"get_domain_info",
|
|
428
|
+
"get_domain_interface_parameters",
|
|
429
|
+
"get_domain_interface_stats",
|
|
430
|
+
"get_domain_iothread_info",
|
|
431
|
+
"get_domain_job_info",
|
|
432
|
+
"get_domain_job_stats",
|
|
433
|
+
"get_domain_launch_security_info",
|
|
434
|
+
"get_domain_managed_save_xml",
|
|
435
|
+
"get_domain_max_memory",
|
|
436
|
+
"get_domain_max_vcpus",
|
|
437
|
+
"get_domain_memory_parameters",
|
|
438
|
+
"get_domain_memory_stats",
|
|
439
|
+
"get_domain_messages",
|
|
440
|
+
"get_domain_metadata",
|
|
441
|
+
"get_domain_migration_compression_cache",
|
|
442
|
+
"get_domain_migration_max_downtime",
|
|
443
|
+
"get_domain_migration_max_speed",
|
|
444
|
+
"get_domain_numa_parameters",
|
|
445
|
+
"get_domain_os_type",
|
|
446
|
+
"get_domain_perf_events",
|
|
447
|
+
"get_domain_scheduler_parameters",
|
|
448
|
+
"get_domain_scheduler_type",
|
|
449
|
+
"get_domain_security_label",
|
|
450
|
+
"get_domain_security_labels",
|
|
451
|
+
"get_domain_snapshot_parent",
|
|
452
|
+
"get_domain_state",
|
|
453
|
+
"get_domain_time",
|
|
454
|
+
"get_domain_vcpu_count",
|
|
455
|
+
"get_domain_vcpu_pins",
|
|
456
|
+
"get_domain_vcpus",
|
|
457
|
+
"get_driver_type",
|
|
458
|
+
"get_host_cells_free_memory",
|
|
459
|
+
"get_host_cpu_map",
|
|
460
|
+
"get_host_cpu_stats",
|
|
461
|
+
"get_host_free_memory",
|
|
462
|
+
"get_host_free_pages",
|
|
463
|
+
"get_host_info",
|
|
464
|
+
"get_host_memory_parameters",
|
|
465
|
+
"get_host_memory_stats",
|
|
466
|
+
"get_host_security_model",
|
|
467
|
+
"get_host_sev_info",
|
|
468
|
+
"get_hostname",
|
|
469
|
+
"get_library_version",
|
|
470
|
+
"get_max_vcpus",
|
|
471
|
+
"get_network_autostart",
|
|
472
|
+
"get_network_bridge_name",
|
|
473
|
+
"get_network_metadata",
|
|
474
|
+
"get_network_port_parameters",
|
|
475
|
+
"get_node_device_autostart",
|
|
476
|
+
"get_node_device_parent",
|
|
477
|
+
"get_pool_autostart",
|
|
478
|
+
"get_pool_info",
|
|
479
|
+
"get_pool_volume_info",
|
|
480
|
+
"get_pool_volume_path",
|
|
481
|
+
"get_saved_domain_xml",
|
|
482
|
+
"get_secret_value",
|
|
483
|
+
"get_storage_pool_capabilities",
|
|
484
|
+
"get_sysinfo",
|
|
485
|
+
"get_uri",
|
|
486
|
+
"get_version",
|
|
487
|
+
"has_domain_current_snapshot",
|
|
488
|
+
"has_domain_managed_save",
|
|
489
|
+
"has_domain_snapshot_metadata",
|
|
490
|
+
"inject_domain_nmi",
|
|
491
|
+
"is_connection_secure",
|
|
492
|
+
"is_domain_active",
|
|
493
|
+
"is_domain_persistent",
|
|
494
|
+
"is_domain_snapshot_current",
|
|
495
|
+
"is_domain_updated",
|
|
496
|
+
"is_host_interface_active",
|
|
497
|
+
"is_network_active",
|
|
498
|
+
"is_network_persistent",
|
|
499
|
+
"is_node_device_active",
|
|
500
|
+
"is_node_device_persistent",
|
|
501
|
+
"is_pool_active",
|
|
502
|
+
"is_pool_persistent",
|
|
503
|
+
"list_domain_checkpoint_children",
|
|
504
|
+
"list_domain_checkpoints",
|
|
505
|
+
"list_domain_interface_addresses",
|
|
506
|
+
"list_domain_snapshot_children",
|
|
507
|
+
"list_domain_snapshots",
|
|
508
|
+
"list_domains",
|
|
509
|
+
"list_host_interfaces",
|
|
510
|
+
"list_network_dhcp_leases",
|
|
511
|
+
"list_network_ports",
|
|
512
|
+
"list_networks",
|
|
513
|
+
"list_node_device_capabilities",
|
|
514
|
+
"list_node_devices",
|
|
515
|
+
"list_nwfilter_bindings",
|
|
516
|
+
"list_nwfilters",
|
|
517
|
+
"list_pool_volumes",
|
|
518
|
+
"list_pools",
|
|
519
|
+
"list_secrets",
|
|
520
|
+
"lookup_domain",
|
|
521
|
+
"lookup_domain_checkpoint",
|
|
522
|
+
"lookup_domain_snapshot",
|
|
523
|
+
"lookup_host_interface",
|
|
524
|
+
"lookup_network",
|
|
525
|
+
"lookup_network_port",
|
|
526
|
+
"lookup_node_device",
|
|
527
|
+
"lookup_node_device_scsi_host_by_wwn",
|
|
528
|
+
"lookup_nwfilter",
|
|
529
|
+
"lookup_nwfilter_binding",
|
|
530
|
+
"lookup_pool",
|
|
531
|
+
"lookup_pool_by_target_path",
|
|
532
|
+
"lookup_pool_by_volume",
|
|
533
|
+
"lookup_pool_volume",
|
|
534
|
+
"lookup_secret",
|
|
535
|
+
"lookup_secret_by_usage",
|
|
536
|
+
"open_domain_channel",
|
|
537
|
+
"open_domain_console",
|
|
538
|
+
"peek_domain_block",
|
|
539
|
+
"peek_domain_memory",
|
|
540
|
+
"pin_domain_emulator",
|
|
541
|
+
"pin_domain_iothread",
|
|
542
|
+
"pin_domain_vcpu",
|
|
543
|
+
"pull_domain_block",
|
|
544
|
+
"reattach_node_device",
|
|
545
|
+
"rebase_domain_block",
|
|
546
|
+
"reboot_domain",
|
|
547
|
+
"refresh_pool",
|
|
548
|
+
"reload_domain_graphics",
|
|
549
|
+
"remove_domain_managed_save",
|
|
550
|
+
"rename_domain",
|
|
551
|
+
"reset_domain",
|
|
552
|
+
"reset_node_device",
|
|
553
|
+
"resize_domain_block",
|
|
554
|
+
"resize_pool_volume",
|
|
555
|
+
"restore_domain",
|
|
556
|
+
"restore_domain_with_parameters",
|
|
557
|
+
"resume_domain",
|
|
558
|
+
"revert_domain_snapshot",
|
|
559
|
+
"rollback_host_interface_changes",
|
|
560
|
+
"save_domain",
|
|
561
|
+
"save_domain_managed",
|
|
562
|
+
"save_domain_with_parameters",
|
|
563
|
+
"send_domain_keys",
|
|
564
|
+
"send_domain_signal",
|
|
565
|
+
"set_connection_identity",
|
|
566
|
+
"set_domain_agent_timeout",
|
|
567
|
+
"set_domain_authorized_ssh_keys",
|
|
568
|
+
"set_domain_autostart",
|
|
569
|
+
"set_domain_autostart_once",
|
|
570
|
+
"set_domain_blkio_parameters",
|
|
571
|
+
"set_domain_block_io_tune",
|
|
572
|
+
"set_domain_block_job_speed",
|
|
573
|
+
"set_domain_block_threshold",
|
|
574
|
+
"set_domain_guest_vcpus",
|
|
575
|
+
"set_domain_interface_parameters",
|
|
576
|
+
"set_domain_iothread_parameters",
|
|
577
|
+
"set_domain_launch_security_state",
|
|
578
|
+
"set_domain_lifecycle_action",
|
|
579
|
+
"set_domain_max_memory",
|
|
580
|
+
"set_domain_memory",
|
|
581
|
+
"set_domain_memory_parameters",
|
|
582
|
+
"set_domain_memory_stats_period",
|
|
583
|
+
"set_domain_metadata",
|
|
584
|
+
"set_domain_migration_compression_cache",
|
|
585
|
+
"set_domain_migration_max_downtime",
|
|
586
|
+
"set_domain_migration_max_speed",
|
|
587
|
+
"set_domain_numa_parameters",
|
|
588
|
+
"set_domain_perf_events",
|
|
589
|
+
"set_domain_scheduler_parameters",
|
|
590
|
+
"set_domain_throttle_group",
|
|
591
|
+
"set_domain_time",
|
|
592
|
+
"set_domain_user_password",
|
|
593
|
+
"set_domain_vcpu",
|
|
594
|
+
"set_domain_vcpus",
|
|
595
|
+
"set_host_memory_parameters",
|
|
596
|
+
"set_network_autostart",
|
|
597
|
+
"set_network_metadata",
|
|
598
|
+
"set_network_port_parameters",
|
|
599
|
+
"set_node_device_autostart",
|
|
600
|
+
"set_pool_autostart",
|
|
601
|
+
"set_secret_value",
|
|
602
|
+
"shutdown_domain",
|
|
603
|
+
"start_domain",
|
|
604
|
+
"start_domain_dirty_rate_calc",
|
|
605
|
+
"start_domain_migration_post_copy",
|
|
606
|
+
"start_host_interface",
|
|
607
|
+
"start_network",
|
|
608
|
+
"start_node_device",
|
|
609
|
+
"start_pool",
|
|
610
|
+
"supports_feature",
|
|
611
|
+
"suspend_domain",
|
|
612
|
+
"suspend_domain_for_duration",
|
|
613
|
+
"suspend_host_for_duration",
|
|
614
|
+
"take_domain_screenshot",
|
|
615
|
+
"thaw_domain_filesystems",
|
|
616
|
+
"trim_domain_filesystems",
|
|
617
|
+
"undefine_domain",
|
|
618
|
+
"undefine_host_interface",
|
|
619
|
+
"undefine_network",
|
|
620
|
+
"undefine_node_device",
|
|
621
|
+
"undefine_nwfilter",
|
|
622
|
+
"undefine_pool",
|
|
623
|
+
"undefine_secret",
|
|
624
|
+
"update_domain_device",
|
|
625
|
+
"update_network",
|
|
626
|
+
"update_node_device",
|
|
627
|
+
"upload_pool_volume",
|
|
628
|
+
"wake_domain",
|
|
629
|
+
"wipe_pool_volume",
|
|
630
|
+
"wipe_pool_volume_with_pattern",
|
|
631
|
+
]
|