Refactoring new_flavor method in Openstack VIM connector

No match.