# File lib/fog/ecloud/requests/compute/configure_network_ip.rb, line 49
        def configure_network_ip(network_ip_uri, network_ip_data)
          validate_network_ip_data(network_ip_data)

          if network_ip = mock_data.network_ip_from_href(network_ip_uri)
            network_ip[:rnat] = network_ip_data[:rnat]

            builder = Builder::XmlMarkup.new
            xml = network_ip_response(builder, network_ip, ecloud_xmlns)

            mock_it 200, xml, { 'Content-Type' => 'application/vnd.tmrk.ecloud.ip+xml' }
          else
            mock_error 200, "401 Unauthorized"
          end
        end