Interface NetconfDevice


  • public interface NetconfDevice
    Interface representing a NETCONF device.
    • Method Detail

      • isActive

        boolean isActive()
        Returns whether a device is a NETCONF device with a capabilities list and is accessible, through a secure transport session or a proxy session.
        Returns:
        true if device is accessible, false otherwise
      • isMasterSession

        default boolean isMasterSession()
        Returns whether the device has secure transport session.
        Returns:
        true if secure transport session exists, false otherwise
      • getSession

        NetconfSession getSession()
        Returns a NETCONF session context for this device.
        Returns:
        netconf session
      • disconnect

        void disconnect()
        Ensures that all sessions are closed. A device cannot be used after disconnect is called.
      • getDeviceInfo

        NetconfDeviceInfo getDeviceInfo()
        return all the info associated with this device.
        Returns:
        NetconfDeviceInfo