|
@@ -53,7 +53,6 @@ function bgp_import( int AS; string import_type; int community)
|
|
|
if import_type = "member" then bgp_community.filter( [(20766,9999)] );
|
|
|
|
|
|
# adding the community to identify the source of the route
|
|
|
- # fr: ajout de la communaute pour identifier la source de la route
|
|
|
if import_type != "core" && community > 0 then bgp_community.add((20766,community));
|
|
|
|
|
|
return true;
|
|
@@ -95,7 +94,6 @@ pair set full_export_communities;
|
|
|
if export_type = "members"
|
|
|
&& filter(bgp_community, members_export_communities).len = 0 then return false;
|
|
|
|
|
|
- # Filtrage des exports de la full view
|
|
|
# for the full-view, only the routes having one of these communities are exported
|
|
|
full_export_communities = [
|
|
|
(20766,1),
|