[libvirt] [test-API 08/17] Substitute 'guest ' with 'domain '

Martin Kletzander mkletzan at redhat.com
Fri Apr 20 09:34:32 UTC 2012


On 04/20/2012 08:46 AM, Osier Yang wrote:
> ---
>  cases/migration/ssh_persistent_paused_no_dst.conf  |    2 +-
>  .../migration/ssh_persistent_paused_with_dst.conf  |    2 +-
>  cases/migration/ssh_persistent_running_no_dst.conf |    2 +-
>  .../migration/ssh_persistent_running_with_dst.conf |    2 +-
>  cases/migration/ssh_transient_paused_no_dst.conf   |    2 +-
>  cases/migration/ssh_transient_paused_with_dst.conf |    2 +-
>  cases/migration/ssh_transient_running_no_dst.conf  |    2 +-
>  .../migration/ssh_transient_running_with_dst.conf  |    2 +-
>  cases/migration/tcp_persistent_paused_no_dst.conf  |    2 +-
>  .../migration/tcp_persistent_paused_with_dst.conf  |    2 +-
>  cases/migration/tcp_persistent_running_no_dst.conf |    2 +-
>  .../migration/tcp_persistent_running_with_dst.conf |    2 +-
>  .../tcp_sasl_persistent_paused_no_dst.conf         |    2 +-
>  .../tcp_sasl_persistent_paused_with_dst.conf       |    2 +-
>  .../tcp_sasl_persistent_running_no_dst.conf        |    2 +-
>  .../tcp_sasl_persistent_running_with_dst.conf      |    2 +-
>  .../tcp_sasl_transient_paused_no_dst.conf          |    2 +-
>  .../tcp_sasl_transient_paused_with_dst.conf        |    2 +-
>  .../tcp_sasl_transient_running_no_dst.conf         |    2 +-
>  .../tcp_sasl_transient_running_with_dst.conf       |    2 +-
>  cases/migration/tcp_transient_paused_no_dst.conf   |    2 +-
>  cases/migration/tcp_transient_paused_with_dst.conf |    2 +-
>  cases/migration/tcp_transient_running_no_dst.conf  |    2 +-
>  .../migration/tcp_transient_running_with_dst.conf  |    2 +-
>  cases/migration/tls_persistent_paused_no_dst.conf  |    2 +-
>  .../migration/tls_persistent_paused_with_dst.conf  |    2 +-
>  cases/migration/tls_persistent_running_no_dst.conf |    2 +-
>  .../migration/tls_persistent_running_with_dst.conf |    2 +-
>  .../tls_sasl_persistent_paused_no_dst.conf         |    2 +-
>  .../tls_sasl_persistent_paused_with_dst.conf       |    2 +-
>  .../tls_sasl_persistent_running_no_dst.conf        |    2 +-
>  .../tls_sasl_persistent_running_with_dst.conf      |    2 +-
>  .../tls_sasl_transient_paused_no_dst.conf          |    2 +-
>  .../tls_sasl_transient_paused_with_dst.conf        |    2 +-
>  .../tls_sasl_transient_running_no_dst.conf         |    2 +-
>  .../tls_sasl_transient_running_with_dst.conf       |    2 +-
>  cases/migration/tls_transient_paused_no_dst.conf   |    2 +-
>  cases/migration/tls_transient_paused_with_dst.conf |    2 +-
>  cases/migration/tls_transient_running_no_dst.conf  |    2 +-
>  .../migration/tls_transient_running_with_dst.conf  |    2 +-
>  .../en-US/Understanding_libvirt-test-API.xml       |    2 +-
>  .../en-US/Writing_a_test_case.xml                  |   14 +++---
>  .../libvirt-test-API_Guide/en-US/extras/log.txt    |    8 ++--
>  global.cfg                                         |   14 +++---
>  repos/domain/attach_disk.py                        |    4 +-
>  repos/domain/attach_interface.py                   |    4 +-
>  repos/domain/autostart.py                          |    2 +-
>  repos/domain/balloon_memory.py                     |   42 +++++++-------
>  repos/domain/blkstats.py                           |    2 +-
>  repos/domain/console_io.py                         |    4 +-
>  repos/domain/console_mutex.py                      |    2 +-
>  repos/domain/cpu_affinity.py                       |   22 ++++----
>  repos/domain/cpu_topology.py                       |   14 +++---
>  repos/domain/create.py                             |    4 +-
>  repos/domain/define.py                             |    2 +-
>  repos/domain/destroy.py                            |    6 +-
>  repos/domain/detach_disk.py                        |    4 +-
>  repos/domain/detach_interface.py                   |    4 +-
>  repos/domain/domain_blkinfo.py                     |    2 +-
>  repos/domain/domain_id.py                          |    2 +-
>  repos/domain/domain_list.py                        |   10 ++--
>  repos/domain/domain_name.py                        |    4 +-
>  repos/domain/domain_uuid.py                        |    4 +-
>  repos/domain/domblkinfo.py                         |    2 +-
>  repos/domain/dump.py                               |   14 +++---
>  repos/domain/eventhandler.py                       |    6 +-
>  repos/domain/ifstats.py                            |    2 +-
>  repos/domain/install_image.py                      |   14 +++---
>  repos/domain/install_linux_cdrom.py                |   58 ++++++++++----------
>  repos/domain/install_linux_check.py                |   36 ++++++------
>  repos/domain/install_linux_net.py                  |   52 +++++++++---------
>  repos/domain/install_windows_cdrom.py              |   50 +++++++++---------
>  repos/domain/migrate.py                            |    2 +-
>  repos/domain/restore.py                            |   16 +++---
>  repos/domain/save.py                               |   16 +++---
>  repos/domain/sched_params.py                       |    2 +-
>  repos/domain/shutdown.py                           |    4 +-
>  repos/domain/start.py                              |    4 +-
>  repos/domain/suspend.py                            |    2 +-
>  repos/libvirtd/restart.py                          |    4 +-
>  .../multiple_thread_block_on_domain_create.py      |   14 +++---
>  repos/sVirt/domain_nfs_start.py                    |    6 +-
>  repos/snapshot/delete.py                           |    2 +-
>  repos/snapshot/file_flag.py                        |   12 ++--
>  repos/snapshot/flag_check.py                       |    6 +-
>  repos/snapshot/internal_create.py                  |    2 +-
>  repos/snapshot/revert.py                           |    2 +-
>  repos/snapshot/snapshot_list.py                    |    4 +-
>  88 files changed, 294 insertions(+), 294 deletions(-)
> 
> diff --git a/cases/migration/ssh_persistent_paused_no_dst.conf b/cases/migration/ssh_persistent_paused_no_dst.conf
> index e236d55..542b465 100644
> --- a/cases/migration/ssh_persistent_paused_no_dst.conf
> +++ b/cases/migration/ssh_persistent_paused_no_dst.conf
> @@ -1,4 +1,4 @@
> -# This is a sample for migration testing, it assumes that there is a preinstalled rhel6 guest image file
> +# This is a sample for migration testing, it assumes that there is a preinstalled rhel6 domain image file

This makes my "tummy ache" a bit more than the previous one...

>  # named rhel6 located in shared storage. Then on both host side, it needs to mount the shared folder onto
>  # the default libvirt image folder: /var/lib/libvirt/images
>  
<snip>
> diff --git a/docs/User_Guide/libvirt-test-API_Guide/en-US/Understanding_libvirt-test-API.xml b/docs/User_Guide/libvirt-test-API_Guide/en-US/Understanding_libvirt-test-API.xml
> index a563953..b065cb1 100644
> --- a/docs/User_Guide/libvirt-test-API_Guide/en-US/Understanding_libvirt-test-API.xml
> +++ b/docs/User_Guide/libvirt-test-API_Guide/en-US/Understanding_libvirt-test-API.xml
> @@ -203,7 +203,7 @@ repos
>            <para><filename>xml_builder.py</filename> builds a virtual machine from an XML file.</para>
>          </listitem>
>          <listitem>
> -          <para>Random MAC address generator. Useful when installing a guest machine.</para>
> +          <para>Random MAC address generator. Useful when installing a domain machine.</para>

...and this is definitely not right =) But how about "when installing a
guest domain."? That's widely used and sounds good, I guess.

Martin




More information about the libvir-list mailing list