382 Commits

Author SHA1 Message Date
Jonathan Hart
49f0920b03 Disable all AbstractAccumulator tests.
These are timing sensitive and fail randomly all the time.

Change-Id: Ie22fa93468ee7a7642a0236275c5d6838e3cc363
2015-07-16 16:14:38 +00:00
Thomas Vachuska
ae0fbe88b8 STC fixes to correctly support namespaces.
Change-Id: I196b3bc3878181bd7b3711bf8b7304f772e476db
2015-07-16 01:18:38 +00:00
alshabib
ea74cc9538 ignore intermittent test failure: AbstractAccumulatorTest::readyMaxTrigger
Change-Id: I9247f791fc36f4491697b7a278e6bf778c2eecf9
2015-07-07 10:38:21 -07:00
Kenji HIKICHI
3f1b128b17 Compare logDir by using File object to avoid test failure on Windows which uses '\' as file separator.
Change-Id: Icef450df62467a9d43149d73833dc1fd3c75fb45
2015-07-04 00:38:32 +00:00
HIGUCHI Yuta
bfc8b7a973 Utility method to treat Iterable as a Stream.
Change-Id: I70564ee9fa675c4293aa733b1a28e63c12dea0b7
2015-07-01 23:52:17 -07:00
Jonathan Hart
4a60bb31cd Cleaned up AAA app now it's in the ONOS core.
Moved packets into the packet library, minor app cleanups and javadoc.

Change-Id: I7ee04d09f82051fdb2a9bcfe577cb163661d5055
2015-07-01 03:31: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
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
alshabib
7b808c5e15 small fixes to ethtype pattern
Change-Id: Ic58c426821952f66aa21bc828d36fd4f83d8da0d
2015-06-29 15:24:35 -07: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
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
Thomas Vachuska
177ece60f3 Fixed STC defect where a dependency would bring out an otherwise inactive step.
Change-Id: I7963a6896d5a1d6bc4e369627b11b7c8690c1343
2015-06-26 07:28:23 +00:00
Aaron Kruglikov
afdf4de12e Replaced IPv6 toString with more efficient local helper.
Change-Id: Ib53d7bdf64354efcace7facad740981fce19447c
2015-06-26 05:01:32 +00:00
Brian O'Connor
c6dca1d3b0 Using tempdir for stc CompilerTest
This fixes the problem when running multiple, parallel builds on
a machine with a shared /tmp (i.e. Jenkins)

Change-Id: Ib9ba840811ba95fa2cae50218732a2678900cda4
2015-06-25 22:30:45 +00:00
Thomas Vachuska
750ab045f7 Starting on STC monitor.
Change-Id: I279ef5f26a0e3a5a44c6f597be6c2980f8c955ed
2015-06-19 15:41:32 -07:00
Ray Milkey
d43fe45f42 REST API to create flows
Change-Id: I5d001782249c0eab249d7aa857ae465da95b5955
2015-06-11 21:45:28 +00:00
Thomas Vachuska
a0b50dd146 Fixed stc to properly account for skipped steps when completing enclosing group.
Change-Id: I9b297f8a48a9f4423e34fbbb954bf039e98e29b8
2015-06-09 09:55:02 -07: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
Brian O'Connor
4db1c3345c Dropping version from jdvue and fixing parent pom
Also, switching to onlab-junit for jdvue

Change-Id: I71b02438bff02bfe450380c583b007a84235727a
2015-06-05 22:14:13 -07:00
Thomas Vachuska
8643937b4b Adding support for SKIPPED state to STC.
Change-Id: I5a90bedb6272f0bb1d76f0bc5e19e67e8d05eec8
2015-06-05 17:27:15 +00:00
Thomas Vachuska
adba152125 Increased number of retries and added variable delay to better withstand StorageException timeout.
Change-Id: Ic33d4e66e2787c717f7e3c90879d725a6e3e74d7
2015-06-04 22:14:11 +00:00
Thomas Vachuska
a48e3d1e68 Enhancing STC
Change-Id: Ibb8a001f5c6550860c4ade97378af7e97876a0ab
2015-06-02 17:57:53 +00:00
Thomas Vachuska
50ec1af6c2 Enhancing STC
Change-Id: If9429cc6a30333bd27b579825fe6b1fac221cf60
2015-06-02 08:50:49 -07:00
Brian O'Connor
3350390b1d Starting snapshot 1.2.0-SNAPSHOT
Change-Id: I96c63bb70f2cd27453f2da893d77f9e72966f780
2015-06-01 17:08:05 -07:00
Brian O'Connor
75aed4000e Tagging 1.2.0-rc2
Change-Id: I93f2bf38d29ddf788f7a81552695da80fc275c42
2015-06-01 16:58:14 -07:00
Thomas Vachuska
18571b02fa Enhancing STC and scenarios.
Change-Id: I1227e68f8a44707f671b09dcd2967b580e14ca79
2015-05-31 22:42:06 -07:00
Thomas Vachuska
4bfccd54b4 Enhancing STC and scenarios.
Change-Id: I57a4d25b7fb726a1242073055474ff5c7c3c1087
2015-05-30 00:35:25 -07:00
Madan Jampani
f2af771131 Dropping log level to debug in few places
Change-Id: I4b42d4f3edfc6e9cdd0822cfcb74d1070b0b7a70
2015-05-30 02:15:50 +00:00
Thomas Vachuska
8189a7469d Fixed a failed unit test and added more to the setup scenario.
Change-Id: I28ee6627834f8964d5d06756afb44e6213c8afaa
2015-05-29 10:02:52 -07:00
Thomas Vachuska
f9c8436f4d STC work in progress
Change-Id: Ie5e444e3b560b605b066899289cdee7a5fe8338c
2015-05-29 06:01:30 +00:00
Madan Jampani
8a0569ebfd Drop log level to debug for couple of NettyMessaging log statements
Change-Id: I89867eecca4bc59caf315dd3d99864c7a9a29738
2015-05-26 20:00:19 -07:00
Madan Jampani
cca4bdb280 Netty: Close idle tcp connections between controller instances
Change-Id: Ieb6fddce85f015c64e5f0276f0d361a3a93b8fb4
2015-05-22 13:14:01 -07:00
Brian O'Connor
30a412deb3 Starting snapshot 1.2.0-SNAPSHOT
Also, fixed onos-upload-bits script to upload rc's to nightly/

Change-Id: I9bb8fe685492e23c740796879f0b66c307e26e56
2015-05-21 18:08:06 -07:00
Brian O'Connor
608e03a1bb Tagging 1.2.0-rc1
Change-Id: I2791aacb0ab4eb0d3db92fef5e58e9c62747bf8c
2015-05-21 17:56:07 -07:00
Madan Jampani
175e8fde54 Removed deprecated ClusterCommunicationService APIs
MessagingService::sendAsync now returns a CompletableFuture<Void> in place of boolean

Change-Id: I98134c4c0ea65b9c7e9ba705eebd1669067324ef
2015-05-21 22:36:34 +00:00
Madan Jampani
27b69c6c25 ONOS-1983: Migrating all copycat Raft protocol specific communication to use ONOS cluster communication primitives
Change-Id: I3f07266e50106b1adc13f722c647686c2b42ef7f
2015-05-19 23:02:39 -07:00
Thomas Vachuska
5d410a2b60 Fixed javadocs.
Change-Id: I6c0e5f59138ee024a858994a290da75a0f54a71f
2015-05-19 17:52:37 -07:00
Madan Jampani
afeebbd578 ONOS-1982: MessagingService is now a OSGi service. Has implementations based on Netty and IOLoop
Change-Id: Ia4c99de18e91be1b49bd1fddd86fe89fb83e859c
2015-05-19 23:34:44 +00:00
Marc De Leenheer
1afa2a0350 Rewrote optical connectivity intent compiler
Change-Id: I5acece3c14bed8a23f7bbe0c5a9bc0932a2a0881
2015-05-19 18:18:28 +00:00
Thomas Vachuska
fc52fecc3b Fixed a slew of shutdown exceptions that arose due to improper or out-of-order resource clean-up, e.g. listeners, timers, executors.
Change-Id: I37c351c4202b32e92c076d9d566b96d7ff8d313a
2015-05-19 17:56:49 +00:00
Sho SHIMIZU
3310a34163 Remove "public" to follow our convention
Change-Id: Ic5fa8744cbcb4c704780c8467ae0f31fce3327ce
2015-05-13 23:44:57 +00:00
Sho SHIMIZU
5c73fd9292 Implement add() and subtract() methos in Bandwidth
Change-Id: I93a382cff1a441fb9c9929fc4fab82c956ccdd0e
2015-05-11 20:29:48 +00:00
Sho SHIMIZU
2908d9ebc6 Implement methods to compare objects in classes representing unit
Methods are added to the following class.
- Bandwidth
- Frequency

To reduce redundant code, RichComparable interface is defined.

Change-Id: Iec96bee9754c6dfca62255b8b4068925d3be13a1
2015-05-11 16:12:12 +00:00
Sho SHIMIZU
87114516f4 Replace manual hash code calculation for long with Long.hashCode(long)
Change-Id: Ie588a2904e0fcc790282af22912e8ff6d7a31648
2015-05-08 23:08:58 +00:00
Sho SHIMIZU
816977987d Define Bandwidth class to represent bandwidth with explicit its unit
Change-Id: I863fea61fa5e70edfa53d11e720e400d100131c8
2015-05-08 23:08:36 +00:00
HIGUCHI Yuta
41ed854094 Clean up shaded thirdparty bundle
- Exclude artifacts, which is already an OSGi bundles
- Create source jar for ease of debugging.
- Remove expiringmap, which we no longer use
- Derive artifact version from dependencyManagement

Change-Id: I053f08a1880109a7c74fa451afccbbe2d2adbe3c
2015-05-06 17:45:23 +00:00
Thomas Vachuska
2c2b76862c Reverted to catching Throwable for the netty native epoll stuff.
Change-Id: I41cf621505cdcc3139fadb39a4ccacfe0123ef5c
2015-05-05 11:59:21 -07:00
Sho SHIMIZU
24a00d9b0b Catch Exceptions, not Throwable to remove blockers found in SonarQube
Change-Id: I49ab731ce0c9950b55063e2afa4ce9226a7b6b4a
2015-05-05 18:51:25 +00:00
Thomas Vachuska
266b4433a5 Fixed javadocs and descriptions.
Change-Id: I92147b858d8012c957cc03fab2d306740161e2f3
2015-04-30 18:13:25 -07:00