use of org.batfish.representation.cisco.RouteMapSetAdditiveCommunityLine in project batfish by batfish.
the class CiscoControlPlaneExtractor method exitSet_community_additive_rm_stanza.
@Override
public void exitSet_community_additive_rm_stanza(Set_community_additive_rm_stanzaContext ctx) {
List<Long> commList = new ArrayList<>();
for (CommunityContext c : ctx.communities) {
long community = toLong(c);
commList.add(community);
}
RouteMapSetAdditiveCommunityLine line = new RouteMapSetAdditiveCommunityLine(commList);
_currentRouteMapClause.addSetLine(line);
}
Aggregations