142 Commits

Author SHA1 Message Date
Ray Milkey
2557ba3375 Tagging 1.9.0-b1b 2017-01-19 15:20:17 -08:00
Jian Li
347c51e683 Fix: sonar related fixes for LISP protocol package
Change-Id: If38ff6be071e1522c925056de44f9ec50910652c
2017-01-19 00:05:42 +00:00
Jian Li
b1a8fd05d2 [ONOS-5607] Add a new LISP router when receiving MapRegisterMessage
Change-Id: I0cb11492def61b99f30b463304a3f152c5200b2f
2017-01-04 18:14:55 +00:00
Jian Li
3a99e71d61 Fix: remove redundant parameter setup for LCAF addresses
Change-Id: I9f322b5a6566a723bd59a1b49721b7eae818bc9a
2017-01-04 02:37:15 +00:00
Jian Li
01f75b9cbf [ONOS-5752] Add AS number LCAF address with unit tests
Change-Id: I0c47e72b2195eb3014dbbde8966fbb3dc0b7fa9e
2017-01-04 01:26:04 +00:00
Jian Li
0dab596158 [ONOS-5607] Add AbstractLispRouter base class with impl classes
Change-Id: I7b79301db684b7f15307dc26be0c6e665399b01d
2016-12-23 16:08:48 +00:00
Jian Li
834ff723ce [ONOS-5607] Revise LISP ctrl impl class to track msgs and routers
Change-Id: I4a51a8ef9162e3feee543f40fa92a0435186d1c9
2016-12-21 15:12:59 +00:00
Jian Li
7ccc3a862f [ONOS-5607] Add LISP router, controller and listener interfaces
Change-Id: If01738d1b0e4e264618392844d96a9cf31cbd7c7
2016-12-21 07:06:03 +00:00
Jian Li
e530690b21 Support to obtain all map records from MappingDatabase
Change-Id: Ia4c5932d35c36d8dbd75e8534e52c3e0c5af4256
2016-12-20 16:36:48 +00:00
Jian Li
3e1bac23ed Add ReplyRecord field into Map-Request message
Change-Id: Ia9850bade2ee1ab654a7fb58a5ff00ebfd52a19e
2016-12-16 16:52:47 +00:00
Jian Li
d6483ccf6f Bump up the LISP LCAF version from draft 20 to draft 22
Change-Id: If946ac5bd6159b050838d577cbea7795e15d5693
2016-12-16 14:04:38 +00:00
Jian Li
2174e32b64 Fix: Re-enable testEncode unit test for LispMessageEncoderTest
Change-Id: I38e330340f65d29f1265570bf1e91d98f1adddac
2016-12-14 02:05:31 +00:00
Jian Li
6153eab228 [ONOS-5716] Acknowledge Map-Request with native-forward Map-Reply
In this commit, we try to acknowledge Map-Request message with
a special Map-Reply in which action field is configured with
a natively-forward flag.

Change-Id: Id302f9c4896d8a49a22b52bcbd33586105e270e9
2016-12-14 02:00:24 +00:00
Jian Li
cdbc087295 [ONOS-5710] Process Map-Request msg when proxy bit is set to false
Change-Id: I0ceef00c67ab266b01dec121fe6a4fe1f3dca3e5
2016-12-14 01:53:25 +00:00
Jian Li
5e505c6c23 Refactor LISP package to separate ctrl interface and impl classes
Change-Id: I4e94ff54299e886cd0e8b3ce38591b0900290f54
2016-12-11 13:56:47 +00:00
Jian Li
29986d80ce Add LISP mapping entry aging mechanism
Change-Id: I9a2a75f64ff4fb580dcc4b2e789af020c5decd8d
2016-12-11 13:50:46 +00:00
Jian Li
3109de81dc Fix: correct protocol stack comment of LispNatLcafAddress class
Change-Id: I7f9e266a16ce7a5e46a3634a68ae3f54ae00ec31
2016-12-06 22:44:09 +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
Jian Li
2c8a2a4f84 Bugfix: Acknowledge to ETR only if want-map-notify is set to true
Change-Id: I684bc1f1a7958b9777f90fe512980523490598ac
2016-11-30 20:06:45 +00:00
Jian Li
712ec05ba9 [ONOS-5688] Make LISP authKey and authKeyId be configurable
Change-Id: I8262cc1791e064547e79cb9a3cb58e99feec50b1
2016-11-30 18:32:05 +00:00
Jian Li
5b2b2369da Fix sonar warnings of LISP authentication package
- Restrict access level from public to package-private
- Log and pass original exception's message
- Prevent an utility class from instantiation

Change-Id: Ida35121edeb0675ea86ab8d788f4f8c386cb19ba
2016-11-30 18:26:03 +00: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
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
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
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
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
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
Jian Li
99f83ef62d Add LISP Traffic Engineering LCAF address with unit tests
Change-Id: I516f399e54896f923e7fbf25de9a48426e21ea40
2016-11-10 07:16:45 +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
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
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
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