def summary(self):
    mapped_lun = self.rtsnode
    is_healthy = True
    try:
        tpg_lun = mapped_lun.tpg_lun
    except RTSLibBrokenLink:
        description = 'BROKEN LUN LINK'
        is_healthy = False
    else:
        if mapped_lun.write_protect:
            access_mode = 'ro'
        else:
            access_mode = 'rw'
        description = ('lun%d %s/%s (%s)' % (tpg_lun.lun, tpg_lun.storage_object.plugin, tpg_lun.storage_object.name, access_mode))
    return (description, is_healthy)
def summary(self):
    mapped_lun = self.rtsnode
    is_healthy = True
    try:
        tpg_lun = mapped_lun.tpg_lun
    except RTSLibBrokenLink:
        description = 'BROKEN LUN LINK'
        is_healthy = False
    else:
        if mapped_lun.write_protect:
            access_mode = 'ro'
        else:
            access_mode = 'rw'
        description = ('lun%d %s/%s (%s)' % (tpg_lun.lun, tpg_lun.storage_object.plugin, tpg_lun.storage_object.name, access_mode))
    return (description, is_healthy)