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