def _save_disk_layout(node, i_info):
    driver_internal_info = node.driver_internal_info
    driver_internal_info['instance'] = {}

    for param in DISK_LAYOUT_PARAMS:
        driver_internal_info['instance'][param] = i_info[param]

    node.driver_internal_info = driver_internal_info
    node.save()
Saves the disk layout.
dataset/ETHPy150Open openstack/ironic/ironic/drivers/modules/iscsi_deploy.py/_save_disk_layout