

def _refresh(self, neighbor):
    if (not neighbor.route_refresh):
        return
    self[Capability.CODE.ROUTE_REFRESH] = RouteRefresh()
    self[Capability.CODE.ENHANCED_ROUTE_REFRESH] = EnhancedRouteRefresh()

dataset/ETHPy150Open Exa-Networks/exabgp/lib/exabgp/bgp/message/open/capability/capabilities.py Capabilities._refresh/original