Jian Li
42b3e4383c
Remove recordCount and locatorCount from LISP control message class
...
Because recordCount or locatorCount is only used when decoding the
LISP control message received from xTR, therefore, there is no
need to provide any interface to specify this value from obj builder.
Change-Id: I380b275e6f06feb4846b84f62ebf2430ad5a9ec6
2016-08-30 17:35:30 +00:00
Jian Li
d4e6370b21
Add NotNull and Argument check during object build for LISP object
...
Also correct IP enumeration type into IP4.
Change-Id: Id970ee608c885826cfd2de7b5448b2bc451e079f
2016-08-30 17:31:51 +00:00
Jian Li
e4ba2a4460
Add unit tests for LISP control message serializer and deserializer
...
Change-Id: Id517db99635ad8e055d6581e5c0f3ac9f45f2869
2016-08-29 16:55:37 +00:00
Jian Li
76ea05796d
Add unit tests for LISP address serializer and deserializer
...
Change-Id: I56538221f3951d18c1feb9343d87cbb46c3ed04d
2016-08-29 16:52:22 +00:00
Jian Li
edc5db1346
[ONOS-4718] Initial implementation of LISP control msg serializer
...
Change-Id: Ia068e1b158f05dd70839cb1020f15dc66b0142a0
2016-08-29 16:51:31 +00:00
GUNi
ba87170b5e
[ONOS-4718] Initial implementation of LISP address serializer
...
Change-Id: I71e1923f6daf1abdf2bf9798a9e421c81926a45c
2016-08-22 18:26:37 +00:00
Jian Li
a7b394d410
[ONOS-4718] Deserialize addresses from LISP control message class
...
With this commit, we try to deserilize all LispAfiAddress from
all LISP control message classes.
Change-Id: Iaf911bff90c45a70859285e426dc1649c3e6db32
2016-08-22 18:20:37 +00:00
Jian Li
4eb3e3ace0
Revise comments to align protocol stack
...
Change-Id: If39b022398b90bcff6c2086da1bab8247f6c03ff
2016-08-22 18:14:46 +00:00
Jian Li
115d8602af
[ONOS-4718] Initial implementation of LISP address deserializer
...
Change-Id: I522e16e7fd197380cf4c99038561fe9aa8f93730
2016-08-22 18:14:15 +00:00
Yuta HIGUCHI
0de4ba9401
Remove duplicate version specifications
...
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
Jian Li
47671905bb
[ONOS-4718] Initial implementation of LISP control msg deserializer
...
- Add LispLocatorRecord interface along with
DefaultLispLocatorRecord class and unit test class
- Add deserialization logic for four LISP control message classes
and two auxiliary classes
- Add ByteOperator utility to ease the bit access and manipulation
for byte data type
Change-Id: I68edf6877a0ebb52260296fc556e0690b795a845
2016-08-12 22:35:34 +00:00
Jian Li
26069e2d35
[ONOS-4718] Add skeleton code for de-serializing LISP ctrl messages
...
Change-Id: I52f7905538e5832e5282812df869b8158ce23334
2016-08-12 22:15:52 +00:00
Jian Li
e9af3b4810
Add unit test for LISP address to check obj equality & construction
...
This commit adds various unit tests of LISP addresses in a way to
check object equality and construction.
This commit also makes minor changes to existing LISP address
classes to allow the test cases to pass all unit tests.
Change-Id: Ice9f9634bdd243baaf1eed1539ea8d5808dda01d
2016-08-08 23:40:23 +00:00
Jian Li
8fc2d2f354
Fix: Javadoc fix for LISP related classes
...
Change-Id: I41365828f05b0096d0d2998cd1f19a07eadd76ec
2016-08-08 23:35:16 +00:00
Jian Li
18f3bce539
Add unit test for LISP msg to check object equality and construction
...
Change-Id: I5365f7654df10f4cf157c79f098c7ce26c29a300
2016-08-08 23:19:19 +00:00
Jian Li
20850d3947
[ONOS-4718] Add toString, equals, hashCode for LISP control message
...
Change-Id: I722ab27f50074af26ea92503aac237dec0c64bcf
2016-08-08 22:46:36 +00:00
Jian Li
525fded431
Move build method to each control msg, realize createBuilder method
...
Change-Id: Iff9e60cc5f929e031b0d927e0bdc08fed826e0db
2016-08-08 21:31:31 +00:00
Jian Li
79b1bb2f4d
Remove solicit map request message class and interface
...
This control message is a special type of map request message,
therefore, it can be merged with LispMapRequest class.
Change-Id: I9549a18277411947cf4d485f62f92d8259575c94
2016-08-08 21:23:12 +00:00
Jian Li
631e62a646
[ONOS-4718] Implement DefaultLispMapRecord class with interface mod
...
Change-Id: I1544fd52adc4081614b5471f8ab263efbd6c840b
2016-08-08 21:15:14 +00:00
Jian Li
f59c0adb2c
[ONOS-4718] Implement LISP control message classes
...
Change-Id: I26ab3b8da383d8967c08e14b4f11f03e0663de73
2016-08-08 21:14:53 +00:00
Jian Li
10a09066cd
[ONOS-4718] Add LispMapRecord, rename EidRecord to LispEidRecord
...
Change-Id: Ib43ad5201787a7d9a3b18c0cd8949822d2e31e29
2016-08-08 17:57:22 +00:00
Yuta HIGUCHI
4b0221198b
Fix LISP related javadoc
...
Change-Id: Ia83fdeaf0cbdd8914c6a105f30c4cfa1b174af3a
2016-08-03 11:04:34 -07:00
Jian Li
719b3bf9bf
[ONOS-4718] Initial implementation of LISP control message objects
...
Change-Id: I22cdb1a4b5d7bb7f0681c9fa9a45223b60bdb282
2016-08-03 16:57:18 +00:00
Jian Li
451175eb3f
[ONOS-4718] Initially add five LISP message interfaces and classes
...
Change-Id: I9d21595823680644ec107c85b0b38acdd1534568
2016-08-03 16:56:17 +00:00
Jian Li
ac32718820
BuildFix: add missing netty-buffer lib in BUCK build file
...
Change-Id: Ibc47a296f7ecf9c68b78a6484acadb82d0d20b2f
2016-07-21 09:31:02 +09:00
Jian Li
cb1fca2a86
[ONOS-4718] Initial commit for LISP protocol message package
...
Change-Id: Ic4237723692327ee2d644f563413bdd7148d694a
2016-07-20 22:51:28 +00:00
Jian Li
d56f97ea73
[ONOS-4718] Add LispDistinguishedNameAddress, modify hashCode logic
...
Change-Id: Ic9b840f6dc0102bed35d3c88b76b6e8b36a051f5
2016-07-20 22:48:31 +00:00
Jian Li
c7e20a5f32
[ONOS-4718] Add more LCAF type address with augmented LCAF class
...
In this commit, we added List Type, Instance ID Type, Source/Dest
Key Type and Application Data Type LCAF address classes.
Change-Id: I39881714069a32c52474ee82f8a9acdfcdc862b7
2016-07-20 20:30:41 +00:00
Jian Li
0959600951
[ONOS-4718] Add LISP Canonical Address Format Enum and Address class
...
Change-Id: Ife7f0b98207424b1ce1df390d73b72eb7b5890fe
2016-07-20 19:33:30 +00:00
Jian Li
6b77dc0825
[ONOS-4718] Add several data types used for addressing LISP locator
...
Change-Id: If6263957b2ce1d9a6a07bbc12f4fb9c9e2fa7616
2016-07-20 19:25:47 +00:00
Jian Li
35734392cc
Initial commit for LISP SBI Encoder and Decoder package
...
This commit is for check-in initial skeleton code of LISP message
encoder and decoder.
Change-Id: I007240036852a78ac273e9ec4a84a07ab22ba675
2016-07-20 19:23:22 +00:00
Yuta HIGUCHI
da27f52941
Attempt to fix onos-master job issue.
...
- Temporary workaraound for onos-master job failing with:
javadoc: error - No public or protected classes found to document.
Change-Id: Iea3f419584130176a85abb173eba91f842c32068
2016-07-07 22:06:45 -07:00
Jian Li
b6957627a1
[ONOS-4718] Initial commit for LISP SBI protocols
...
Change-Id: I5ae2f19f9ed6e4df579cf2246cd0ab0d31fd3396
2016-07-06 13:41:12 +00:00