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
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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