/** * {@inheritDoc} * * Return if interfaces is part of specified outage. */ @Override public boolean isInterfaceInOutage(final String linterface, final String outName) { final Outage out = getOutage(outName); if (out == null) return false; return isInterfaceInOutage(linterface, out); }
if ((outageFactory.isNodeIdInOutage(nodeId, outageName)) || (outageFactory.isInterfaceInOutage(theInterface, outageName)) || (outageFactory.isInterfaceInOutage("match-any", outageName))) { LOG.debug("scheduledOutage: configured outage '{}' applies, notification for interface {} on node {} will not be sent", outageName, theInterface, nodeId); return outageName;