@Override protected OspfArea featureValueOf(Interface actual) { return actual.getOspfArea(); } }
ospfEdge -> { OspfArea localArea = _vrf.getInterfaces().get(ospfEdge.getNode1().getInterfaceName()).getOspfArea(); assert localArea != null; // otherwise the edge would not be built. if (localArea.getStubType() == StubType.STUB) {
private boolean propagateOspfInterAreaRouteFromIntraAreaRoute( Configuration neighbor, OspfProcess neighborProc, OspfIntraAreaRoute neighborRoute, long incrementalCost, Interface neighborInterface, int adminCost, long linkAreaNum) { return OspfProtocolHelper.isOspfInterAreaFromIntraAreaPropagationAllowed( linkAreaNum, neighbor, neighborProc, neighborRoute, neighborInterface.getOspfArea()) && stageOspfInterAreaRoute( neighborRoute, neighborInterface.getVrf().getOspfProcess().getMaxMetricSummaryNetworks(), neighborInterface.getAddress().getIp(), incrementalCost, adminCost, linkAreaNum); }
boolean propagateOspfInterAreaRouteFromInterAreaRoute( OspfProcess proc, Configuration neighbor, OspfProcess neighborProc, OspfInterAreaRoute neighborRoute, long incrementalCost, Interface neighborInterface, int adminCost, long linkAreaNum) { return OspfProtocolHelper.isOspfInterAreaFromInterAreaPropagationAllowed( proc, linkAreaNum, neighbor, neighborProc, neighborRoute, neighborInterface.getOspfArea()) && stageOspfInterAreaRoute( neighborRoute, neighborInterface.getVrf().getOspfProcess().getMaxMetricSummaryNetworks(), neighborInterface.getAddress().getIp(), incrementalCost, adminCost, linkAreaNum); }
OspfArea localArea = localInterface.getOspfArea(); if (!localInterface.getOspfEnabled() || localInterface.getOspfPassive() OspfArea neighborArea = neighborInterface.getOspfArea(); if (!neighborInterface.getOspfEnabled() || neighborInterface.getOspfPassive()
Interface neighborInterface, int adminCost) { OspfArea area = connectingInterface.getOspfArea(); OspfArea neighborArea = neighborInterface.getOspfArea();
assert localInterface.getOspfArea() != null; // ^^. long localArea = localInterface.getOspfArea().getAreaNumber();
OspfArea area) { if (!OspfProtocolHelper.isOspfInterAreaDefaultOriginationAllowed( _vrf.getOspfProcess(), neighborProc, area, neighborInterface.getOspfArea())) { return false;