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 java.lang.String
NO_CRITICAL_PATH
ConstantNO_CRITICAL_PATH="Not Configured"
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<java.lang.String[]>
getAllCriticalPaths()
java.util.Set<java.lang.Integer>
getAllNodesDependentOnAnyServiceOnInterface(java.lang.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.java.util.Set<java.lang.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)
java.lang.String[]
getCriticalPathData(java.lang.String criticalPathIp, java.lang.String criticalPathServiceName)
java.net.InetAddress
getDefaultCriticalPathIp()
java.lang.String[]
getLabelAndStatus(java.lang.String nodeIDStr, java.sql.Connection conn)
java.util.Set<java.lang.Integer>
getNodesInPath(java.lang.String criticalPathIp, java.lang.String criticalPathServiceName)
java.lang.String
getPrettyCriticalPath(int nodeID)
-
-
-
Field Detail
-
NO_CRITICAL_PATH
static final java.lang.String NO_CRITICAL_PATH
ConstantNO_CRITICAL_PATH="Not Configured"
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAllCriticalPaths
java.util.List<java.lang.String[]> getAllCriticalPaths() throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getPrettyCriticalPath
java.lang.String getPrettyCriticalPath(int nodeID) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getCriticalPath
CriticalPath getCriticalPath(int nodeId)
-
getNodesInPath
java.util.Set<java.lang.Integer> getNodesInPath(java.lang.String criticalPathIp, java.lang.String criticalPathServiceName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getLabelAndStatus
java.lang.String[] getLabelAndStatus(java.lang.String nodeIDStr, java.sql.Connection conn) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getCriticalPathData
java.lang.String[] getCriticalPathData(java.lang.String criticalPathIp, java.lang.String criticalPathServiceName) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
getAllNodesDependentOnAnyServiceOnInterface
java.util.Set<java.lang.Integer> getAllNodesDependentOnAnyServiceOnInterface(java.lang.String criticalpathip) throws java.sql.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:
java.sql.SQLException
-
getAllNodesDependentOnAnyServiceOnNode
java.util.Set<java.lang.Integer> getAllNodesDependentOnAnyServiceOnNode(int nodeId) throws java.sql.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:
java.sql.SQLException
-
getDefaultCriticalPathIp
java.net.InetAddress getDefaultCriticalPathIp()
-
-