When a flavor is deleted, it is also deleted from the database. This leads to instances with no flavor information associated to them. Some flavor information can be extracted from the instance information in the database, but not the name.
This change implements a file based flavor cache that saves the flavors previously encountered into a JSON file that is then loaded to provide this information unavailable from the database.
Additionally, this change also adds support for GPU V100, and reworks the code to distinguish which GPU flavor is being used and how many SUs.
When a flavor is deleted, it is also deleted from the database. This leads to instances with no flavor information associated to them. Some flavor information can be extracted from the instance information in the database, but not the name.
This change implements a file based flavor cache that saves the flavors previously encountered into a JSON file that is then loaded to provide this information unavailable from the database.
Additionally, this change also adds support for GPU V100, and reworks the code to distinguish which GPU flavor is being used and how many SUs.