789 Commits

Author SHA1 Message Date
Yuta HIGUCHI
e8f48d8d08 ExecutorService with somewhat predictable thread assignment.
- ExecutorService which allows the caller or the Task to
  express hint about which Thread it needs to be executed.

Change-Id: If1cc58f6b2369bb5afce4f402c195eacedf67f05
2016-08-25 10:20:35 -07:00
Thomas Vachuska
b1995cb761 Fixed an infinite loop bug in Suurballe graph path search.
Triggered by three edges between two vertices.
More work needed to address the remaining issues in the class implementation.

Change-Id: Ice1fa85f1b9213680e063e362db4d734d212f6f0
2016-08-23 20:58:54 +00:00
Yuta HIGUCHI
86f142f958 Update kryo to 4.0.0
- WARN:Serialized bytes are not binary compatible
- Release summary: https://github.com/EsotericSoftware/kryo/releases/tag/kryo-parent-4.0.0
- KryoNamespace: stop using direct buffer

This might fix ONOS-5130

Change-Id: I6e1e00f147a90ae8bfded78b2fa3a77158602c76
2016-08-19 17:26:54 +00:00
Yuta HIGUCHI
c012dda796 Workaround for NoClassDefFound issue in Netty.
SimpleChannelInboundHandler generates `message` instance check code on the fly,
using JavaAssist. Which was not working, when a new Connection was created on the thread
outside of NettyMessagingManager bundle, which did not have access to netty classes.
- Implemented equivalent for SimpleChannelInboundHandler<InternaleMessage>
  without specifying type parameter, avoiding on the fly code generation.

Other changes:
- Add a method in IpAddress to return InetAddress instance.

Change-Id: Ie97294a5650683457b9395e773269c5232d8e602
2016-08-18 19:06:00 +00:00
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
Yuta HIGUCHI
c2e6815ddc Use Java 8 Map#compute when possible
Change-Id: Ida300c054449047096f355f09b3843e4934dcd18
2016-08-16 22:45:15 +00:00
Yuta HIGUCHI
f05db4017e Fix for Netty wiring issue after 4.0 bump.
- After updating Netty 4.0 version,
  we sometimes see java.lang.NoClassDefFoundError: io/netty/util/internal/TypeParameterMatcher
  with backtrace insisting there's some dynamic class resolution inside Netty.

  It might be side-effect of recent native-epoll support inside karaf?
   https://github.com/netty/netty/issues/5119

- Add DynamicImport-Package for io.netty to allow deferred wiring
  http://felix.apache.org/documentation/tutorials-examples-and-presentations/apache-felix-osgi-faq.html#how-to-provide-optional-services
- Add a way to pass DynamicImport-Package on BUCK build

Change-Id: I50ec3400e940c56fb52563d84659ebb30c302235
2016-08-16 00:59:48 +00:00
Sho SHIMIZU
d5c8ba157b Remove a white space
Change-Id: Ie84387e8691b61162ce2e02cd258e4e3be8940c4
2016-08-15 18:49:43 +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
Yuta HIGUCHI
c3d69f52e5 Fix NPE when there's no secondary path.
Change-Id: I3bb8eeb2abf140d44cf4dc7186cf1bf316c23f70
2016-08-08 23:50:40 +00:00
Jonathan Hart
679d24d193 Unit test for Kryo namespaces to prevent people overflowing the namespaces.
Change-Id: If37283da60d59558c87e2997690b4578952ad3bf
2016-08-05 14:45:45 -07:00
Thomas Vachuska
0666f155b0 Cleaning-up shared executors use of metrics service.
Change-Id: I4293df87cd46e9f22cbdf03cfbced9a21ba85de7
2016-08-05 12:05:52 -07:00
ke han
0844307bde To encode igmp report packet need to set the record type
Change-Id: Ib9e06712873f936d6ab2466ab4e1fbb106c53b6d
2016-08-05 14:20:45 +00:00
Brian O'Connor
aca426f89b Moving yangtools to separate repo
https://gerrit.onosproject.org/onos-yang-tools

Change-Id: I0dc994264b9b698cba2344b48e4e226b22951f55
2016-08-04 15:03:08 -07:00
Bharat saraswal
2d90b0c1e0 [ONOS-5003][ONOS-5004][ONOS-5005]Generated Code modification for YangUtils+added interface for augmentation method and other api changes.
Change-Id: I954b9c99e182f21d01fcc5cd76fbac7d61a6c3aa
2016-08-04 16:00:17 +00:00
janani b
f9819ff0c9 [ONOS-4991][ONOS-4994] Leafref and translator issue fixes
Change-Id: I583ff24e987a680706025f43979469edeb523b50
2016-08-04 15:12:55 +00:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00
Vidyashree Rama
07c26bb279 [ONOS-4941][ONOS-4883][ONOS-4979]Grouping and uses interfile linking issue + defect fix
Change-Id: I5e8145f05d3ef570d4ecbbe885c93de172de0ea3
2016-08-03 19:18:01 +00:00
Ray Milkey
2a749835b7 Top level build of component Javadocs
Change-Id: Iceb2a7c84b3dd0b354b27f93a0f746913cd9b778
2016-08-03 09:38:07 -07:00
Mahesh Poojary S
98675a9bee [ONOS-4938] Defect fix: range interval
Change-Id: I3229d35fb7c80da3bcf150d52ed7e7eba72bb4c8
2016-08-03 12:31:25 +00:00
Bharat saraswal
6a5911f82b [ONOS-4947][ONOS-4954][ONOS-4952]Defect Fixed: Invalid name in case of qualified info for child nodes
Change-Id: I0b94455333afd9322c1e583a5c3ec311dbe99991
2016-08-03 12:06:57 +00:00
Shankara-Huawei
bdf24bb969 [ONOS-4922] Javamodel package creation for YANG utils.
Change-Id: Iff1745a8c04881b44db3f2f687967f984c38e2c7
2016-08-03 12:06:02 +00:00
Yuta HIGUCHI
1624df1f30 Assigning names to various threads
- specify nearby logger when possible

Change-Id: Ia8925ab1459c4d1da922becd0e201388d44d4294
2016-07-22 22:56:26 +00:00
Mahesh Poojary S
bbd4849c5e [ONOS-4910, ONOS-4921] Framework: utils validation and defect fix
Change-Id: I821920fa8c88e64406b702c2b8736bdeaf231474
2016-07-20 09:27:36 +00:00
Vidyashree Rama
36f2fabfaa [ONOS-4894][ONOS-4890][ONOS-4887][ONOS-4923]extension and argument
datamodel and listener + defect fix

Change-Id: Icefe046d9848935bb6c40a6d7688feb084edd65d
2016-07-20 09:18:12 +00:00
Bharat saraswal
e707f03175 [ONOS-4583] Union defect fix.
Change-Id: Ic31866b9a1b7bd5d8209d5d22f4292ab9c79a118
2016-07-20 09:07:59 +00:00
janani b
efb554b420 [ONOS-4876] Defect fix for notification, when grouping is first child of module.
Change-Id: I14a69f8ecced4ca1ae6a2a63be05ba740bed5511
2016-07-16 05:53:47 +00:00
Bharat saraswal
d50c63824b [ONOS-4839] update file priority for translator and OP param file impl defect fix
Change-Id: Ieaef43f915996ed0a34dfa17c338ab612716b2bc
2016-07-16 05:27:22 +00:00
janani b
23ccc312b2 [ONOS-4842] Leafref implementation for augment and uses
Change-Id: I919553a64d683aff65a8f16e2de783702dd5a45f
2016-07-16 05:01:58 +00:00
Vidyashree Rama
1b49906c98 [ONOS-4839] update file priority for input files
Change-Id: I4aa0cbbfb0f168efd7c1895c9bb0c6589088eefd
2016-07-16 05:01:19 +00:00
Mahesh Poojary Huawei
30c116a168 [ONOS-4838] Decimal64 Range Restrictions Modification
Change-Id: I4d79c0da5ef400a188bfc5a85830e1187602e698
2016-07-16 04:52:57 +00:00
Shankara-Huawei
b9999ebcd5 [ONOS-4831] Implement op param class for apps
Change-Id: I88aee8a3009de84649c959e21ce83e3bbbf63c18
2016-07-16 04:49:52 +00:00
rama-huawei
6c728a946a [ONOS-4798] Error Message implementation for YANG utils
Change-Id: Idb13e851258754773f8f447ace69a9393c7c1b3d
2016-07-14 18:28:54 +00:00
Bharat saraswal
b551aae55e [ONOS-4829] Augmented data method generator implmentation.
Change-Id: I0cb68dd10a748e5b66eec0b832574f408a23ba5c
2016-07-14 18:27:06 +00:00
Vidyashree Rama
405d2e660e [ONOS-4636]grouping and uses
Change-Id: Ic410d03a838003ad23b2b0e8874b91503da84153
2016-07-14 18:23:28 +00:00
Bharat saraswal
b1170bd235 [ONOS-4799],[ONOS-4351] Augment inter file linker and Generated Code refactored.
Change-Id: Id1f3ac9c90a632373f51cc75d499c3110216be17
2016-07-14 17:17:02 +00:00
Mahesh Poojary Huawei
46fb4db5d7 [ONOS-4348] Yang Bits, Binary and Decimal64
Change-Id: I8e4e54a19a8f9634cbc56a07579a1730174f53f6
2016-07-14 16:45:21 +00:00
Shankara-Huawei
df7b9ca09a [ONOS-4753] Identity/identityref implementation and UT
Change-Id: I40148fa228465555be3bdf410cc294ffc0f34c18
2016-07-14 15:50:01 +00:00
janani b
e18b534065 [ONOS-4744] Leafref implementation and UT
Change-Id: I151797185e0bb1695c0640b667ae76ef87c4d4b0
2016-07-13 20:56:52 +00:00
Vidyashree Rama
528ef30d89 [ONOS-4762][ONOS-4601]Grammar for meta data + Union defect fix
Change-Id: I8f78127e5b292cca6a79b32d496c2602c9105acd
2016-07-13 16:19:30 +00:00
Gaurav Agrawal
72cd1b7c30 [ONOS-4711] Move YANG data types to data types to remove dependency
Change-Id: I2297fc1fa69c7609765fc970d5614447db8e9f88
2016-07-13 12:37:28 +00:00
gaurav
4af95fb0d7 Added DHCP Option-82(circuit-id) to Dhcp relay app, addressed patch-1 comments
Change-Id: If99fd1f0794b3aff9ae88948d98632e6c9ff1090
2016-07-13 12:35:37 +00:00
Shankara-Huawei
15c8ed88d6 XPATH Datamodel For YangUtils
Change-Id: I39449323a6d43ad293ac7ae986dc983d35eb944b
2016-07-13 02:16:30 +00:00
Yuta HIGUCHI
27fcb5f35f Turn off verbose flag
Change-Id: Iec031eac96f2a554c9073ac73b5730dfd16e1cca
2016-07-12 16:05:15 +00:00
Vidyashree Rama
deac28bfbb [ONOS-4650][ONOS-4726][ONOS-4727] [ONOS-4728]Implement must parser + when parser + feature + if-feature + revision defect fix
Change-Id: I0a3aee6c1c6b72ef7da7f7f565fd0f149fe3fd42
2016-07-11 21:40:22 +00:00
sangyun-han
d45d42c732 Add TranslatorException, YangJavaModelUtils
Change-Id: I8c8d8d36a69ff24613218892532fd3bfada1fcdf
2016-07-01 16:35:09 +00:00
Gaurav Agrawal
4a9f3afe4d [ONOS-4784] Auto import of generated sources in target to IDEA intellij
Change-Id: I2c1260da3d153fadba5c421a23f4c365349cfa5e
2016-07-01 01:37:36 +00:00
Bharat saraswal
991f6884d1 ONOS-4719 - Environmental vaiables dependency removed from UT
Change-Id: Id57ed2c7fbba9347b1b990c1305862460f78cbcd
2016-07-01 01:32:27 +00:00
Carmelo Cascone
804c0010e3 Added kryo serializer for ImmutableByteSequence
Serialization was failing when the inner ByteBuffer instance was a
HeapByteBuffer. Also, simplified ImmutableByteSequence.toString()

Change-Id: I4f75086a9b6536205fb43b78a0e4d2bfce9e8a5c
2016-06-29 16:26:10 +00:00
Thomas Vachuska
c35621013e Dropping jdvue from the main repo as it has been moved to its own.
Change-Id: I82bbbc213c875a9dba4e5b4c4edaafdd04cb77ea
2016-06-16 10:29:18 +00:00