    # File lib/fog/openstack/requests/network/associate_floating_ip.rb, line 6
            def associate_floating_ip(floating_ip_id, port_id, options = {})
              data = {
                'floating_ip' => {
                  'port_id'    => port_id,
                }
              }

              vanilla_options = [:fixed_ip_address]
              vanilla_options.reject{ |o| options[o].nil? }.each do |key|
                data['floating_ip'][key] = options[key]
              end

              request(
                :body     => Fog::JSON.encode(data),
                :expects  => [200],
                :method   => 'PUT',
                :path     => "floatingips/#{floating_ip_id}"
              )
            end