def get_disk_controllers(caller_id): """ @cmview_user @response{list(dict)} disk controllers """ return [{'id': id, 'name': name} for name, id in disk_controllers.iteritems()]
def get_disk_controllers(caller_id): """ @cmview_user @response{list(dict)} keys: \c id, \c name, \c live_attach """ return [{'id': id, 'name': name, 'live_attach': (name in live_attach_disk_controllers)} for name, id in disk_controllers.iteritems()]
def get_disk_controllers(caller_id): """ @cmview_user @response{list(dict)} \c id and \c name of each IsoImage """ return [{ 'id': id, 'name': name } for name, id in disk_controllers.iteritems()]
def get_disk_controllers(caller_id): """ @cmview_user @response{list(dict)} \c id and \c name of each IsoImage """ return [{'id': id, 'name': name} for name, id in disk_controllers.iteritems()]
def get_disk_controllers(caller_id): """ @cmview_user @response{list(dict)} \c id and \c name for each disk controller """ return [{"id": id, "name": name} for name, id in disk_controllers.iteritems()]