3094 Commits

Author SHA1 Message Date
Brian O'Connor
6325dad6fc Reducing log level for peer update in IntentStore map
Change-Id: I0cc93784e2ca7dbb8c743840b6427f49a715b554
2015-07-07 15:36:29 -07:00
Madan Jampani
f840886b09 ONOS-2318: Use DEFAULT consistency mode for Raft queries.
Change-Id: I843df946424f832a22466bb297766c804369599a
2015-07-07 21:13:40 +00:00
Ray Milkey
96495ca39d Add unit tests for cluster messaging classes
Change-Id: I77dd4155956dca77e86e9990c7d4f5de394c0e87
2015-07-07 20:48:39 +00:00
Ray Milkey
6d7968e5a8 Refeactor codec helper classes
Change-Id: Ic980293f5df97ed74a73fc54e3dcb197658264f5
2015-07-06 21:58:27 +00:00
alshabib
af734ff4c7 forwarding radius packets to radius
Change-Id: I28678715adc42358d85006e2df0baa25d768746d
2015-07-06 21:20:37 +00:00
Sho SHIMIZU
c4d5661d5a ONOS-2297: Decouple ResourceRequest and ResourceAllocation
Note: This change may break backward compatibility for those defining a
sub-class of ResourceAllocation

Change-Id: I01807b4ebb0f9af8fa822828953965b5119975d7
2015-07-06 13:47:00 -07:00
Sho SHIMIZU
67f94869e6 ONOS-2298: Tag @Beta to resource request/allocation types
Change-Id: I03fd59a74b1ed16b452b51e098e98db3e6bc43f5
2015-07-06 20:40:21 +00:00
Sho SHIMIZU
e825af0d89 ONOS-2296: Tag @Beta to DeviceResourceService
Change-Id: I133d28da7bfd12659fba1c3ec4af72341d0420a9
2015-07-06 20:40:20 +00:00
Ray Milkey
b82c42b0fe Implementation of REST POST API for creating intents
- codec for constraint decode
- codec for intent decode
- POST method for intents
- unit tests for codecs and POST method

Change-Id: Ibc0ef8f99a0c0664710a733985424c77010c49b5
2015-07-06 20:19:42 +00:00
Brian O'Connor
148ba2f86c Improving null safety of GossipIntentStore peer update function
Change-Id: I4f517d899c98f7c6cd0964465dfbcebae17363a3
2015-07-06 20:05:34 +00:00
Sho SHIMIZU
c615485959 Fix suspicious behavior
Union of allocated resources and available reousrces doesn't seem
to be the result as available resources

Change-Id: I3c8f0b3293f81b329aa06de16635adc006730598
2015-07-06 08:48:04 -07:00
Kenji HIKICHI
5448d464e5 ONOS-1680: Close InputStream explictly to delete the opened file reliably.
Change-Id: Iae1a57da007eb50bdf024f4acb73aebb96de7888
2015-07-03 18:24:49 +09:00
alshabib
5f5d281432 Reverting change to IdBlockGenerator that caused NPE when installing flows.
Change-Id: I86ff72d0cd4560dec2c2a1ce4bf97473d36447bf
2015-07-02 18:43:19 -07:00
Aaron Kruglikov
e1200590e1 Completed testing of EdgeManager
Change-Id: I2d2f5ba62951951f29780904acfa5eec07657129
2015-07-02 13:33:38 -07:00
Madan Jampani
43f37959da Added a utility method to MapValue for creating tombstone instances
Change-Id: I2ddc30ebb9dac3b865a13c0a32b46b39cafb1aa8
2015-07-02 12:59:11 -07:00
Madan Jampani
a0ac487b96 ECMap: notify peers only for remove operations initiated locally
Change-Id: I67d66ec366759b8c96fbb686d1af01aa4eaaa83c
2015-07-02 19:32:52 +00:00
Sho SHIMIZU
716c8e9c65 Avoid down cast
Change-Id: I8e85ca3ac5df8b14f52f4c4e0606bd570853d92a
2015-07-02 11:36:42 -07:00
Sho SHIMIZU
ac63c30fd4 Use diamond operator to remove compiler warning
Change-Id: I04c4d49ccf43b10a0443bdd9b3e4a1014c492d5d
2015-07-02 18:01:49 +00:00
Sho SHIMIZU
1c221ade61 ONOS-2294: Redefine LinkResource as interface
LinkResource was defined as an abstract class, but it doesn't define any
methods. Maker interface fits this case.

Note: This change may break backward compatibility for those defining a
sub-class of LinkResource.

Change-Id: I53cb7e8eae7057d07c63960c488979a99cd54d52
2015-07-02 10:43:18 -07:00
Madan Jampani
5300bb8c37 ONOS-2292: Use the passed in value to generate timestamp in ECMap's remove(key, value) method
Change-Id: Ic2fe04a72d8f9c63431ee48a4d0b78005b694142
2015-07-02 17:23:35 +00:00
Dusan Pajin
6b887c900c Added matching vlan and push, pop and rewrite VLAN ID treatement in Intent add command. Added MPLS intent support for vlan operations
Change-Id: Ia70f13209adecaebde93a6fe7bd07b8e5a21074d
2015-07-02 16:21:28 +00:00
Madan Jampani
d13f3b8854 ONOS-2280: Fix NPE in hosts EC map
Change-Id: I4cb74d7c9526dc0e836e1e2790748324f60183f5
2015-07-02 06:28:19 +00:00
Ayaka Koshibe
41ee2f0e5d added missing descriptions to pom files
Change-Id: I6a8f15ce7cc706ef970dd5c98f6c0320bf8ad821
2015-07-02 06:13:23 +00:00
Sho SHIMIZU
f45d85d88d Make ObjectiveInstaller thread safe
Objective installer may have been dispatched to a different thread and
numAttempts was possibly accessed from multiple threads

This solution is to create a new instance for the next trial

Change-Id: I5d85f87567241f3e072c38f094eb5c7ba511a6a5
2015-07-02 06:04:35 +00:00
Sho SHIMIZU
f3ae3fb93d Follow the convention for Javadoc
Change-Id: I32742fdeafaa08171915883c6d6fdc0373db9efa
2015-07-01 19:02:02 +00:00
Jon Hall
d46280cd53 Register Versioned with Kryo to fix ONOS-2169
Change-Id: I964f83161a26749953a7c7ae4bf765c01a5a67a6
2015-07-01 17:59:23 +00:00
Sho SHIMIZU
fee286d1c4 Fix typo
Change-Id: I2e1d9f24065bfb7c49a968cd04ab028b50f90231
2015-07-01 10:19:19 -07:00
Sho SHIMIZU
23aa2e7c4b Follow the convention for Javadoc
Change-Id: If8d563807a2af99d049601078ddd715aea3132f3
2015-07-01 16:57:08 +00:00
Sho SHIMIZU
9553bb88b3 Make TrafficTreatment.Builder.setLambda() deprecated
It is recommended to avoid to use a raw integer value to specify a lambda.

Replace uses of the deprecated method with the alternative

Change-Id: I108f0d15f4503df2a6a75c4f7c77aa0c678ff541
2015-07-01 02:18:07 +00:00
Sho SHIMIZU
6cd3330007 Use ConcurrentHashMap instead of FastHashMap
Apache Commons Collections doesn't support Generics

Change-Id: I8125b5e1aca9054ae399f9cabe8f76970294f848
2015-07-01 02:17:01 +00:00
Sho SHIMIZU
d4fa7fd34c Replace the method call of Apache Commons Collections with Guava's
Old Apache Commons Collections doesn't support generics

Change-Id: I29862c3a22a4cf96c92b90bb189e05740f070ff8
2015-06-30 18:58:41 -07:00
Sho SHIMIZU
260439de59 Replace deprecated APIs with the alternatives
Change-Id: I2959554573e0561543ab5fd0b2bcc871b8a74f3d
2015-06-30 16:35:34 -07:00
Madan Jampani
7058397358 Replaced GossipHostStore with a implementation built on top of EventuallyConsistentMap
Change-Id: I6b580727e5f4bb03e606c87a6748e6fbb90223e7
2015-06-30 19:40:52 +00:00
Sho SHIMIZU
be63b233cb Regard the release when the APIs became deprecated as Cardinal
Change-Id: I072fa33a2a70baa7466d7a0dc5067191476be0f3
2015-06-30 19:06:50 +00:00
Sho SHIMIZU
9a2b081c20 Describe the release in which APIs are tagged as deprecated
Change-Id: I6fd0ebba07bcc45237682e083b59a807a720b4fb
2015-06-30 19:05:31 +00:00
Sho SHIMIZU
0e6fd0642f Remove package-info because IntentInstaller no longer exists
Change-Id: Ic45e6e9c7dd53f37f2f2265a22a23a5eb9a06dbd
2015-06-30 19:04:57 +00:00
Madan Jampani
db5d06adb0 Kryo: set next registration id for local types registered in ECMapImpl
Change-Id: I9483f3b302224f3eb9dbd4e6dfb98a54143e3243
2015-06-30 11:16:48 -07:00
JunHuy Lam
39eb4295db Adding TLS for NettyMessaging and configurable on NettyMessagingManager through JAVA_OPTS
Change-Id: I5e77658cbae70d3facbe9e1f56c9fa9fcf0e00cc
2015-06-30 18:09:14 +00:00
Madan Jampani
3d76c942c4 Simplified ECMap implmentation by merging items and tombstones maps
Change-Id: If4253722d91c35a7e57dec3c2fceb216d14a7314
2015-06-30 10:17:12 -07:00
Sho SHIMIZU
d5c66afc60 Avoid unnecessary object creation
Change-Id: Iae5cb3c23540f9ac7105aa0b4c0b672ff8f75715
2015-06-30 09:46:54 -07:00
alshabib
9d9e3a3dad initial stab at javadoc for objectives
Change-Id: Ib36b50b6e9dd8c4a11aa9f06318ad567b28ae0f2
2015-06-30 01:41:48 +00:00
alshabib
7b808c5e15 small fixes to ethtype pattern
Change-Id: Ic58c426821952f66aa21bc828d36fd4f83d8da0d
2015-06-29 15:24:35 -07:00
Thomas Vachuska
f3ed655a8e Seeding a test for the edge-manager implementation.
Change-Id: I6743aae85eab1444bcafcc2f1d8514cc2c2a5bc0
2015-06-29 21:27:48 +00:00
Thomas Vachuska
8502192ecb Finished implementation of edge port manager using topology event async notifications.
Change-Id: Ide0eb947ba6400dafe11dac73af1466aaf0ce451
2015-06-29 21:27:48 +00:00
Aaron Kruglikov
a2b5915426 Not ready, commiting to transfer between systems for work.
Change-Id: Ifb3d2ce184761574aa0fd35211deacfac1236d63
2015-06-29 19:14:30 +00:00
Jonathan Hart
2a65575cf8 Improve the resiliency of the packet deserialization code.
Packet deserializers now check for malformed input while reading the byte
stream. Deserializers are re-implemented as functions that take a byte array
and return a packet object. The old IPacket.deserialize(...) methods have been
deprecated with the goal of eventually moving to immutable packet objects.
Unit tests have been implemented for all Deserializer functions.

ONOS-1589

Change-Id: I9073d5e6e7991e15d43830cfd810989256b71c56
2015-06-29 16:31:11 +00:00
Ayaka Koshibe
08e457ab8b Serializer for DefaultAnnotations. This allows Annotated objects to be correctly
used as keys in ConsistentMaps. Fixes ONOS-2128.

Change-Id: Ia21a25712351b99bc1b79dc231be8187cf3d3a0b
2015-06-27 18:11:40 +00:00
Madan Jampani
43e9c9cfb5 Updated ECMap remove call to return the value that was removed
Change-Id: Id7eacc04f4bb9322e4f98da5664c2fa46e0ea6fc
2015-06-27 17:58:06 +00:00
Ayaka Koshibe
94cc01baf8 Fix for uninitialized TransactionManager in PartitionedDatabase
Reference: ONOS-2157

Change-Id: Idec1c2242dd53a31836c69339ba89988a19556bb
2015-06-26 15:40:31 -07:00
Madan Jampani
98166f9c4b ONOS-2157: Fix NPE in Transaction execution logic
Change-Id: I55a73a82d5ba95407c451a7dd95832442625b994
2015-06-26 15:12:33 -07:00