86 Commits

Author SHA1 Message Date
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
Ray Milkey
8b8b30ce29 Tagging 1.8.0-rc1 2016-11-22 17:08:32 -08:00
xueliang
cf527d1c7a [ONOS-5598] Alarm Consumer for Fujitsu OLT
Change-Id: I3206307f6adcc078d9b0a1aa26d6de6ad00f9824
2016-11-08 20:05:32 +00:00
yoonseon
55faf85cfb [ONOS-5586] CopyConfig() of NetConf driver should add namespace of NetConf
on RPC

Change-Id: Ieb82c93006718cd8c9155c70714f361f4a374699
2016-11-07 15:59:00 +00:00
yoonseon
a195755c03 [ONOS-5587] CopyConfig() of NetConf driver should use <config> tag
Change-Id: I93ec1e438def43ed1a2b7748fbce916a15fcb566
2016-11-03 15:39:49 +00:00
yoonseon
25e54fc215 [ONOS-5585] CopyConfig() of NETCONF driver generates malformed RPC request
Change-Id: Iaceaf5c44f361a0c9b1945a869d881c81d0c9d37
2016-11-02 13:07:43 -04:00
Brian O'Connor
bfc02ecd22 Bumping snapshot version to 1.8.0-SNAPSHOT
Change-Id: I4ca57b277d8ac814b8a10b107d995cb1cc4d499d
2016-09-16 17:41:55 +00:00
Brian O'Connor
b19fc86f82 Bumping version back to 1.7.0-SNAPSHOT
Change-Id: I1df9d0f12cd7ec7597499d41cacebdbe75899556
2016-09-16 00:12:21 -07:00
Brian O'Connor
338bc0cf19 Bumping pom versions to 1.7.0-rc2 and fixing some maven issues
Change-Id: I6169420328333d0916452aa92efbfa961d72e9c4
2016-09-16 00:11:45 -07:00
Konstantinos Kanonakis
1b8b559b8c Allowing message-id > 99 in NETCONF rcp-reply
Change-Id: If6fbc0c3ea432e8d33f6d790491342312333cee4
2016-09-12 17:45:06 +00:00
Viswanath KSP
22774cd863 Addressing review comments of patch-3
Addressing review comments of patch-2
Fixing javadoc warnings
Pushing changes for onos-5146 - Added 2 new APIs in DeviceService.java to get port specific PortStatistics by specifying Device ID & Port Number. Also implemented the APIs in SimpleDeviceStore etc. This will be a very useful API for app developers who are intersted to query port specific port statistics

Change-Id: I8f3e5a443eb5b50237a679999311b48609e54a44
2016-08-22 20:00:07 +00:00
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
Akihiro Yamanouchi
45122226d0 [ONOS-4849] NETCONF function for FUJITSU OLT #6
- Add alart command for FUJITSU OLT
   volt-notification-alertfilter <netconf:target>
   volt-notification-setalertfilter <netconf:target> <alert-severity>
   volt-notification-subscribe <netconf:target> {disable}
- Update fujitsu-drivers.xml and shell-config.xml in FUJITSU directory
- Apply Yuta's and Andrea's suggestion to startSubscription method and other methods which related to startSubscription method.
  -> Remove startSubscriptionConnection() and createSubscriptionString() method in 4th patch-set.
  -> Modify cosmetic issue related to Static-string.
  -> Update "No replay" to "No reply" in VoltGetPonLinksCommand.java

Change-Id: I2c8d5484ea0ff9f0b1b970fe8b183bec12193c46
2016-07-25 23:29:31 +00:00
Akihiro Yamanouchi
8d3a9d3a72 [ONOS-4837] NETCONF function for FUJITSU OLT #4 and #5
- Add the following commands for FJ OLT
  volt-onus <netconf:target> <ONU ID>
  volt-setonu <netconf:target> <ONU-ID:parameter type:parameter value>
  volt-onustats <netconf:target> {ONU-ID}
  volt-rebootonu <netconf:target> <ONU-ID>
  volt-ethloopback <netconf:target> <ONU-ETH-ID[:loopback mode]>
- Add the method of doUserRpc() in Netconfsession/NetconfSessionImpl
   *If you dont allow to implement the method, i can move it to our XmlUtility method.
- Add new behaviours in /core/.../net/behaviour, and @Beta in the interface.
- Move those behaviour interface to fujitsu driver directory.
   * VoltPonLinkConfig.java as well.
- Update fujitsu-drivers.xml
- Change the method name from doUserRpc to doWrappedRpc

Change-Id: Ic39d3a11ba35d2377e552af097eda65c5554c63f
2016-07-14 22:37:52 +00:00
Akihiro Yamanouchi
d4912841d7 [ONOS-4795] NETCONF function for FUJITSU OLT #3
[Done]
- Add vOLT ponlink commands for FUJITSU OLT
- Add new implementation with respect to the commands
- Move those commands to Fujitsu drivers directory
- Modify BUCK to avoid an error

Change-Id: I7a61234e18367aa74445800dd09f98c10edc35c4
2016-07-11 16:15:10 +00:00
helenyrwu
0407c641ef NetconfAlarmProvider alerts core about notifications given subscription.
Change-Id: I7561ba680eb8bac33a8543d6aa1bccf6732e95db
2016-06-29 22:00:16 +00:00
Akihiro Yamanouchi
5e5d4df902 [ONOS-4654] NETCONF function for FUJITSU OLT #1
Change-Id: I3565d127252de732d249ed5dd919874d6438c2fa
2016-06-22 00:52:25 +00:00
Brian O'Connor
1b2aea88c0 Removing gratuitous relativePath from pom.xmls
The default value for relativePath is: ../pom.xml

Change-Id: I1f5e5e6bfa1e91fcddae4f8cb8ab0c00c276e6b0
2016-06-16 07:05:31 +00:00
Andreas Papazois
2e557be44d [ONOS-4662] Removing "ERROR" string from error netconf replies.
Change-Id: I7937e4140d5997dd61d70cc13ea933be3381cbe4
2016-06-06 16:08:14 +00:00
Brian O'Connor
e642f7cf7b Bumping version to 1.7.0-SNAPSHOT
Change-Id: Id105bf08ecbdac6d4e214ae035b4220aea90f29f
2016-05-23 18:35:29 -07:00
Ray Milkey
8dac818d23 Refactor protocol BUCK files to use more modern rules and format
Change-Id: I9262fdeef12cfd098afefc711d995ffc76b9efb1
2016-04-29 17:33:12 -07:00
Ray Milkey
94c3155ab8 Fix netconf tests BUCK build
Change-Id: Id213d1e84d4ded0b529bb70ee4c0105415b7aa09
2016-04-27 15:36:05 -07:00
Andreas Papazois
4752cfa906 [GEANT] Property netconfReplyTimeout added in Settings.
Change-Id: I60399c5cc9a00857f275fa8016520b2d909e9912
2016-04-27 15:23:20 +00:00
Ray Milkey
aeb0079719 Refactoring of provider buck builds.
Change-Id: I9b5e2566b83c13a8b7b086005a08a8182305ffdb
2016-04-25 17:03:49 +00:00
heisenberg
b7017d7c7a [ONOS-4371] Netconf client could not resolve notification message with label attributes
Change-Id: I74ca573d65baf9295a0d055efe728d1b04370173
2016-04-13 19:24:39 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Brian O'Connor
b86c920526 Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo

Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Andrea Campanella
7e6200aa41 [ONOS-4045]Adding mastership service to NetconfProvider
Change-Id: Id39cbef54a079ab6e080a9d3f60770c4bea90b3f
2016-03-29 00:42:49 +00:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00