Add create_flavor in compute.base

This is to add create_flavor in compute.base, so the code
can be simplified.

Change-Id: Iffb6495a865550f0888b6d5fe5d7031f57a37fe4
2 files changed