def device_get_smartinfo(request, device_id=None, device_path=None): search_opts = {} print 'device_id====', device_id, '--device_path=', device_path search_opts['device_id'] = device_id search_opts['device_path'] = device_path ret = vsmapi.device_get_smartinfo(request, search_opts=search_opts) return ret
def device_get_smartinfo(request,device_id=None,action='get_smart_info'): search_opts = {} #print 'device_id====',device_id if device_id:search_opts['device_id'] = device_id search_opts['action'] = action ret = vsmapi.device_get_smartinfo(request,search_opts=search_opts) return ret
def device_get_smartinfo(request,device_id=None,device_path=None): search_opts = {} print 'device_id====',device_id,'--device_path=',device_path search_opts['device_id'] = device_id search_opts['device_path'] = device_path ret = vsmapi.device_get_smartinfo(request,search_opts=search_opts) return ret
def device_get_smartinfo(request, device_id=None, action='get_smart_info'): search_opts = {} #print 'device_id====',device_id if device_id: search_opts['device_id'] = device_id search_opts['action'] = action ret = vsmapi.device_get_smartinfo(request, search_opts=search_opts) return ret