115 Commits

Author SHA1 Message Date
Brian O'Connor
a09fe5b0b7 Updating Copyright line to Open Networking Foundation
Change-Id: Icba96d7f39a065b53f34a6aeb71afd1f7d51f774
2017-08-03 21:12:30 -07:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Sean Condon
7347de9323 Bug fix for NETCONF controller - disconnect
Change-Id: I1f01f5b7e21e2e9c14358b4686077896ae4975e8
2017-07-26 12:15:52 +00:00
Ray Milkey
64313cbc83 Starting snapshot 1.11.0-SNAPSHOT 2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f Tagging 1.11.0-b2 2017-07-20 15:45:28 -07:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
Yuta HIGUCHI
b6e0e914ce Moving NetconfDeviceConfig to API bundle
- Move the class to API bundle to allow config manipulation via API
- Avoid sweeping whole device tree on every Device event.
- code clean up

Change-Id: I58ebdc89688c6c9250bb546585c227d486b30df2
2017-05-22 18:41:03 +00:00
Yuta HIGUCHI
26c397c52d Transplant DatastoreId to Mina based session impl.
- porting ONOS-6410 support to mina.
  See https://gerrit.onosproject.org/13814

Change-Id: I026fec6cd153afdac9b47bc8a380ae5f011fd741
2017-05-22 08:53:10 +00:00
Ray Milkey
08b03a9ec8 Starting snapshot 1.11.0-SNAPSHOT
Change-Id: I5aa84e241545dace6192243c0079924ddf899404
2017-05-15 18:40:20 +00:00
Yuta HIGUCHI
89111d973a [ONOS-6410] flexible configuration datastore specifier.
- added completer to netconf-config-get

Change-Id: I7cc88637bd51d9f4bea7d906346ffacfbd8706a6
2017-05-11 18:08:05 +00:00
Andrea Campanella
7bbe7b1850 [ONOS-6376] Netconf ssh connection through Apache Mina library
Change-Id: If69fd89afe3082debc3c28a06debfed53426635c
2017-05-10 17:57:59 +00:00
Yuta HIGUCHI
d31bc6e6f6 make netconf-get-config usable on any NETCONF device.
- removed dependency to ConfigGetter

Change-Id: I00072625efc9ece327628f5034a845b0b96526f2
2017-05-04 18:43:23 +00:00
Yuta HIGUCHI
f708910147 Minor cosmetic changes
Change-Id: Ib594c3481a2e8881da37981b6ab4deb5a8e4eb12
2017-05-03 17:51:52 +00:00
Ray Milkey
8fd28c7b80 Starting snapshot 1.10.0-SNAPSHOT 2017-05-02 14:37:34 -07:00
Ray Milkey
f0099022d2 Tagging 1.10.0-rc1 2017-05-02 14:35:27 -07:00
Yuta HIGUCHI
57ba1e1917 debug CLI command for NETCONF
Change-Id: I42e25899c42f02c1456580e19d34a4a3ea9e83a7
2017-05-02 04:43:52 +00:00
Yuta HIGUCHI
0976bc2234 ONOS-6253 workaround for device not capable of :interleave-ing
Change-Id: Id64043dc6558cd677381bdd6133d8a7dc8c85869
2017-04-26 20:47:06 +00:00
Yuta HIGUCHI
66372fd867 Removing import only used for Javadoc
Change-Id: Ifdb3eb979f43c2fd7ae8699d816d9e9156e188a8
2017-04-21 20:40:52 -07:00
Yuta HIGUCHI
348b323574 Move internal classes under .impl package (2/2)
- adding back classes in old location marked as Deprecated

Change-Id: I27a6adf9faac5b6c7882d233494dfc994f7e978f
2017-04-21 21:29:41 +00:00
Yuta HIGUCHI
e3ae82134b Move internal classes under .impl package (1/2)
Change-Id: I72ed933ecd5ae7ffb268967f80fb395e90f7d8e9
2017-04-21 21:29:41 +00:00
Aaron Kruglikov
72db642274 Moving from a searching a string for capabilities to a Set.
ONOS-5947 ONOS-5948

Change-Id: Icac65263691e624dc74cfbc03c27e3974b935da2
2017-04-21 08:28:50 +00:00
Andrea Campanella
34cf65ce14 [ONOS-6076] Moving NETCONF devices configuration under devices key
Change-Id: I5a0dc2c2d33c7cd79655497f66373c6f4f9af656
2017-04-19 20:19:41 +00:00
Shivani Vaidya
48df84e653 unit tests for NetconfSessionImpl
Change-Id: Ic1b7d0221343f288b98c41f456809b59689e198f
2017-04-18 19:01:01 +00:00
Andrea Campanella
c362784be8 [ONOS-6236] Adding retry mechanism when NETCONF device sends socket closed signal
Change-Id: Ie48e94f92ce745f3f65a352d80b7a74c2eceba04
2017-04-14 20:05:49 +02:00
Andrei Mihaescu
ac542ca5c6 ONOS-5937
- created enum for target config and replaced all appropiate usages
 - added old methods and had them pointing to new implementation
 - added deprecated annotation to old methods

Change-Id: I2562588d32c7ab944eb44a13e9b25a342196edf2
2017-04-10 21:18:58 +00:00
Yuta HIGUCHI
0184a7b478 Cosmetic fixes and logging around Juniper driver
Change-Id: Ief0dba3a1c4cc567cf9fe6fa16b4aeae9488c51e
2017-04-06 16:16:37 +00:00
Andrea Campanella
0cee0b6d1a Resetting variables of a NetconfSession before reopening the underlying transport SSH connection and session.
Change-Id: I34fb61d8ec28a05d4a9148df853c1be98bd3559f
2017-04-04 13:12:13 +00:00
Yuta HIGUCHI
0454d702c2 few minor fixes around netconf subsystem
Change-Id: I16ccd383dbaba9049e9b4a21ef1910cd12e5542d
2017-03-17 19:41:56 +00:00
Sean Condon
d2c8d4799f Fixed some concurrency issues in NETCONF Session Added Unit Tests
Change-Id: I84fe0c17e3d757948a859f78d01fbb025397a44d
2017-03-02 09:35:15 +00:00
Andrea Campanella
e7006dca2a ONOS-6020 RolledBack and deprecated a method in NetconfDeviceInfo to not break backwards compatibility
Change-Id: Ie029f6b1d3688d428130b76ed2e06c760d9a390a
2017-02-16 02:27:50 +00:00
Himanshu Ranjan
7c2ee3c7a1 connect netconf devices through ssh key
Change-Id: I1a0961ffffd33559f903ead0634dbb5492e9a154
2017-02-14 17:58:46 +00:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Sean Condon
b0720e7dd3 Correcting problem in YMS with Namespace for operation
Change-Id: I1284e8a4e9b20c9162d22c240113ac509af40e07
2017-01-25 17:07:22 +00:00
Ray Milkey
287b4ae810 Starting snapshot 1.9.0-SNAPSHOT 2017-01-19 15:21:17 -08:00
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Saurav Das
d5ec9e992f Adding to the 'devices' cli command an output that displays the local connectivity of a device.
For example, "id=of:0000000000000203, available=true, local-status=connected 18m7s ago, role=STANDBY, ..."
Also increasing the resolution of the TimeAgo utility.

Change-Id: Ie1b89bd193552e0edd38a9ca28c5ce99b1d27c19
2017-01-17 22:41:43 +00:00
Ryan Goulding
69524397a6 Enhance logging in NetconfSessionImpl
There are a few places where Throwable.getMessage() is emitted directly
instead of utilizing a Throwable argument to the Logger output methods.
Using debug as an example, when dealing with exception reporting cases,
it is, generally better to rely upon:

http://www.slf4j.org/api/org/slf4j/Logger.html#debug(java.lang.String, java.lang.Throwable)

than:

http://www.slf4j.org/api/org/slf4j/Logger.html#debug(java.lang.String)

This commit also cleans up the language of another log message.

Change-Id: I53a77286069c112aafc83ad8157a439a4d50e52e
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
2017-01-11 17:50:37 +00:00
Sean Condon
334ad69bb8 Added in a second timeout for netconfConnectTimeout
Change-Id: I17c68730b68f7d0db899753dbcea2a570acba8e3
2016-12-15 21:56:06 +00:00
Ryan Goulding
d57dea47d5 Fix a typo in DefaultNetconfDevice class comment
Fix spelling of the word "Default" in the DefaultNetconfDevice class header
comment.

Change-Id: Ib0af0759f841e77c7c066bf4ee53052b29d1bc10
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
2016-12-06 17:37:28 +00:00
Ray Milkey
72bcefefce Starting snapshot 1.9.0-SNAPSHOT
Change-Id: Iae30168353c72c4e2d5e395298ceca5dd7554984
2016-12-02 16:22:53 -08:00
Ray Milkey
bc3c6ba539 Starting snapshot 1.8.0-SNAPSHOT 2016-12-02 15:59:38 -08:00
Ray Milkey
a222d05a18 Tagging 1.8.0-rc4 2016-12-02 15:49:32 -08:00
Ray Milkey
b547e06157 Starting snapshot 1.8.0-SNAPSHOT 2016-11-30 15:10:18 -08:00
Ray Milkey
4f6d428dc7 Tagging 1.8.0-rc3 2016-11-30 14:52:32 -08:00
Ray Milkey
58c6af2321 Starting snapshot 1.8.0-SNAPSHOT 2016-11-22 17:26:52 -08:00