

def scsi_address(dev):
    for address in scsi_address_list():
        scsi_path = ('/sys/class/scsi_device/%s/device/block/' % address)
        if (dev == os.path.join('/dev', os.listdir(scsi_path)[0])):
            return address

dataset/ETHPy150Open openstack/bareon/bareon/utils/hardware.py scsi_address/original