def do_rtn(self, args):
        args = args.split()
        if _debug: WhoIsIAmConsoleCmd._debug("do_rtn %r", args)

        # safe to assume only one adapter
        adapter = this_application.nsap.adapters[0]
        if _debug: WhoIsIAmConsoleCmd._debug("    - adapter: %r", adapter)

        # provide the address and a list of network numbers
        router_address = Address(args[0])
        network_list = [int(arg) for arg in args[1:]]

        # pass along to the service access point
        this_application.nsap.add_router_references(adapter, router_address, network_list)
rtn <addr> <net> ...
dataset/ETHPy150Open JoelBender/bacpypes/samples/WhoIsIAmForeign.py/WhoIsIAmConsoleCmd.do_rtn