2008-12-04 22:03:24 +00:00
|
|
|
/* Automatically generated by remote_generate_stubs.pl.
|
|
|
|
* Do not edit this file. Any changes you make will be lost.
|
|
|
|
*/
|
|
|
|
|
|
|
|
remote_get_type_ret val_remote_get_type_ret;
|
|
|
|
remote_get_version_ret val_remote_get_version_ret;
|
|
|
|
remote_get_max_vcpus_ret val_remote_get_max_vcpus_ret;
|
|
|
|
remote_node_get_info_ret val_remote_node_get_info_ret;
|
|
|
|
remote_get_capabilities_ret val_remote_get_capabilities_ret;
|
|
|
|
remote_domain_create_xml_ret val_remote_domain_create_xml_ret;
|
|
|
|
remote_domain_define_xml_ret val_remote_domain_define_xml_ret;
|
|
|
|
remote_domain_dump_xml_ret val_remote_domain_dump_xml_ret;
|
|
|
|
remote_domain_get_autostart_ret val_remote_domain_get_autostart_ret;
|
|
|
|
remote_domain_get_info_ret val_remote_domain_get_info_ret;
|
|
|
|
remote_domain_get_max_memory_ret val_remote_domain_get_max_memory_ret;
|
|
|
|
remote_domain_get_max_vcpus_ret val_remote_domain_get_max_vcpus_ret;
|
|
|
|
remote_domain_get_os_type_ret val_remote_domain_get_os_type_ret;
|
|
|
|
remote_domain_get_vcpus_ret val_remote_domain_get_vcpus_ret;
|
|
|
|
remote_list_defined_domains_ret val_remote_list_defined_domains_ret;
|
|
|
|
remote_domain_lookup_by_id_ret val_remote_domain_lookup_by_id_ret;
|
|
|
|
remote_domain_lookup_by_name_ret val_remote_domain_lookup_by_name_ret;
|
|
|
|
remote_domain_lookup_by_uuid_ret val_remote_domain_lookup_by_uuid_ret;
|
|
|
|
remote_num_of_defined_domains_ret val_remote_num_of_defined_domains_ret;
|
|
|
|
remote_list_defined_networks_ret val_remote_list_defined_networks_ret;
|
|
|
|
remote_list_domains_ret val_remote_list_domains_ret;
|
|
|
|
remote_list_networks_ret val_remote_list_networks_ret;
|
|
|
|
remote_network_create_xml_ret val_remote_network_create_xml_ret;
|
|
|
|
remote_network_define_xml_ret val_remote_network_define_xml_ret;
|
|
|
|
remote_network_dump_xml_ret val_remote_network_dump_xml_ret;
|
|
|
|
remote_network_get_autostart_ret val_remote_network_get_autostart_ret;
|
|
|
|
remote_network_get_bridge_name_ret val_remote_network_get_bridge_name_ret;
|
|
|
|
remote_network_lookup_by_name_ret val_remote_network_lookup_by_name_ret;
|
|
|
|
remote_network_lookup_by_uuid_ret val_remote_network_lookup_by_uuid_ret;
|
|
|
|
remote_num_of_defined_networks_ret val_remote_num_of_defined_networks_ret;
|
|
|
|
remote_num_of_domains_ret val_remote_num_of_domains_ret;
|
|
|
|
remote_num_of_networks_ret val_remote_num_of_networks_ret;
|
|
|
|
remote_domain_get_scheduler_type_ret val_remote_domain_get_scheduler_type_ret;
|
|
|
|
remote_domain_get_scheduler_parameters_ret val_remote_domain_get_scheduler_parameters_ret;
|
|
|
|
remote_get_hostname_ret val_remote_get_hostname_ret;
|
|
|
|
remote_supports_feature_ret val_remote_supports_feature_ret;
|
|
|
|
remote_domain_migrate_prepare_ret val_remote_domain_migrate_prepare_ret;
|
|
|
|
remote_domain_migrate_finish_ret val_remote_domain_migrate_finish_ret;
|
|
|
|
remote_domain_block_stats_ret val_remote_domain_block_stats_ret;
|
|
|
|
remote_domain_interface_stats_ret val_remote_domain_interface_stats_ret;
|
|
|
|
remote_auth_list_ret val_remote_auth_list_ret;
|
|
|
|
remote_auth_sasl_init_ret val_remote_auth_sasl_init_ret;
|
|
|
|
remote_auth_sasl_start_ret val_remote_auth_sasl_start_ret;
|
|
|
|
remote_auth_sasl_step_ret val_remote_auth_sasl_step_ret;
|
|
|
|
remote_auth_polkit_ret val_remote_auth_polkit_ret;
|
|
|
|
remote_num_of_storage_pools_ret val_remote_num_of_storage_pools_ret;
|
|
|
|
remote_list_storage_pools_ret val_remote_list_storage_pools_ret;
|
|
|
|
remote_num_of_defined_storage_pools_ret val_remote_num_of_defined_storage_pools_ret;
|
|
|
|
remote_list_defined_storage_pools_ret val_remote_list_defined_storage_pools_ret;
|
|
|
|
remote_find_storage_pool_sources_ret val_remote_find_storage_pool_sources_ret;
|
|
|
|
remote_storage_pool_create_xml_ret val_remote_storage_pool_create_xml_ret;
|
|
|
|
remote_storage_pool_define_xml_ret val_remote_storage_pool_define_xml_ret;
|
|
|
|
remote_storage_pool_lookup_by_name_ret val_remote_storage_pool_lookup_by_name_ret;
|
|
|
|
remote_storage_pool_lookup_by_uuid_ret val_remote_storage_pool_lookup_by_uuid_ret;
|
|
|
|
remote_storage_pool_lookup_by_volume_ret val_remote_storage_pool_lookup_by_volume_ret;
|
|
|
|
remote_storage_pool_get_info_ret val_remote_storage_pool_get_info_ret;
|
|
|
|
remote_storage_pool_dump_xml_ret val_remote_storage_pool_dump_xml_ret;
|
|
|
|
remote_storage_pool_get_autostart_ret val_remote_storage_pool_get_autostart_ret;
|
|
|
|
remote_storage_pool_num_of_volumes_ret val_remote_storage_pool_num_of_volumes_ret;
|
|
|
|
remote_storage_pool_list_volumes_ret val_remote_storage_pool_list_volumes_ret;
|
|
|
|
remote_storage_vol_create_xml_ret val_remote_storage_vol_create_xml_ret;
|
|
|
|
remote_storage_vol_lookup_by_name_ret val_remote_storage_vol_lookup_by_name_ret;
|
|
|
|
remote_storage_vol_lookup_by_key_ret val_remote_storage_vol_lookup_by_key_ret;
|
|
|
|
remote_storage_vol_lookup_by_path_ret val_remote_storage_vol_lookup_by_path_ret;
|
|
|
|
remote_storage_vol_get_info_ret val_remote_storage_vol_get_info_ret;
|
|
|
|
remote_storage_vol_dump_xml_ret val_remote_storage_vol_dump_xml_ret;
|
|
|
|
remote_storage_vol_get_path_ret val_remote_storage_vol_get_path_ret;
|
|
|
|
remote_node_get_cells_free_memory_ret val_remote_node_get_cells_free_memory_ret;
|
|
|
|
remote_node_get_free_memory_ret val_remote_node_get_free_memory_ret;
|
|
|
|
remote_domain_block_peek_ret val_remote_domain_block_peek_ret;
|
|
|
|
remote_domain_memory_peek_ret val_remote_domain_memory_peek_ret;
|
|
|
|
remote_domain_events_register_ret val_remote_domain_events_register_ret;
|
|
|
|
remote_domain_events_deregister_ret val_remote_domain_events_deregister_ret;
|
|
|
|
remote_domain_migrate_prepare2_ret val_remote_domain_migrate_prepare2_ret;
|
|
|
|
remote_domain_migrate_finish2_ret val_remote_domain_migrate_finish2_ret;
|
|
|
|
remote_get_uri_ret val_remote_get_uri_ret;
|
|
|
|
remote_node_num_of_devices_ret val_remote_node_num_of_devices_ret;
|
|
|
|
remote_node_list_devices_ret val_remote_node_list_devices_ret;
|
|
|
|
remote_node_device_lookup_by_name_ret val_remote_node_device_lookup_by_name_ret;
|
|
|
|
remote_node_device_dump_xml_ret val_remote_node_device_dump_xml_ret;
|
|
|
|
remote_node_device_get_parent_ret val_remote_node_device_get_parent_ret;
|
|
|
|
remote_node_device_num_of_caps_ret val_remote_node_device_num_of_caps_ret;
|
|
|
|
remote_node_device_list_caps_ret val_remote_node_device_list_caps_ret;
|
2009-03-03 09:27:02 +00:00
|
|
|
remote_domain_get_security_label_ret val_remote_domain_get_security_label_ret;
|
|
|
|
remote_node_get_security_model_ret val_remote_node_get_security_model_ret;
|
2009-04-24 13:11:23 +00:00
|
|
|
remote_node_device_create_xml_ret val_remote_node_device_create_xml_ret;
|
2009-05-12 20:13:52 +00:00
|
|
|
remote_storage_vol_create_xml_from_ret val_remote_storage_vol_create_xml_from_ret;
|
2009-05-20 14:26:49 +00:00
|
|
|
remote_num_of_interfaces_ret val_remote_num_of_interfaces_ret;
|
|
|
|
remote_list_interfaces_ret val_remote_list_interfaces_ret;
|
|
|
|
remote_interface_lookup_by_name_ret val_remote_interface_lookup_by_name_ret;
|
|
|
|
remote_interface_lookup_by_mac_string_ret val_remote_interface_lookup_by_mac_string_ret;
|
|
|
|
remote_interface_get_xml_desc_ret val_remote_interface_get_xml_desc_ret;
|
|
|
|
remote_interface_define_xml_ret val_remote_interface_define_xml_ret;
|
2009-05-21 13:50:56 +00:00
|
|
|
remote_domain_xml_from_native_ret val_remote_domain_xml_from_native_ret;
|
|
|
|
remote_domain_xml_to_native_ret val_remote_domain_xml_to_native_ret;
|
2009-07-16 15:58:15 +00:00
|
|
|
remote_num_of_defined_interfaces_ret val_remote_num_of_defined_interfaces_ret;
|
|
|
|
remote_list_defined_interfaces_ret val_remote_list_defined_interfaces_ret;
|
2009-07-28 02:01:00 +00:00
|
|
|
remote_num_of_secrets_ret val_remote_num_of_secrets_ret;
|
|
|
|
remote_list_secrets_ret val_remote_list_secrets_ret;
|
Fix UUID handling in secrets/storage encryption APIs
Convert all the secret/storage encryption APIs / wire format to
handle UUIDs in raw format instead of non-canonical printable
format. Guarentees data format correctness.
* docs/schemas/storageencryption.rng: Make UUID mandatory for a secret
and validate fully
* docs/schemas/secret.rng: Fully validate UUID
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in, Add
virSecretLookupByUUID and virSecretGetUUID. Make
virSecretGetUUIDString follow normal API design pattern
* python/generator.py: Skip generation of virSecretGetUUID,
virSecretGetUUIDString and virSecretLookupByUUID
* python/libvir.c, python/libvirt-python-api.xml: Manual impl
of virSecretGetUUID,virSecretGetUUIDString and virSecretLookupByUUID
* qemud/remote.c: s/virSecretLookupByUUIDString/virSecretLookupByUUID/
Fix get_nonnull_secret/make_nonnull_secret to use unsigned char
* qemud/remote_protocol.x: Fix remote_nonnull_secret to use a
remote_uuid instead of remote_nonnull_string for UUID field.
Rename REMOTE_PROC_SECRET_LOOKUP_BY_UUID_STRING to
REMOTE_PROC_SECRET_LOOKUP_BY_UUID_STRING and make it take an
remote_uuid value
* qemud/remote_dispatch_args.h, qemud/remote_dispatch_prototypes.h,
qemud/remote_dispatch_ret.h, qemud/remote_dispatch_table.h,
qemud/remote_protocol.c, qemud/remote_protocol.h: Re-generate
* src/datatypes.h, src/datatypes.c: Store UUID in raw format instead
of printable. Change virGetSecret to use raw format UUID
* src/driver.h: Rename virDrvSecretLookupByUUIDString to
virDrvSecretLookupByUUID and use raw format UUID
* src/libvirt.c: Add virSecretLookupByUUID and virSecretGetUUID
and re-implement virSecretLookupByUUIDString and
virSecretGetUUIDString in terms of those
* src/libvirt_public.syms: Add virSecretLookupByUUID and
virSecretGetUUID
* src/remote_internal.c: Rename remoteSecretLookupByUUIDString
to remoteSecretLookupByUUID. Fix typo in args for
remoteSecretDefineXML impl. Use raw UUID format for
get_nonnull_secret and make_nonnull_secret
* src/storage_encryption_conf.c, src/storage_encryption_conf.h:
Storage UUID in raw format, and require it to be present in
XML. Use UUID parser to validate.
* secret_conf.h, secret_conf.c: Generate a UUID if none is provided.
Storage UUID in raw format.
* src/secret_driver.c: Adjust to deal with raw UUIDs. Save secrets
in a filed with printable UUID, instead of base64 UUID.
* src/virsh.c: Adjust for changed public API contract of
virSecretGetUUIDString.
* src/storage_Backend.c: DOn't undefine secret we just generated
upon successful volume creation. Fix to handle raw UUIDs. Generate
a non-clashing UUID
* src/qemu_driver.c: Change to use lookupByUUID instead of
lookupByUUIDString
2009-09-10 16:44:12 +00:00
|
|
|
remote_secret_lookup_by_uuid_ret val_remote_secret_lookup_by_uuid_ret;
|
2009-07-28 02:01:00 +00:00
|
|
|
remote_secret_define_xml_ret val_remote_secret_define_xml_ret;
|
|
|
|
remote_secret_get_xml_desc_ret val_remote_secret_get_xml_desc_ret;
|
|
|
|
remote_secret_get_value_ret val_remote_secret_get_value_ret;
|
Add usage type/id as a public API property of virSecret
* include/libvirt/libvirt.h, include/libvirt/libvirt.h.in: Add
virSecretGetUsageType, virSecretGetUsageID and virLookupSecretByUsage
* python/generator.py: Mark virSecretGetUsageType, virSecretGetUsageID
as not throwing exceptions
* qemud/remote.c: Implement dispatch for virLookupSecretByUsage
* qemud/remote_protocol.x: Add usage type & ID as attributes of
remote_nonnull_secret. Add RPC calls for new public APIs
* qemud/remote_dispatch_args.h, qemud/remote_dispatch_prototypes.h,
qemud/remote_dispatch_ret.h, qemud/remote_dispatch_table.h,
qemud/remote_protocol.c, qemud/remote_protocol.h: Re-generate
* src/datatypes.c, src/datatypes.h: Add usageType and usageID as
properties of virSecretPtr
* src/driver.h: Add virLookupSecretByUsage driver entry point
* src/libvirt.c: Implement virSecretGetUsageType, virSecretGetUsageID
and virLookupSecretByUsage
* src/libvirt_public.syms: Export virSecretGetUsageType, virSecretGetUsageID
and virLookupSecretByUsage
* src/remote_internal.c: Implement virLookupSecretByUsage entry
* src/secret_conf.c, src/secret_conf.h: Remove the
virSecretUsageType enum, now in public API. Make volume
path mandatory when parsing XML
* src/secret_driver.c: Enforce usage uniqueness when defining secrets.
Implement virSecretLookupByUsage api method
* src/virsh.c: Include usage for secret-list command
2009-09-11 13:06:15 +00:00
|
|
|
remote_secret_lookup_by_usage_ret val_remote_secret_lookup_by_usage_ret;
|
Implmentation of new APIs to checking state/persistence of objects
This implements the virConnectIsSecure, virConnectIsEncrypted,
virDomainIsPersistent, virDomainIsActive, virNetworkIsActive,
virNetworkIsPersistent, virStoragePoolIsActive,
virStoragePoolIsPersistent, virInterfaceIsActive APIs in
(nearly) all drivers. Exceptions are:
phyp: missing domainIsActive/Persistent
esx: missing domainIsPersistent
opennebula: missing domainIsActive/Persistent
* src/remote/remote_protocol.x: Define remote wire ABI for newly
added APIs.
* daemon/remote_dispatch*.h: Re-generated from remote_protocol.x
* src/esx/esx_driver.c, src/lxc/lxc_driver.c, src/network/bridge_driver.c,
src/opennebula/one_driver.c, src/openvz/openvz_conf.c,
src/openvz/openvz_driver.c, src/phyp/phyp_driver.c,
src/remote/remote_driver.c, src/storage/storage_driver.c,
src/test/test_driver.c, src/uml/uml_driver.c, src/vbox/vbox_tmpl.c,
src/xen/xen_driver.c, src/xen/xen_driver.h, src/xen/xen_inotify.c,
src/xen/xen_inotify.h: Implement all the new APIs where possible
2009-10-20 14:12:03 +00:00
|
|
|
remote_is_secure_ret val_remote_is_secure_ret;
|
|
|
|
remote_domain_is_active_ret val_remote_domain_is_active_ret;
|
|
|
|
remote_domain_is_persistent_ret val_remote_domain_is_persistent_ret;
|
|
|
|
remote_network_is_active_ret val_remote_network_is_active_ret;
|
|
|
|
remote_network_is_persistent_ret val_remote_network_is_persistent_ret;
|
|
|
|
remote_storage_pool_is_active_ret val_remote_storage_pool_is_active_ret;
|
|
|
|
remote_storage_pool_is_persistent_ret val_remote_storage_pool_is_persistent_ret;
|
|
|
|
remote_interface_is_active_ret val_remote_interface_is_active_ret;
|
2009-11-12 15:53:26 +00:00
|
|
|
remote_get_lib_version_ret val_remote_get_lib_version_ret;
|
2009-12-18 14:49:34 +00:00
|
|
|
remote_cpu_compare_ret val_remote_cpu_compare_ret;
|
2009-12-20 12:43:19 +00:00
|
|
|
remote_domain_memory_stats_ret val_remote_domain_memory_stats_ret;
|
2010-02-02 13:39:05 +00:00
|
|
|
remote_cpu_baseline_ret val_remote_cpu_baseline_ret;
|
2010-02-03 14:10:13 +00:00
|
|
|
remote_domain_get_job_info_ret val_remote_domain_get_job_info_ret;
|
2010-03-25 17:46:03 +00:00
|
|
|
remote_nwfilter_lookup_by_name_ret val_remote_nwfilter_lookup_by_name_ret;
|
|
|
|
remote_nwfilter_lookup_by_uuid_ret val_remote_nwfilter_lookup_by_uuid_ret;
|
|
|
|
remote_nwfilter_get_xml_desc_ret val_remote_nwfilter_get_xml_desc_ret;
|
|
|
|
remote_num_of_nwfilters_ret val_remote_num_of_nwfilters_ret;
|
|
|
|
remote_list_nwfilters_ret val_remote_list_nwfilters_ret;
|
|
|
|
remote_nwfilter_define_xml_ret val_remote_nwfilter_define_xml_ret;
|
2010-04-01 08:54:12 +00:00
|
|
|
remote_domain_has_managed_save_image_ret val_remote_domain_has_managed_save_image_ret;
|
2010-03-31 20:33:13 +00:00
|
|
|
remote_domain_snapshot_create_xml_ret val_remote_domain_snapshot_create_xml_ret;
|
|
|
|
remote_domain_snapshot_dump_xml_ret val_remote_domain_snapshot_dump_xml_ret;
|
|
|
|
remote_domain_snapshot_num_ret val_remote_domain_snapshot_num_ret;
|
|
|
|
remote_domain_snapshot_list_names_ret val_remote_domain_snapshot_list_names_ret;
|
|
|
|
remote_domain_snapshot_lookup_by_name_ret val_remote_domain_snapshot_lookup_by_name_ret;
|
|
|
|
remote_domain_has_current_snapshot_ret val_remote_domain_has_current_snapshot_ret;
|
|
|
|
remote_domain_snapshot_current_ret val_remote_domain_snapshot_current_ret;
|
2010-04-27 19:29:15 +00:00
|
|
|
remote_domain_get_block_info_ret val_remote_domain_get_block_info_ret;
|
2010-06-10 14:53:28 +00:00
|
|
|
remote_domain_create_with_flags_ret val_remote_domain_create_with_flags_ret;
|
2010-10-12 17:23:04 +00:00
|
|
|
remote_domain_get_memory_parameters_ret val_remote_domain_get_memory_parameters_ret;
|
2010-09-27 16:10:06 +00:00
|
|
|
remote_domain_get_vcpus_flags_ret val_remote_domain_get_vcpus_flags_ret;
|
2010-11-15 03:23:34 +00:00
|
|
|
remote_domain_is_updated_ret val_remote_domain_is_updated_ret;
|
2011-02-07 22:04:17 +00:00
|
|
|
remote_get_sysinfo_ret val_remote_get_sysinfo_ret;
|
2011-02-22 05:34:28 +00:00
|
|
|
remote_domain_get_blkio_parameters_ret val_remote_domain_get_blkio_parameters_ret;
|