Skip to content
Snippets Groups Projects
Commit 0ac21cd8 authored by Anael Beutot's avatar Anael Beutot
Browse files

Added tag sto_vol that list volume names in a libvirt storage pool

parent d9d1a765
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,8 @@ class Handler(HostHandler):
Tag('sto%s_used' % name,
lambda sto: sto.capacity - sto.available, 5, 5, storage),
Tag('sto%s_type' % name, lambda sto: sto.type, 5, 5, storage),
Tag('sto%s_vol' % name, lambda sto: ' '.join(sto.volumes),
5, 5, storage),
))
# register domains
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment