diff options
author | Osier Yang <jyang@redhat.com> | 2012-09-14 16:38:52 +0800 |
---|---|---|
committer | Osier Yang <jyang@redhat.com> | 2012-09-17 13:23:19 +0800 |
commit | d15d092cda87766c7dc2cb5f8568170d492b27ba (patch) | |
tree | d248d3bb2051846926a529a2d87f2667ed452b61 /daemon | |
parent | list: Expose virConnectListAllSecrets to Python binding (diff) | |
download | libvirt-d15d092cda87766c7dc2cb5f8568170d492b27ba.tar.gz libvirt-d15d092cda87766c7dc2cb5f8568170d492b27ba.tar.bz2 libvirt-d15d092cda87766c7dc2cb5f8568170d492b27ba.zip |
list: Use virConnectListAllSecrets in virsh
This introduces four new options for secret-list, to filter the
returned secrets by whether it's ephemeral or not, and/or by
whether it's private or not.
* tools/virsh-secret.c: (New helper vshSecretSorter,
vshSecretListFree, and vshCollectSecretList; Use the new
API for secret-list; error out if flags are specified,
because there is no way to filter the results when using
old APIs (no APIs to get the properties (ephemeral, private)
of a secret yet).
* tools/virsh.pod: Document the 4 new options.
Diffstat (limited to 'daemon')
0 files changed, 0 insertions, 0 deletions