def get_dev_count_for_disk_bus(disk_bus):

    if disk_bus == "ide":
        return 4
    else:
        return 26
Determine the number disks supported.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/blockinfo.py/get_dev_count_for_disk_bus