def execute(self, ns, vgs): """ Implementation of 'vg delete' command. """ for vg in vgs: lvm.delete_vg(ns, vg)
def execute(self, ns, tps): """ Implementation of 'thinpool delete' command. """ for tp in tps: lvm.delete_vg(ns, tp)