Why codes use "memory_mb, root_gb" because they are columns in db table instances_types. We should keep that code, only need update code here: https://github.com/openstack/nova/blob/master/nova/compute/flavors.py#L135 to change the response message from "memory_mb" and "root_gb" to "ram" and "disk" or other expected info.
Why codes use "memory_mb, root_gb" because they are columns in db table instances_types. We should keep that code, only need update code here: https:/ /github. com/openstack/ nova/blob/ master/ nova/compute/ flavors. py#L135 to change the response message from "memory_mb" and "root_gb" to "ram" and "disk" or other expected info.