def METHOD_NAME(self):
    """
    Migrate local router settings to the controller.
    """
    if self._settings.get("routers"):
        templates = []
        for router in self._settings.get("routers"):
            router_settings = IOS_ROUTER_SETTINGS.copy()
            router_settings.update(router)
            if router_settings.get("chassis"):
                del router_settings["chassis"]
            templates.append(Template(router_settings))
        TemplateManager.instance().updateList(templates)
        self._settings["routers"] = []
        self._saveSettings()