DongRyeol Cha
c29f9077cf
Fix starvation of file descriptors due to netconf memory leak
...
If there are some errors during start the netconf session, SshClient is not freed so that sockets or file descriptors that made by SshClient are not freed as well.
It leads to starvation of file descriptors for onos so that onos cannot make network connections, spawn the threads so on.
This fix does not permit reusing of already closed NetconfSessionMinaImpl.
ONOS-7833
Change-Id: I1c8799cbbf8b28d23629123ad5d31ccca4a1fb3d
(cherry picked from commit 8f4c1e2ac5ed0033a472a4eb44fdfcba12145134)
2018-11-07 08:22:18 +00:00
Ray Milkey
68032db277
Remove blueprint files for 3.0 karaf CLI
...
Change-Id: I017db2a3c66cea8f0f7c568e5d4f3f302170936d
2018-11-01 20:39:23 +00:00
Thomas Vachuska
00b5d4fee0
Removing commented out @Property annotations from the drivers, protocols, pipelines and providers.
...
Change-Id: I4cabc5a53c93b778824c72cebbce0ec49700eade
2018-10-30 23:43:55 +00:00
Thomas Vachuska
22ea6126e4
Removing BUCK files and other Buck-related auxiliaries.
...
Change-Id: I23691380efcd9bce4906695605214ed59ada0e87
2018-10-24 20:02:31 +00:00
Ray Milkey
28b15ae6e0
Fixes to allow ONOS to build using built in bazel Java 9 JDK
...
Change-Id: I57b7b3b9a8a28a824b196a72a24c42cd9d04cc59
2018-10-19 17:08:37 +00:00
Ray Milkey
ec20a291b5
netconf protocol changes for karaf 4.2.1 CLI
...
Change-Id: Ica9b614c4ef4f8264df13bd119531bb7806c290b
2018-10-11 15:55:42 -07:00
Ray Milkey
7a2dee599c
[WIP] Add @Service tags to all commands and completers
...
Change-Id: I8d6ae6185ada30a92481ddb7b603af323656dc3a
2018-09-28 11:21:57 -07:00
Ray Milkey
86ad7bb5e7
[WIP] apps CLI changes for karaf upgrade
...
Change-Id: I283efc39c7d4f4b31344f1d2d0cdd2b98a60932d
2018-09-28 11:21:43 -07:00
Ray Milkey
d84f89ba3d
[WIP] Upgrade ONOS to karaf version 4.2.1
...
Change-Id: I7cd40c995bdf1c80f94b1895fb3344e32404c7fa
2018-09-28 11:20:57 -07:00
Laszlo Papp
bdb6408dce
Make the netconf notification stream customisable
...
Change-Id: I0e51861b7f8cb4961a47e88f64a493106e2c7a8a
2018-09-17 09:20:50 +00:00
zhongguo zhao
98bb37a80d
fix netconf automatic reconnection issue (check both isClosed and isClosing)
...
Change-Id: I4b4730fe3030ae66877561ccf71f85c55919a7ce
2018-08-28 09:22:21 +00:00
zhongguo zhao
78eab37f02
fix too many open files
...
Change-Id: If5b31db383631dfca907a1ee1018d51ce2f0f36e
2018-08-27 16:23:45 +08:00
quan PHAM VAN
32d70e5642
[ODTN] Netconf inject capabilities and Nokia openconfig device discovery
...
Author: Quan PHAM VAN <quan.pham_van@nokia.com>
Change-Id: I6bb639f0af3d1083922c4e631b8958a94d822886
2018-08-22 16:47:59 +02:00
Ray Milkey
761e80a427
Remove pom files from ONOS
...
Change-Id: I53e2395466cba10222d638736635b11380421d98
2018-08-21 18:11:58 +00:00
Kim JeongWoo
8b03bc583b
[ONOS-7766] Modify the use of invalidated checkReply methods in Netconf
...
Change-Id: I4400c33373a93926bcc8a397db4f24e141790b63
2018-08-21 06:56:28 +00:00
Ray Milkey
312d987732
Starting snapshot 1.15.0-SNAPSHOT
...
Change-Id: I9239c7695f7faf6dc184a0ff54a34dedf4761b2d
2018-08-20 16:09:54 -07:00
ONOS Jenkins User
03e5521fba
Starting snapshot 1.14.0-SNAPSHOT
2018-08-14 22:13:58 +00:00
ONOS Jenkins User
3594c24cb2
Tagging 1.14.0-rc2
2018-08-14 22:13:02 +00:00
ONOS Jenkins User
4e5f2d67ac
Starting snapshot 1.14.0-SNAPSHOT
2018-08-13 23:16:37 +00:00
ONOS Jenkins User
cff0bd8922
Tagging 1.14.0-rc1
2018-08-13 23:15:43 +00:00
Ray Milkey
4867af2f9c
Revert "Tagging 1.14.0-b1"
...
This reverts commit 78ce40093ac008fd6d169ab83d2d5961f91f6e31.
Change-Id: I8482f550c30f75d65333f6be9c9115a930abc56f
2018-08-10 16:53:10 -07:00
Ray Milkey
78ce40093a
Tagging 1.14.0-b1
2018-08-10 11:16:44 -07:00
Thomas Vachuska
a01ef78df3
Fixing javadoc warnings.
...
Change-Id: I7b99660777bf69978bf91435a63526ccb9bf8b71
2018-07-25 21:55:27 +00:00
Yuta HIGUCHI
4f55c67c98
NetconfSession refactoring
...
- Move netconf rpc envelope processing common across secure transport implementation
to AbstractNetconfSession
work by: Palash Kala <palash.kala@samsung.com>
Change-Id: I5f0d6adecf6224ae44f224291f645725b3c87739
2018-06-19 17:42:09 +00:00
Yuta HIGUCHI
2ee4fba094
Mark netconf related factory as functional interface
...
- deprecate/remove redundant factory implementations
Change-Id: I29ba9f3397c37c02b37d07dff16a4203186c5fcd
2018-06-13 17:31:46 +00:00
Ray Milkey
816db1086a
Add modules to Bazel build
...
cli
core
incubator/rpc
pipelines/basic
protocols/netconf
protocols/openflow
protocols/rest
Change-Id: I165b94a04ba893d97d944e5deb2746f54566503b
2018-05-31 15:44:36 +00:00
Yuta HIGUCHI
f733373baf
Bug fixes
...
- Netconf get family should return from <data
- adapt ODTN driver to that behavior
Change-Id: I25508518354914fdd239beab3a9951eff3586e41
2018-05-15 00:01:53 +00:00
Yuta HIGUCHI
5233decc2a
Remove deprecated NetconfSessionImpl
...
Change-Id: I92d9407ff4bc0c25ca7b998cc4f387c3f40f9ace
2018-05-03 16:01:08 +00:00
Ray Milkey
bca9049101
Starting snapshot 1.14.0-SNAPSHOT
...
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Yuta HIGUCHI
d1c413ba8f
netconf RPC message parsing utils
...
Change-Id: I23d0d1a95bff3f193601eaa792e7574b7cc621de
2018-04-09 13:09:58 -07:00
Ray Milkey
054e23d0cf
Add uptimes to device and cluster REST APIs
...
Change-Id: I0ccdf4e33135be4bcfd1674a76ff4b39e992268b
2018-03-22 13:48:50 -07:00
Yuta HIGUCHI
b31c4c54f9
Cleanup netconf-api pom
...
Change-Id: I0a37a7247586ee33fa4af9115ba93ca82662305e
2018-02-26 20:40:11 +00:00
Yuta HIGUCHI
5ac3443361
Async netconf API + command for netconf troubleshooting
...
- Added async API for fetching entire config (+ state)
- netconf-get
issue netcong rpc get
- netconf-get-config
Revised to use async API to deal with slow device
Example usage:
onos> netconf-get netconf:192.168.56.1:2022 | ppxml
for ONOS-7481
Change-Id: Id012e984275109c93bdae113f3fec685a7b2211b
2018-02-15 19:33:05 +00:00
Ray Milkey
d4b51c2651
Remove deprecated key file interface
...
Change-Id: If66006b4ffbe194be2a06eb14e3409219192edcc
2018-02-08 22:33:49 +00:00
Ray Milkey
ba547f9158
SONAR suggestion - log exceptions, don't print stack traces
...
Change-Id: I4814a0662912706df005972d44c48a7db39ecd50
2018-02-06 17:55:22 +00:00
Ray Milkey
986a47aa7c
SONAR suggestion - generic exceptions
...
Replace uses of generic RuntimeException
with more appropriate unchecked exceptions
Change-Id: If283743c2cf7252b8d280bdb788708ebbe57da9d
2018-02-01 18:36:33 +00:00
Yuta HIGUCHI
fbd9ae9cdf
Various small fixes
...
Change-Id: I83802169d0d968f7b88d4be2cedba74b15fdd7da
2018-01-25 22:17:25 +00:00
ONOS Jenkins User
45d340c839
Starting snapshot 1.13.0-SNAPSHOT
2018-01-09 01:56:13 +00:00
ONOS Jenkins User
32ebb5add8
Tagging 1.13.0-b8
2018-01-09 01:54:28 +00:00
ONOS Jenkins User
61881df1ee
Starting snapshot 1.13.0-SNAPSHOT
2017-12-12 21:19:45 +00:00
ONOS Jenkins User
d22dccc27f
Tagging 1.13.0-b7
2017-12-12 21:18:01 +00:00
ONOS Jenkins User
4bf9e3a520
Starting snapshot 1.13.0-SNAPSHOT
2017-12-12 18:46:22 +00:00
ONOS Jenkins User
168ac92b8d
Tagging 1.13.0-b6
2017-12-12 18:44:15 +00:00
ONOS Jenkins User
0e78e27f0c
Starting snapshot 1.13.0-SNAPSHOT
2017-12-12 03:27:00 +00:00
ONOS Jenkins User
2a7d833cab
Tagging 1.13.0-b5
2017-12-12 03:25:23 +00:00
ONOS Jenkins User
c53a15f933
Starting snapshot 1.13.0-SNAPSHOT
2017-12-11 20:43:30 +00:00
ONOS Jenkins User
d06da9e33c
Tagging 1.13.0-b3
2017-12-11 20:41:44 +00:00
ONOS Jenkins User
716484c58c
Starting snapshot 1.13.0-SNAPSHOT
2017-12-09 03:41:19 +00:00
ONOS Jenkins User
6a6ac1d5a0
Tagging 1.13.0-b1
2017-12-09 03:39:39 +00:00
ONOS Jenkins User
a57a814230
Starting snapshot 1.13.0-SNAPSHOT
2017-12-09 00:57:30 +00:00