def do_irt(self, args):
        args = args.split()
        if _debug: WhoIsRouterConsoleCmd._debug("do_irt %r", args)

        # build a request
        try:
            request = InitializeRoutingTable()
            request.pduDestination = Address(args[0])
        except:
            print "invalid arguments"
            return

        # give it to the application
        this_application.request(this_application.nsap.adapters[0], request)
Test Exchange class
dataset/ETHPy150Open JoelBender/bacpypes/samples/WhoIsRouter.py/WhoIsRouterConsoleCmd.do_irt--crossover with--dataset/ETHPy150Open ioflo/ioflo/ioflo/aio/proto/test/test_exchanging.py/BasicTestCase.testExchange