public class DefaultNetconfDevice.SshNetconfSessionFactory extends Object implements NetconfSessionFactory
| Constructor and Description |
|---|
SshNetconfSessionFactory() |
| Modifier and Type | Method and Description |
|---|---|
NetconfSession |
createNetconfSession(NetconfDeviceInfo netconfDeviceInfo)
Creates a new NETCONF session for the specified device.
|
public NetconfSession createNetconfSession(NetconfDeviceInfo netconfDeviceInfo) throws NetconfException
NetconfSessionFactorycreateNetconfSession in interface NetconfSessionFactorynetconfDeviceInfo - information of the device to create the session for.NetconfException - when problems arise establishing the connection.