'Returns the details of the tenant based on its name.'

def tenant_show(self, label):

    if label:
        tenant_id = self.tenant_query(label)
    else:
        tenant_id = self.tenant_getid()
    return self.tenant_show_by_uri(tenant_id)
