1118 Commits

Author SHA1 Message Date
Thomas Vachuska
7b438afd38 Initial sketch of the virtual network constructs.
Change-Id: Ibcdafb9e56edb29fb37b80d7b0da321ad989c564
2015-07-15 19:09:56 -07:00
Hyunsun Moon
a08c5d0a61 TUNNEL_ID field support in flow matching and actions
Change-Id: I886123a7c8d57dc4a3e12727ec8a9be4920da79e
2015-07-14 17:56:35 -07:00
samuel
738dfafd6a [ONOS-2159]Add to query devices by type api in DeviceService and
DeviceStore interfaces

Change-Id: Ifa7e94e08eb150fb4d71248a50a390832d1549df
2015-07-11 11:08:57 +08:00
Thomas Vachuska
d5d113b18d Adding ability for driver handler behaviours to obtain services via the parent handler context.
Change-Id: Icc71a0c5f1fd50a4accd35777aeca7d0d5811bbf
2015-07-10 19:18:01 +00:00
Thomas Vachuska
96d55b16ad Implementing net config subsystem and revising its interfaces.
Added a few basic configs for device, host and links.

Added initial REST API.

Added CLI.

Tests remain to be added.

Change-Id: Ic7bba4b5ad7d553c51d69f6459b3bff146970323
2015-07-09 14:39:10 -07:00
alshabib
3adfd5729b changing port numbers to port descriptions in port config
Change-Id: Icc719d4b7007f815aefe5171909c96eceb78d6e9
2015-07-09 12:39:32 -07:00
Ray Milkey
ee49df1650 Unit tests for DefaultLoad class
Change-Id: I9f661bbb20199c190076bcf71537c6c881cebc3a
2015-07-08 00:00:55 +00:00
Ray Milkey
96495ca39d Add unit tests for cluster messaging classes
Change-Id: I77dd4155956dca77e86e9990c7d4f5de394c0e87
2015-07-07 20:48:39 +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
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