Interface PathOutageManager

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NO_CRITICAL_PATH
      Constant NO_CRITICAL_PATH="Not Configured"
    • Field Detail

      • NO_CRITICAL_PATH

        static final java.lang.String NO_CRITICAL_PATH
        Constant NO_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()