]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Print cephx and iscsi usage
authorJohn Ferlan <jferlan@redhat.com>
Tue, 6 Aug 2013 11:49:23 +0000 (07:49 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 20 Aug 2013 17:27:44 +0000 (13:27 -0400)
commitdb1382f322841a7f8c877151644f49c147664fec
treead1e0e79620697adb7378d41f11fa1bbd93ccc34
parent6aea4ebcd03f926ee7de6ca3671a5435b56d8ff2
virsh: Print cephx and iscsi usage

When using virsh secret-list - if the secret types are cephx or iscsi,
then allow fetch/print of the usage information. Prior to the change
the following would print:

UUID                                 Usage
-----------------------------------------------------------
1b40a534-8301-45d5-b1aa-11894ebb1735 Unused
a5ba3efe-6adf-4a6a-b243-f010a043e314 Unused

Afterwards:

UUID                                 Usage
-----------------------------------------------------------
1b40a534-8301-45d5-b1aa-11894ebb1735 ceph ceph_example
a5ba3efe-6adf-4a6a-b243-f010a043e314 iscsi libvirtiscsi
tools/virsh-secret.c