Commit b73c2789 authored by sebian's avatar sebian 🐭
Browse files

bgp-filters: do not reannounce more specific of gitoyen PA from gitoyen to outside

Thanks Laurent!
Mail on equipage@

Date: Tue, 04 Aug 2015 09:53:54 +0200
Message-ID: <1438674834.2049.273.camel@guerby.net>
parent 0bc5d20d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -85,6 +85,9 @@ pair set full_export_communities;
    # the default route are not exported except if asked.
    if is_default() && ! (export_type="default") then return false;

    # do not reannounce more specific of gitoyen PA from gitoyen to outside
    if export_type != "core" && is_within_gitoyen() then return false;

    # for the routes of the members, only the routes having one of these communities are exported
    members_export_communities = [
            (20766,1),