146 Commits

Author SHA1 Message Date
Ray Milkey
08b03a9ec8 Starting snapshot 1.11.0-SNAPSHOT
Change-Id: I5aa84e241545dace6192243c0079924ddf899404
2017-05-15 18:40:20 +00:00
Jian Li
b25fcb4de1 Improve MapDB read performance by using cached hash code
With existing implementation, the hashcode of LispEidRecord
should always be recaluclated when we lookup MapDB.
If we have very large number of entries stored in a HashMap,
the performance becomes very poor.
With this cached hashcode implementation, we can improve
the MapDB lookup performance.

Change-Id: Ie193e0b96b2bdc470e52f6f1de4f341527e0507d
2017-05-15 16:52:39 +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
Jian Li
af72941251 Bugfix: Only reads the replyRecord when map data present bit is set
Change-Id: Id4bd28c1bd4f8ad7a6e92f8812cff0f1e66a2048
2017-04-06 15:58:06 +00:00
Jian Li
299bc1d4a4 [ONOS-6142] Add AppData and AS extension addresses with unit test
- Correct RFC page number for LCAF addresses

Change-Id: I51dbf02f69c15aad81d5571198b39e030f991a96
2017-03-22 04:20:28 +00:00
Jian Li
08f613aa3c Fix: Correct typos in multicast LCAF address class
Change-Id: I22efd7f281a10baded717c88ec0176309ec543c8
2017-03-20 06:26:00 +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
Jian Li
f4bfbaa450 [ONOS-5945] Add LispMapReferral message type with unit tests
Change-Id: I4f93140fccdbe96c4f0911e8aa325e6e3ffaee2f
2017-02-08 18:43:14 +00:00
Jian Li
d55111bf58 [ONOS-5945] Add de/serailizer for LISP referral with unit tests
Change-Id: I2fa06555d56be0a09046f74a570302d2df2b7539
2017-02-08 18:42:41 +00:00
Jian Li
4fc55e3973 [ONOS-5946] Implement LISP signature type
Change-Id: Ifea098d3b2fd1c0b5e24185b537056b9864b935b
2017-02-08 18:41:27 +00:00
Jian Li
672ebda3fd [ONOS-5945] Initial implementation of MapReferral message type
1. Add skeleton code of LispMapReferral message type
2. Refactor LispLocatorRecord and LispMapRecord

Change-Id: Icbe6243e5892a0bfb784ba3c0daa22ab73c7e977
2017-02-08 18:39:54 +00:00
Jian Li
c4d0391aa1 [ONOS-5944] Add LISP Geo Coordindate LCAF address type
Change-Id: I110eb57aded5fe2a8cf60e1d2e758737f4cbf139
2017-02-08 02:55:00 +00:00
Jian Li
3ff578de25 [ONOS-5943] Add LISP nonce LCAF address type
Change-Id: I6200ca4ea3432a982b8c1ba10551e2a4b501c1d5
2017-02-08 01:25:04 +00:00
Jian Li
2af9eaaf21 [ONOS-5942] Add LISP multicast LCAF address type
Change-Id: Ifb0e276f33ea9a6512b1a7037f0bbd30e24d276f
2017-02-08 01:16:18 +00:00
Jian Li
f31019ae11 Refactor: move LCAF related address classes under lcaf package
Change-Id: I828fe5596c84b121b9382a69107ddfce20840f99
2017-02-06 16:46:13 +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
Jian Li
347c51e683 Fix: sonar related fixes for LISP protocol package
Change-Id: If38ff6be071e1522c925056de44f9ec50910652c
2017-01-19 00:05:42 +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
7ccc3a862f [ONOS-5607] Add LISP router, controller and listener interfaces
Change-Id: If01738d1b0e4e264618392844d96a9cf31cbd7c7
2016-12-21 07:06:03 +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
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
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
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
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
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
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