commit | 950310c913797c859cd4fad23cfa0ab8057ef39c | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@onlab.us> | Fri Feb 12 18:14:38 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Feb 17 01:56:55 2016 +0000 |
tree | bdcfea738f2e842c6ea1fd6f12a3afb23e35bbeb | |
parent | e571d44497ea28b5ebbda0c0bf67da910bd8d441 [diff] [blame] |
ONOS-3929 Netconf Device Factory Change-Id: I03f63dd5344f3bde8786acd0fc5de367e8e39c6e
diff --git a/protocols/netconf/api/src/main/java/org/onosproject/netconf/NetconfSessionFactory.java b/protocols/netconf/api/src/main/java/org/onosproject/netconf/NetconfSessionFactory.java index a899676..834ddfe 100644 --- a/protocols/netconf/api/src/main/java/org/onosproject/netconf/NetconfSessionFactory.java +++ b/protocols/netconf/api/src/main/java/org/onosproject/netconf/NetconfSessionFactory.java
@@ -21,6 +21,12 @@ */ public interface NetconfSessionFactory { + /** + * Creates a new NETCONF session for the specified device. + * @param netconfDeviceInfo information of the device to create the session for. + * @return Instance of NetconfSession. + * @throws NetconfException when problems arise establishing the connection. + */ NetconfSession createNetconfSession(NetconfDeviceInfo netconfDeviceInfo) throws NetconfException; }