129 Commits

Author SHA1 Message Date
Yuta HIGUCHI
6e6c26e8bf async netconf RPC
- part of ONOS-7020

Change-Id: I27baf72dec06a2613bd4ae634f891c2420201900
2017-10-03 18:18:36 +00:00
Ray Milkey
dc48fb2c3b Starting snapshot 1.12.0-SNAPSHOT 2017-09-26 14:42:24 -07:00
Ray Milkey
eb3f6ef786 Tagging 1.12.0-b1 2017-09-26 14:40:44 -07:00
Sean Condon
2d64717688 Bugfix for NETCONF 1.1 where XML header was entered twice
Change-Id: Id8c9fa2ba71ea746637c691488c8811746506fce
2017-09-20 08:08:42 +00:00
Yuta HIGUCHI
e9761740db Netconf test fixes
Change-Id: I4bb5ef17262ea631ef00b2f674dd0b7b5436767e
2017-09-10 15:11:09 -07:00
Yuta HIGUCHI
234eaf380a fixes to catch proper netconf exception
- part of ONOS-7020

Change-Id: I55c02ca9fdb97f1ae12b4e3d7b76da565f9da741
2017-09-07 18:36:33 +00:00
Yuta HIGUCHI
371667df99 Netconf refactoring
- remove deprecated field,
- typo fix
- remove unnecessary throws declaration
- add comments

part of ONOS-7020

Change-Id: Ifa629008854e20ed2ad08bfc0dac772eb3fce53f
2017-09-07 18:36:33 +00:00
Yuta HIGUCHI
b2d0524396 close PEMParser after use
Change-Id: I8c08a735d02d04a446c04d1d09b722a862cbbfbc
2017-09-05 15:44:34 -07:00
Yuta HIGUCHI
923a7784b0 netconf protocols fixes
- Align artifactId, dependency structure, etc. similar to buck

Change-Id: I78fac4ca6567e5b2982cc59a7f0f57c7d74dbadb
2017-09-05 13:51:02 -07:00
Holger Schulz
092cbbfb04 Fix for ONOS-6766: "NETCONF: Exception when using SSH keys and Apache Mina SSHD"
Modified SSH key handling. Now using BouncyCastle. (Update #2)

Change-Id: I27d8aefba6ed5548b9caa592fb5787cf98dfb5b6
2017-09-05 16:58:48 +00:00
Yuta HIGUCHI
dd7c3f8d78 Remove deprecated netconf classes and API
Change-Id: I3c0e37efe827060596aea667551729bf92331950
2017-09-05 16:44:11 +00:00
Frank Wang
d8ab0961cc Fixs some misspellings
Change-Id: I03d23d8acca8789b430f74fdac80d287f0fa59df
2017-08-25 16:34:57 +08:00
Ray Milkey
446f446a4f Refactor buck external dependencies
Change-Id: Ia4b99493407eb7d4e893804cba6b944f758f085e
2017-08-21 17:41:36 +00:00
Yuta HIGUCHI
1567798df2 Minor netconf fixes
Change-Id: I74b08c0905bb3efa56e6298ee888882900df65d0
2017-08-17 14:34:14 +00:00
Ray Milkey
aa279c014e Starting snapshot 1.12.0-SNAPSHOT
Change-Id: I92269af3b1103fc6622614a77681bd841438d050
2017-08-16 13:27:00 -07:00
Yuta HIGUCHI
09ae368c08 Maven test related fixes
- Workaround for usage of symlink in P4 code.
  Should probably avoid using symlink and load as resource
  for benefit of buck also
  https://buckbuild.com/concept/buckconfig.html#project.allow_symlinks

- Netconf Active client test dependency fix

- NetconfControllerImpl has mutable static variable,
  clean up after tests which potentiallu touches them

Change-Id: If7a70357a04ccc7e36377301de080385190d2776
2017-08-15 16:00:35 +00:00
Sean Condon
54d8243e53 Patch for ONOS-6840 NETCONF timeouts per device
Change-Id: Ia2e578245b97e0f68ea720cefe783e708e255ca7
2017-08-15 00:59:52 +00:00
Kamil Stasiak
9f59f449b7 netconf chunked framing v2
Change-Id: I93fad5c44315960ca6aebe5b0944947ac8bf6a51
2017-08-14 19:01:23 +00:00
Ray Milkey
d4ac0edb2f Starting snapshot 1.11.0-SNAPSHOT 2017-08-11 17:04:16 -07:00
Ray Milkey
6ecde1ff86 Tagging 1.11.0-b4 2017-08-11 17:02:33 -07:00
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
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
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