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
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
Brian O'Connor
8113466429
Fixing FlowRule priority in intent compilers
...
Change-Id: I13998e88d2a116017e87c019f4829101db6c6b6b
2015-06-25 22:24:01 +00: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
Ray Milkey
eb5c7177bc
ONOS-2144 - Complete implementation of REST API for flows
...
- URL for creation of a single flow is now /flows/{deviceId}
- On successful creation of a flow, Location header contains
a reference to the new object's URI
- POST operation returns status code of CREATED
- implement DELETE operation for /flows/{deviceId}/{flowId}
- removed deprecations and warnings from REST API unit
test for flows.
Change-Id: Idb43a651a659e60c07a6f36dfd69004c814b146b
2015-06-25 09:11:43 -07:00
Brian O'Connor
390c99701b
Refactoring BlockAllocatorBasedIdGenerator.java
...
Allowing first call to getNewId() to throw an NPE, and handling initial setup in catch block
Change-Id: I409aa9c8a309dbbf4fc3738c3870ec4d91831303
2015-06-25 16:07:06 +00: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
Thomas Vachuska
c97aa6110e
ONOS-1793 Moved trivial stores to onos-core-common/src/test; onos-core-trivial is no longer.
...
Change-Id: Ie4824db36e3a7eb6db3b953ee1f2786d3e22194f
2015-06-23 23:39:49 +00: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
Thomas Vachuska
e18a330163
ONOS-2091 Installing app when already installed will now raise an error
...
Change-Id: I4dacd63bf4a99244b23b932d35dd9cbd088548c1
2015-06-23 22:22:11 +00:00
Samanwita Pal
e00733af97
Added unit tests for DatabaseUpdate.java
...
Change-Id: I5d7523a5a7c22ccf7add5b4df074c965362e9cbe
2015-06-23 21:45:57 +00:00
Jonathan Hart
066244c31c
Simplify MP2S compiler, fix ingress/egress on same switch bug in SP2M compiler
...
Change-Id: Ib47bba01aac0f358f2caa5525c18e0e90a0b13ff
2015-06-23 18:18:53 +00:00
Thomas Vachuska
92af89f591
Minor cosmetic cleanup in ComponentConfigManager.java
...
Change-Id: I71c96e2712dd3206e5d7ed52025e649ff1de8d0a
2015-06-22 15:16:23 -07:00
Aaron Kruglikov
6685521c5f
Added accumulation of events using the accumulator construct.
...
Change-Id: I020fc7a46427636f4ec934f1895402625af04788
2015-06-22 13:49:06 -07: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
Sho SHIMIZU
06a6c9f94c
Use lambda instead of anonymous inner class
...
Change-Id: I5b2b93e82ec50296af66970ac518d7e0e8a14177
2015-06-12 14:56:22 -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
Sho SHIMIZU
47eb3bd302
Fix warning about unchecked type
...
Change-Id: I1654f625b4e456dddc594e80455bf0f9969cfab4
2015-06-12 21:16:26 +00:00
Madan Jampani
44839b8bc8
Lower log level to debug for flow store backup location change message
...
Change-Id: Ib1d9322ead8febcb76950d5018fb526dc51fe5a8
2015-06-12 13:57:52 -07:00
Brian O'Connor
24cf656cef
Allowing component to reattached to previously created map in DatabaseManager
...
Change-Id: Ie576171392481df726e62365f70d0e934e0ad954
2015-06-12 05:30:43 +00:00
Thomas Vachuska
ad35c34af3
Fixed application descriptor parsing.
...
Change-Id: If4fa4ecc66d0ed2a42e8b240d0e3142340d544eb
2015-06-12 01:08:57 +00:00
Ray Milkey
d43fe45f42
REST API to create flows
...
Change-Id: I5d001782249c0eab249d7aa857ae465da95b5955
2015-06-11 21:45:28 +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
Sho SHIMIZU
7b7eabc6f6
Return empty list instead of null to improve null-safety
...
Change-Id: I27066a21e6acf2a0d7c7037015d19a870c6a4ae9
2015-06-11 17:01:04 +00:00
Sho SHIMIZU
a0fda2155a
Use diamond operator
...
Change-Id: I1417ca23080e4751cb391b3c9b52113795b58047
2015-06-11 03:06:48 +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
052ad652d3
Complete future after Leadership withdraw is done
...
Change-Id: I905a78c3f80e10793506ac92783d502798ae0390
2015-06-10 13:20:32 -07:00
Aaron Kruglikov
6490a3bc3b
update to ONOS-2078 branch
...
Change-Id: I0632a2a205c04674d150fe7c20ae50844c56fde9
2015-06-10 19:19:21 +00:00
Madan Jampani
d09441bb02
Updated DistributedLeadershipManager to use ConsistentMap notifications
...
Change-Id: Ice4e9b295f4216fee13144ec631904f34bdf7b2b
2015-06-10 02:40:31 +00:00
Madan Jampani
50589acc11
Notification support for Consistent datastructures (ConsitentMap and DistributedSet)
...
Change-Id: If74cdc411c79c42c7643420e6369cf656849bb6a
2015-06-09 21:36:42 +00:00