494 Commits

Author SHA1 Message Date
Ray Milkey
8b8b30ce29 Tagging 1.8.0-rc1 2016-11-22 17:08:32 -08:00
Shankara-Huawei
d5823abb6b [ONOS-5088] YANG SBI Broker Implementation.
Change-Id: Ibe87e095a4c209c54e3e90aceca0ec9097c5ede0
2016-11-22 20:54:37 +00:00
Jian Li
cdd276b7e4 Support CIDR ranged match for LISP EidRlocRecord with unit tests
Change-Id: I0f69aa48ab7f661958b5a5bf6c03cd5ceb571abe
2016-11-22 18:51:26 +00:00
Jian Li
55ddcdb647 Bugfix: try to use parent LCAF class for serializing NAT address
Change-Id: I792377de77344c0c493c77f9674ec4c55700f874
2016-11-21 18:40:44 +00:00
yoonseon
980cd7cf32 Bug fixes of calculating message length for InfoRequest/Reply
Changes
1. Wrap added InfoReqest processing with try..finally statement
2. InfoRequest serialize bug fix
3. Overide WriteTo() methods of DefaultLispInfoRequest
   and DefaultLispReply

Change-Id: Ifc74619508a004f3fa7c940c30a5905d2cd27963
2016-11-21 10:17:17 -08:00
sonu gupta
1bb37b8b28 [ONOS-5076] YANG data tree Builder
Change-Id: I25160b651c26e614d29d7fad85e63f77a262d77c
2016-11-18 22:49:25 +00:00
Ray Milkey
85267006aa checkstyle rule to check copyrights
Change-Id: Ia9bab40b5fe64fca539058a4316371f7acc0f387
2016-11-18 18:40:44 +00:00
Jian Li
6ef1b3f15f [ONOS-5623] Enhance map server to handle Info-Request control msg
Change-Id: If5f68041fbef786e912fc17e33a0e296df73cd3d
2016-11-18 16:02:20 +00:00
Hyunsun Moon
e71494d3ec ONOS-5674 Fixed to check device type in OF controller device listener
Change-Id: I101427f2f8db215d3e87223b9ffc784b4fa0cca1
2016-11-18 15:32:41 +00:00
Jian Li
5ba6ec1955 [ONOS-5606] Try to use Epoll event group if OS natively support it
Change-Id: I449df3a0a9115c24aa29e15931877626879dae20
2016-11-18 15:29:16 +00:00
yoonseon
db268671b9 [ONOS-5627] Continuously handle LISP request when exception occurs
Change-Id: Ib1b32a5f3299d77632704e955a512aad4af37d92
2016-11-18 00:48:12 +00:00
Vidyashree Rama
c1fa70815f [ONOS-5542]Configuration order of values for leaf-list is not proper
Change-Id: I1487f92bc5019adafb0a06b9b22f2db004a10435
2016-11-17 18:09:14 +00:00
Jian Li
ef0f723146 Bugfix: Parse the LCAF address by referring to length field value
Change-Id: Ia43521f531ad03f609219048f0fb1485118cd181
2016-11-17 16:55:35 +00:00
Jian Li
d1a109e651 Move authData calculation logic to each LISP message builder classs
Change-Id: I61f13cbb77c58f06efce7e9450f11d328749b247
2016-11-15 23:48:56 +00:00
yoonseon
beb41222c6 Enable to handle LISP Info (request, reply) messages
by LISPMessageReaderFactory

Change-Id: I1dac2765ba5da27f09db01b649032fb16ef46322
2016-11-15 23:40:36 +00:00
Hesam Rahimi
1856ed92b6 Adding code in order to register the default codec with YMS in restconf client.
Change-Id: Id7fd2af7b1a4b4ae58aca9e75084c223045c6953
2016-11-11 18:11:36 +00:00
Jian Li
89c9ca9a18 Bump up the LISP LCAF version from draft 13 to draft 20
Change-Id: Ie99331c56a39c4f32226cd8f15bd27fa48802243
2016-11-11 05:58:45 +00:00
Jian Li
51aaca1752 Automatically calculate auth data length based on the auth method
Change-Id: I9d21834a160e6f4b2ed086f17cda144493e7c3aa
2016-11-11 05:57:53 +00:00
Ray Milkey
0bb1e10a3f Javadoc fixes
- fix missing Javadoc @param and @throw annotations
- enable checkstyle checks for method javadocs on non-private methods

Change-Id: I9a370419a699bab3225d85f2f641927600b9f11c
2016-11-11 01:09:15 +00:00
Jian Li
1118c12d6f [ONOS-5267] Initial implementation of MapResolver
Change-Id: I1438b0cc71b8fcb88064830d890ffc38ff9abd42
2016-11-10 23:34:11 +00:00
Jian Li
24f6cc01b1 [ONOS-5267] Initial implementation of MapServer and EidRlocMap
Change-Id: Id4b503d7c3905bd490a7825ff63614bd81f357d9
2016-11-10 23:09:08 +00:00
Jian Li
b9e1ac7d18 Bugfix: try to deal with the first two bytes of LCAF address stream
The LCAF address stream starts with LCAF AFI code rather than
Reserved 1 field. So to properly serailize and deserialize the
stream, we need to consider the first two bytes of LCAF address
stream.

Change-Id: I7bc64fb38e6091c94bdcbe2fd8963e02dd616bc5
2016-11-10 19:54:59 +00:00
chengfan
0c32d71d3f Mock YdtBuilder and YdtNode to do UT for Restconf
fix the java code problems.
add more test cases

Change-Id: I034d35e8a41a6c12e293fad867d6540dd5f37e95
2016-11-10 19:42:48 +00:00
Henry Yu
528007c085 [ONOS-5580] Bug fix for JSON encoding of augmented node names
The submission contains:

1. Fix of ONOS-5580
2. Enable RESTCONF server to register and receive notifications from YMS

Change-Id: I8d27a7ee59679de22b7f49b370b35e48909958a4
2016-11-10 19:41:30 +00:00
Ray Milkey
ef79434ff7 Fix Javadoc warnings
Change-Id: Ia5fe7785f76da92abbf940599cbd3d7dc6ac2cc5
2016-11-10 18:42:48 +00:00
Jian Li
99f83ef62d Add LISP Traffic Engineering LCAF address with unit tests
Change-Id: I516f399e54896f923e7fbf25de9a48426e21ea40
2016-11-10 07:16:45 +00:00
xueliang
cf527d1c7a [ONOS-5598] Alarm Consumer for Fujitsu OLT
Change-Id: I3206307f6adcc078d9b0a1aa26d6de6ad00f9824
2016-11-08 20:05:32 +00:00
Henry Yu
7dbfc20fd6 [ONOS-5500] Properly encode namespaces in URI path segments
Change-Id: I166cbfb8e379a2029f0dab72be117a3afe74973e
2016-11-07 17:40:20 +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
Jian Li
afe2d3f41c Fix the LispMessageEncoder to reply with UDP message sender
- Add AbstractLispMessage to store sender IP address per message
- Fix the LispMacAuthentication class to accept byte array as input
- Rename LispMessageEncoderTest class
- Try to use MessageToMessageEncoder to result in UDP message

Change-Id: I977302cdadf5c96c60c889be291ad5d90e3bc7cf
2016-11-07 10:11:35 +00:00
Jian Li
f11594a816 Bugfix: handle LISP map-request message that is encapsulated in ECM
Change-Id: If7ed64f4999719d2d13cd2f5c59bcaf920157bfe
2016-11-07 10:11:08 +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
Jian Li
88addd557e Add AuthenticationDataLength field when deserialize Map-Register
Change-Id: I961ec472948df7a6a88547eb2e5e60eb38969320
2016-11-01 13:24:57 +00:00
Jian Li
6322a36cb3 [ONOS-5267] Rewrite LISP bootstrap class to use UDP rather than TCP
- Try to use MessageToMessageDecoder to decode DatagramPacket
- Use Bootstrap instead of ServerBootstrap in a way to use UDP
- Add a dummy LispController interface
- Remove unnecessary handlers from LispChannelInitializer
- Rename LispController to LispControllerBootstrap

Change-Id: I7d930f46ffb87d88b3449ba78e066d8b1c065093
2016-11-01 22:14:31 +09:00
Aaron Kruglikov
61582a00a5 Creating new creators for multimap primitive and a name based getter for treemap primitive.
Change-Id: I981b3f1f8ee01fbdd0677c3eedc3d5024b8bcf1e
2016-10-26 16:50:19 +00:00
Sithara Punnassery
112ed82fa2 ONOS-5552 DocumentTree builder not available
Change-Id: Id0e9e0c647146c27e21e2ec2b2014789bbd9eca9
2016-10-25 18:31:35 +00:00
Yoonseon Han
ca814bfbee [ONOS-5480] The implementation of LISP Encapsulated Control Message (ECM).
Changes
1. ECM message is added.
2. Default ECM message is added with builder, reader, and writer.
3. Implented other messages writeTo() methods.

Change-Id: I3ed6f66a7ec7a318f30596d64c35ac15365c8c4c
2016-10-25 16:14:43 +00:00
Brian O'Connor
dedf24c5b7 Moving snmp libs to released version; ejecing bti driver due to incompatibility
Change-Id: Ic148f2d486b949be61fe816467ae6c9df852a6a9
2016-10-24 23:54:57 +00:00
Victor Silva
0289183f15 ISnmpSessionAdapter: remove overriden methods to conform with lib
Our dependency (btisystems/snmp-core) removed the methods that originally
broke our code and made us introduce these empty implementations in the
first place.

Change-Id: I4fcd0404e6a16cc4a0c80a651a9ea0c1fb142b39
2016-10-24 10:29:00 -07:00
Thiago Santos
c89ba3f9dd ISnmpSessionAdapter: fix build after dependency change
Add missing method to adapter class

Change-Id: Ic6b09071a8c72b900263cddfb733602a9238c1b7
2016-10-20 10:44:17 -07:00
Ray Milkey
3b4ea058e4 Fix Maven build breakage due to new SNMP libraries
Change-Id: I48cadd37c0e862a987be04d1c99efbe99f4e9b52
2016-10-19 20:20:15 +00:00
Jian Li
f8c2d4aa9b Add LISP MAC SHA1 and SHA256 authentication mechanisms
Change-Id: Ib699e7b400c85d0c0c22e312de56b90e1c7dad7b
2016-10-17 18:35:20 +00:00
Jian Li
451cea3762 Add LISP channel pipeline along with server bootstrap
Change-Id: I9ca12bbab5c4dad474bd6d7fa70e96a179bf4e50
2016-10-17 18:27:37 +00:00
Jian Li
84b7582ac6 Code clean up for LISP address and control message test cases
- Statically import builder classes to improve code readability
- Instantiate builder object in one line

Change-Id: I5439c5b2b160e19591234dff598e537f1c64b355
2016-10-17 18:18:24 +00:00
Jian Li
2775935682 [ONOS-5427] Add LISP Info-Request and Info-Reply message type
Change-Id: Ia54919945609a57e45b34af3bbe7b04e4a7efbec
2016-10-17 18:16:17 +00:00
Jian Li
52015761b9 [ONOS-5427] Add LISP NAT LCAF address class along with unit tests
Change-Id: I27e792d32aa2b30bf42ca0687161e9df9352cb6b
2016-10-17 18:01:43 +00:00
chengfan
7b2a60be58 [ONOS-5397]fixbug:NBI Error for complicate list inside container
1.if a array's children are all not container node,
 it's a leaf-list in yang, should treat differently;
2.for a array, the field name should push into a stack,
 and then pop when exit the array
3. add namespace info for yangnode
4. process the exception of null array node

Change-Id: Ia7b0c25ab1ccea393b97a0fcf59187663348de3b
2016-10-17 13:06:16 +00:00
Jian Li
cbc57e3b22 Add type code into LispType enum to prevent arbitrary place holder
With the existing implementation, if we want to specify type value
8 to ECM Lisp type, we need to generate several place holders
inside LispType enumerator, otherwise ECM will be assigned a
subsequent number which is 5.
With this commit, we can specify arbitrary number for each Lisp
enum type, therefore, no need to add redundant placeholder for
the purpose of incrementing enum value.

Change-Id: I82a82a3f5bc313dc1f79aaa66a77889408e8c891
2016-10-03 20:49:52 +00:00
Hesam Rahimi
4a409b4374 ONOS-4919: Implement RESTCONF client
Adding code to support RESTCONF protocol as one of
the supported SBI protocols of ONOS. This RESTCONF SBI extends
the current REST SBI protocl and adds some new APIs/functinalities
so that a provider can subscribe/register to an external restconf
server to receive notification stream.

Change-Id: I21bf0d0f0394cf788e066d743b3ade04735fe07e
2016-09-30 11:49:20 -04:00