def stop(self, args): crm = ex.CRMData() crm.check() logicalunit = ex.LogicalUnit() logicalunit.stop(args.logicalunit)
def remove(self, args): crm = ex.CRMData() crm.check() logicalunit = ex.LogicalUnit() logicalunit.remove(args.logicalunit, args.hosts)
def add(self, args): crm = ex.CRMData() crm.check() logicalunit = ex.LogicalUnit() logicalunit.add(args.logicalunit, args.hosts)
def delete(self, args): crm = ex.CRMData() crm.check() logicalunit = ex.LogicalUnit() logicalunit.delete(args.logicalunit)
def show(self, args): crm = ex.CRMData() crm.check() logicalunit = ex.LogicalUnit() logicalunit.show()
def create(self, args): crm = ex.CRMData() crm.check() logicalunit = ex.LogicalUnit() logicalunit.create(args.target, args.disk, args.host, args.name)