On 02/28/2013 03:00 AM, liyang wrote:
[root@63beta-kvm tests]# virsh help net-dumpxml
********
********
OPTIONS
[--network] <string> network name or uuid
--inactive network information of an inactive domain

According to the help information of "net-dumpxml","--inactive" is for
inactive network,
so why when network is active, "--inactive" still worked normally..

What that sounds like a completely, totally useless option! Ha! I found it doesn't even exist on older libvirt:

[root@localhost ~]# virsh help net-dumpxml
  NAME
    net-dumpxml - network information in XML

  SYNOPSIS
    net-dumpxml <network>

  DESCRIPTION
    Output the network information as an XML dump to stdout.

  OPTIONS
    [--network] <string>  network name, id or uuid

My only guess is it would raise an error on transient (i.e. created but not defined) networks since (by definition) they cannot be inactive. Still, I am puzzled about this as well. IMHO it should raise an error on active networks, maybe we can raise a bug about it.

I'll take a look at this test in more detail shortly.

--
Chris Evich, RHCA, RHCE, RHCDS, RHCSS
Quality Assurance Engineer
e-mail: cevich + `@' + redhat.com o: 1-888-RED-HAT1 x44214

_______________________________________________
Virt-test-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-test-devel

Reply via email to