def METHOD_NAME(self, emulator: Emulator):
    reg = emulator.getRegistry()
    for ((scope, type, name), obj) in reg.getAll().items():
        if type == 'rs':
            rs_node: Node = obj
            self.__installBird(rs_node)
            rs_node.appendStartCommand('[ ! -d /run/bird ] && mkdir /run/bird')
            rs_node.appendStartCommand('bird -d', True)
            self._log("Bootstrapping bird.conf for RS {}...".format(name))
            rs_ifaces = rs_node.getInterfaces()
            assert len(rs_ifaces) == 1, "rs node {} has != 1 interfaces".format(rs_node.getName())
            rs_iface = rs_ifaces[0]
            if not issubclass(rs_node.__class__, Router): rs_node.__class__ = Router
            rs_node.setFile("/etc/bird/bird.conf", RoutingFileTemplates["rs_bird"].format(
                routerId = rs_iface.getAddress()
            ))
        if type == 'rnode':
            rnode: Router = obj
            if not issubclass(rnode.__class__, Router): rnode.__class__ = Router
            self._log("Setting up loopback interface for AS{} Router {}...".format(scope, name))
            lbaddr = self.__loopback_assigner[self.__loopback_pos]
            rnode.appendStartCommand('ip li add dummy0 type dummy')
            rnode.appendStartCommand('ip li set dummy0 up')
            rnode.appendStartCommand('ip addr add {}/32 dev dummy0'.format(lbaddr))
            rnode.setLoopbackAddress(lbaddr)
            self.__loopback_pos += 1
            self._log("Bootstrapping bird.conf for AS{} Router {}...".format(scope, name))
            self.__installBird(rnode)
            r_ifaces = rnode.getInterfaces()
            assert len(r_ifaces) > 0, "router node {}/{} has no interfaces".format(rnode.getAsn(), rnode.getName())
            ifaces = ''
            has_localnet = False
            for iface in r_ifaces:
                net = iface.getNet()
                if net.isDirect():
                    has_localnet = True
                    ifaces += RoutingFileTemplates["rnode_bird_direct_interface"].format(
                        interfaceName = net.getName()
                    )
            rnode.setFile("/etc/bird/bird.conf", RoutingFileTemplates["rnode_bird"].format(
                routerId = rnode.getLoopbackAddress()
            ))
            rnode.appendStartCommand('[ ! -d /run/bird ] && mkdir /run/bird')
            rnode.appendStartCommand('bird -d', True)
            if has_localnet: rnode.addProtocol('direct', 'local_nets', RoutingFileTemplates['rnode_bird_direct'].format(interfaces = ifaces))