]> xenbits.xensource.com Git - libvirt.git/commit
list: Use virConnectListAllNetworks in virsh
authorOsier Yang <jyang@redhat.com>
Tue, 4 Sep 2012 15:55:20 +0000 (23:55 +0800)
committerOsier Yang <jyang@redhat.com>
Tue, 11 Sep 2012 10:35:06 +0000 (18:35 +0800)
commit895913dd590c7e7a62e353880d49d2bf23c7cf69
tree7cd8f4a02ce9d7192537de41d5f8d064ad3d0039
parent4a27ac1de1b22b21a918199e16fe15d6c8566b42
list: Use virConnectListAllNetworks in virsh

tools/virsh-network.c:
  * vshNetworkSorter to sort networks by name

  * vshNetworkListFree to free the network objects list.

  * vshNetworkListCollect to collect the network objects, trying
    to use new API first, fall back to older APIs if it's not supported.

  * New options --persistent, --transient, --autostart, --no-autostart,
    for net-list, and new field 'Persistent' for its output.

tools/virsh.pod:
  * Add documents for the new options.
tools/virsh-network.c
tools/virsh.pod