def METHOD_NAME(self, device_class):
    """
    To list all OSDs that belong to a particular class
    Args:
        device_class (str): device class (hdd/ssd)
    """
    cmd = f"{self.base_cmd} class ls-osd {device_class}"
    out = self.execute(sudo=True, cmd=cmd)
    if isinstance(out, tuple):
        return out[0].strip()
    return out