Package org.onosproject.netconf
Interface NetconfSessionFactory
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface NetconfSessionFactoryAbstract interface for the creation of a NETCONF session.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetconfSessioncreateNetconfSession(NetconfDeviceInfo netconfDeviceInfo, NetconfController netconfController)Creates a new NETCONF session for the specified device.
-
-
-
Method Detail
-
createNetconfSession
NetconfSession createNetconfSession(NetconfDeviceInfo netconfDeviceInfo, NetconfController netconfController) throws NetconfException
Creates a new NETCONF session for the specified device.- Parameters:
netconfDeviceInfo- information of the device to create the session for.netconfController- netconf controller object- Returns:
- Instance of NetconfSession.
- Throws:
NetconfException- when problems arise establishing the connection.
-
-