    # File lib/fog/openstack/requests/network/update_network.rb, line 6
            def update_network(network_id, options = {})
              data = { 'network' => {} }

              vanilla_options = [:name, :shared, :admin_state_up]
              vanilla_options.select{ |o| options.has_key?(o) }.each do |key|
                data['network'][key] = options[key]
              end

              request(
                :body     => Fog::JSON.encode(data),
                :expects  => 200,
                :method   => 'PUT',
                :path     => "networks/#{network_id}.json"
              )
            end