def flavor f
      @logger.debug "OpenStack: Looking up flavor '#{f}'"
      @compute_client.flavors.find { |x| x.name == f } || raise("Couldn't find flavor: #{f}")
    end
def flavor f
      @logger.debug "OpenStack: Looking up flavor '#{f}'"
      @compute_client.flavors.find { |x| x.name == f } || raise("Couldn't find flavor: #{f}")
    end
Create a new instance of the OpenStack hypervisor object
@param [<Host>] openstack_hosts The array of OpenStack hosts to provision
@param [Hash{Symbol=>String}] options The options hash containing configuration values
@option options [String] :openstack_api_key The key to access the OpenStack instance with (required)
@option options [String] :openstack_username The username to access the OpenStack instance with (required)
@option options [String] :openstack_auth_url The URL to access the OpenStack instance with (required)
@option options [String] :openstack_tenant The tenant to access the OpenStack instance with (required)
@option options [String] :openstack_region The region that each OpenStack instance should be provisioned on (optional)
@option options [String] :openstack_network The network that each OpenStack instance should be contacted through (required)
@option options [String] :openstack_keyname The name of an existing key pair that should be auto-loaded onto each
@option options [Hash] :security_group An array of security groups to associate with the instance
                                            OpenStack instance (optional)
@option options [String] :jenkins_build_url Added as metadata to each OpenStack instance
@option options [String] :department Added as metadata to each OpenStack instance
@option options [String] :project Added as metadata to each OpenStack instance
@option options [Integer] :timeout The amount of time to attempt execution before quiting and exiting with failure
Provided a flavor name return the OpenStack id for that flavor
@param [String] f The flavor name
@return [String] Openstack id for provided flavor name