    # File lib/fog/openstack/requests/network/update_network.rb, line 24
            def update_network(network_id, options = {})
              response = Excon::Response.new
              if network = list_networks.body['networks'].detect { |_| _['id'] == network_id }
                network['name']           = options[:name]
                network['shared']         = options[:shared]
                network['admin_state_up'] = options[:admin_state_up]
                response.body = { 'network' => network }
                response.status = 200
                response
              else
                raise Fog::Network::OpenStack::NotFound
              end
            end