# File lib/fog/compute/openstack.rb, line 382
        def initialize(options = {})
          initialize_identity options

          @openstack_identity_service_type = options[:openstack_identity_service_type] || 'identity'

          @openstack_service_type   = options[:openstack_service_type] || %w(nova compute)
          @openstack_service_name   = options[:openstack_service_name]

          @connection_options       = options[:connection_options] || {}

          authenticate

          unless @path =~ /1\.1|v2/
            raise Fog::OpenStack::Errors::ServiceUnavailable,
                  "OpenStack compute binding only supports version 2 (a.k.a. 1.1)"
          end

          @persistent = options[:persistent] || false
          @connection = Fog::Core::Connection.new("#{@scheme}://#{@host}:#{@port}", @persistent, @connection_options)
        end