1007 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
alshabib
caf1ca2b1d adding EthType to secure handling ether types
this will also pretty print ethertypes in flow output

Change-Id: I9363070ad308f3c756735e29b3992c500e503636
2015-06-26 13:44:55 +00:00
Ray Milkey
85571ebe26 Remove deprecated Lambda instruction builder method
Change-Id: I77dba40e174308744617e413cb517de440f1093e
2015-06-26 13:35:08 +00:00
Brian O'Connor
9476fa1969 Adding @Beta to Intent API classes and interfaces
Change-Id: I02a3c1a678cb4e75b5bba9a33117a9dccb6fc0f5
2015-06-25 20:22:52 -04:00
Madan Jampani
0dbac7af9e Fix javadoc warnings
Change-Id: I156c861729fd48d5e6792f810c342e1579482c04
2015-06-25 11:40:30 -07:00
samanwita pal
74d32fdb14 Added unit tests for Versioned and MultiValuedTimestamp classes.
Change-Id: I12c05c546a75aad6ddbe1d63aaa152a1ed642759
2015-06-25 09:30:28 -07:00
Madan Jampani
bcf1a48e89 Removed ClockService<K, V> and replaced its usage with a BiFunction<K, V, Timestamp>
Change-Id: Ide8d979f9361f1aff6727a83733747f4512ef8ff
2015-06-24 19:35:33 -07:00
samanwita pal
d1acfd8fe6 Added unit tests for MapEvent class.
Change-Id: I3c1c8091da01fbeaabf66d68d7c6cc1f2c2a2455
2015-06-24 21:29:52 +00:00
Thomas Vachuska
41f4d3ed05 Defined edge-port subsystem interface.
Change-Id: I4d376ea50292c0d2ab313e7d07a2aa0209a739c1
2015-06-24 10:57:25 -07:00
Thomas Vachuska
27bee09007 ONOS-2145 Added ability to withdraw packet intercepts via PacketService::cancelPackets.
Change-Id: Ie41271fa02740560bd67b0faf49f633ee749773c
2015-06-23 19:03:10 -07:00
Madan Jampani
e8af1cc38c ONOS-2133: Support for purging associated stores (ConsistentMap/DistributedSet) when the application is uninstalled
Change-Id: I5bf7678f50ff3ed2792313383ff738c356bef69f
2015-06-23 22:23:02 +00:00
Samanwita Pal
e00733af97 Added unit tests for DatabaseUpdate.java
Change-Id: I5d7523a5a7c22ccf7add5b4df074c965362e9cbe
2015-06-23 21:45:57 +00:00
Ray Milkey
419dcada3c Improve coverage to cover private serialization constructor
Change-Id: Ifedca248416ea28b9ea2716939a1ad7b3fbabe74
2015-06-17 11:28:04 -07:00
Ray Milkey
d164c0e0ea Unit tests for DefaultPortStatistics class
Change-Id: I778bc0a10381a304d35aaf2628c254d8f1c1e5db
2015-06-16 18:56:57 +00:00
Thomas Vachuska
afb11dac18 ONOS-2124 Added a few more validity checks.
Change-Id: Icbb784bd0caa124b6bfac03619702b6f2250ffff
2015-06-16 17:31:55 +00:00
Ray Milkey
d13a37bf3c Remove deprecated Flow Rule constructors
Change-Id: I2a078cbfbeb9db4a04ef1c59acde2fb45672a3cf
2015-06-16 17:03:13 +00:00
Thomas Vachuska
93d944c224 ONOS-2124 FIxed Version to allow two-segment versions and to be more robust in general.
Change-Id: I92db41ad0aa7c604375dae5a0ac6804462532ba9
2015-06-16 09:48:55 -07:00
Madan Jampani
c606956184 Added a map API to transform Versioned<byte[]> to Versioned<V>
Fix bug where ConsistentMap.{putIfAbsent,remove} do not publish MapEvents

Change-Id: Ib7a9e01cad2b9099e6872916ae392351b68299ef
2015-06-12 21:41:37 +00:00
Thomas Vachuska
ad35c34af3 Fixed application descriptor parsing.
Change-Id: If4fa4ecc66d0ed2a42e8b240d0e3142340d544eb
2015-06-12 01:08:57 +00:00
Ray Milkey
505104082d Unit tests for Leadership and LeadershipEvent classes
Change-Id: I0bd902348607f27976ad39f18ec4b3fc6f1b1d1a
2015-06-11 21:45:08 +00:00
Madan Jampani
63c659f048 Support for a distributed queue primitive.
Change-Id: I13abb93ec1703105ff0137e137738483a5b6a143
2015-06-11 21:45:00 +00:00
Ray Milkey
33d44c519f Unit tests for Default Group class
Change-Id: I1e28ade4dc4197a928f42924e0e9690791df30f8
2015-06-11 00:07:01 +00:00
Ray Milkey
69f03171e9 Eliminate code duplication in initialization
Change-Id: I067f2e0bb22bc24c3e3ac6ba24920c7ceebeee1e
2015-06-11 00:06:29 +00:00
Madan Jampani
50589acc11 Notification support for Consistent datastructures (ConsitentMap and DistributedSet)
Change-Id: If74cdc411c79c42c7643420e6369cf656849bb6a
2015-06-09 21:36:42 +00:00
Brian O'Connor
85cf4da722 Fixing 4 javadoc warnings in onos-api
Change-Id: Ib9fe457b463adfb81b5f8a601ce67eb11575f439
2015-06-06 06:57:06 +00:00
Brian O'Connor
afc2d7db88 Starting snapshot 1.3.0-SNAPSHOT
Change-Id: Idc4c114bda5268e534b9fc998215564d23d84c58
2015-06-05 23:31:25 -07:00
Brian O'Connor
a78abfcc39 Tagging 1.2.0
Change-Id: If1b4de17402bf8248c888de72891dc17a5bcd7ef
2015-06-05 22:40:03 -07:00
Madan Jampani
f4d58f3ca5 Support for retries in AtomicCounter. Enabled counter operation retries in ConsistentApplicationIdStore
Change-Id: I705c51b2efd7ecd928c64c7f8a16d1965198253c
2015-06-06 02:14:53 +00:00
Marc De Leenheer
c973308d41 Static optical madness. Fix in device resource store. Javadoc.
Change-Id: Iaba6b62094b3d2023f352d52037c6d1535c31b88
2015-06-06 00:35:47 +00:00
Madan Jampani
a862046a83 Fix constructor in Versioned
Change-Id: Iab745c7f55b948163676de1383b5ce409e0b85a0
2015-06-04 20:16:12 -07:00
Ayaka Koshibe
e4ea270fc1 Revert addition of unnecessary PortNumber instantiation method
Change-Id: I8aa6413b4546dff159a189e4395d777aec698bf9
2015-06-04 23:52:47 +00:00
Madan Jampani
207528fa55 Simpler Leadership equality check + Use getLeader in place of getLeadership when appropriate
Change-Id: I527353feb18a8a7cd8e4a58cc1fb4f6954a27913
2015-06-04 21:17:27 +00:00