def METHOD_NAME(self) -> list:
    """
    Return structured config for router_bgp.redistribute_routes
    """
    if self.shared_utils.overlay_routing_protocol == "none" or not self.shared_utils.underlay_filter_redistribute_connected:
        return [{"source_protocol": "connected"}]
    return [{"source_protocol": "connected", "route_map": "RM-CONN-2-BGP"}]