@property
    def _small_ks_disks(self):
        return [d for d in self._ks_disks if d['size'] <= 2 * 1024 * 1024]
Get those disks which are smaller than 2T
dataset/ETHPy150Open openstack/bareon/bareon/drivers/data/generic.py/GenericDataDriver._small_ks_disks