# File lib/openstack/network/connection.rb, line 114
    def create_router(name, admin_state_up, opts={})
      body_hash = {'router'=> {'name' => name, 'admin_state_up' => admin_state_up}}
      body_hash['router'].merge! opts
      req_body = JSON.generate body_hash
      response = @connection.req('POST', '/routers', {:data => req_body })
      OpenStack::Network::Router.new(JSON.parse(response.body)['router'])
    end