Package org.opennms.netmgt.dao.api
Interface PathOutageManager
-
- All Known Implementing Classes:
PathOutageManagerDaoImpl
public interface PathOutageManager
-
-
Field Summary
Fields Modifier and Type Field Description static String
NO_CRITICAL_PATH
ConstantNO_CRITICAL_PATH="Not Configured"
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String[]>
getAllCriticalPaths()
Set<Integer>
getAllNodesDependentOnAnyServiceOnInterface(String criticalpathip)
This method is used when you are scheduling an outage for an interface so that you can have the choice of also extending the outage to all nodes that are dependent on that interface for connectivity.Set<Integer>
getAllNodesDependentOnAnyServiceOnNode(int nodeId)
This method is used when you are scheduling an outage for an entire node so that you can have the choice of also extending the outage to all nodes that are dependent on that node for connectivity.CriticalPath
getCriticalPath(int nodeId)
String[]
getCriticalPathData(String criticalPathIp, String criticalPathServiceName)
InetAddress
getDefaultCriticalPathIp()
String[]
getLabelAndStatus(String nodeIDStr, Connection conn)
Set<Integer>
getNodesInPath(String criticalPathIp, String criticalPathServiceName)
String
getPrettyCriticalPath(int nodeID)
-
-
-
Field Detail
-
NO_CRITICAL_PATH
static final String NO_CRITICAL_PATH
ConstantNO_CRITICAL_PATH="Not Configured"
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAllCriticalPaths
List<String[]> getAllCriticalPaths() throws SQLException
- Throws:
SQLException
-
getPrettyCriticalPath
String getPrettyCriticalPath(int nodeID) throws SQLException
- Throws:
SQLException
-
getCriticalPath
CriticalPath getCriticalPath(int nodeId)
-
getNodesInPath
Set<Integer> getNodesInPath(String criticalPathIp, String criticalPathServiceName) throws SQLException
- Throws:
SQLException
-
getLabelAndStatus
String[] getLabelAndStatus(String nodeIDStr, Connection conn) throws SQLException
- Throws:
SQLException
-
getCriticalPathData
String[] getCriticalPathData(String criticalPathIp, String criticalPathServiceName) throws SQLException
- Throws:
SQLException
-
getAllNodesDependentOnAnyServiceOnInterface
Set<Integer> getAllNodesDependentOnAnyServiceOnInterface(String criticalpathip) throws SQLException
This method is used when you are scheduling an outage for an interface so that you can have the choice of also extending the outage to all nodes that are dependent on that interface for connectivity.- Parameters:
criticalpathip
- IP address of the interface whose outages would affect other nodes- Returns:
- List of node IDs that would be impacted by an outage on the specified interface
- Throws:
SQLException
-
getAllNodesDependentOnAnyServiceOnNode
Set<Integer> getAllNodesDependentOnAnyServiceOnNode(int nodeId) throws SQLException
This method is used when you are scheduling an outage for an entire node so that you can have the choice of also extending the outage to all nodes that are dependent on that node for connectivity.- Parameters:
nodeId
- ID of the node whose outages would affect other nodes- Returns:
- List of node IDs that would be impacted by an outage on the specified node
- Throws:
SQLException
-
getDefaultCriticalPathIp
InetAddress getDefaultCriticalPathIp()
-
-