use of org.batfish.representation.cisco.RoutePolicyCommunitySet in project batfish by batfish.
the class CiscoControlPlaneExtractor method toRoutePolicyStatement.
private RoutePolicyStatement toRoutePolicyStatement(Set_community_rp_stanzaContext ctx) {
RoutePolicyCommunitySet cset = toRoutePolicyCommunitySet(ctx.rp_community_set());
boolean additive = (ctx.ADDITIVE() != null);
return new RoutePolicySetCommunity(cset, additive);
}
Aggregations