use of org.batfish.representation.cisco.MasterBgpPeerGroup in project batfish by batfish.
the class CiscoControlPlaneExtractor method enterRouter_bgp_stanza.
@Override
public void enterRouter_bgp_stanza(Router_bgp_stanzaContext ctx) {
int procNum = (ctx.procnum == null) ? 0 : toInteger(ctx.procnum);
BgpProcess proc = new BgpProcess(_format, procNum);
_configuration.getVrfs().get(Configuration.DEFAULT_VRF_NAME).setBgpProcess(proc);
_dummyPeerGroup = new MasterBgpPeerGroup();
pushPeer(proc.getMasterBgpPeerGroup());
}
Aggregations