code: def _router_added(self, router_id, router):
          
          ri = RouterInfo(router_id, router)
          driver = self.driver_manager.set_driver(router)
          if router[ROUTER_ROLE_ATTR] in [
              c_constants.ROUTER_ROLE_GLOBAL,
              c_constants.ROUTER_ROLE_LOGICAL_GLOBAL]:
              # No need to create a vrf for Global or logical global routers
              LOG.debug("Skipping router_added device processing for %(id)s as "
                        "its role is %(role)s",
                        {'id': router_id, 'role': router[ROUTER_ROLE_ATTR]})
          else:
              driver.router_added(ri)
          self.router_info[router_id] = ri
docs: Operations when a router is added.
  
          Create a new RouterInfo object for this router and add it to the
          service helpers router_info dictionary.  Then `router_added()` is
          called on the device driver.
  
          :param router_id: id of the router
          :param router: router dict
          :return: None