348 Commits

Author SHA1 Message Date
Thomas Vachuska
24c849c488 Added copyrights to the utils code 2014-10-27 09:53:05 -07:00
Thomas Vachuska
4d69087215 Doh! Forgot to actually check for negative cycles in relaxEdge. 2014-10-27 08:57:08 -07:00
Pavlin Radoslavov
9de2772d0d Work toward common IP address classes.
Ported the following IP address classes from the older codebase:
Ip4Address, Ip6Address, Ip4Prefix, Ip6Prefix (and the corresponding
unit tests).
NOTE: Those classes are not ready to be used yet.

Change-Id: I234875abbc9df8daa2f8ae28706af591dd2c5f2d
2014-10-23 20:35:48 -07:00
Pavlin Radoslavov
d26f57a8e6 Refactoring in the unit test utility framework:
* Moved unit test utilities to the onlab-junit package under utils/junit
   - ImmutableClassChecker
   - TestUtils and TestUtilsTest

 * Added/ported unit test utilities from the older code
   - UtilityClassChecker and UtilityClassCheckerTest
   - ImmutableClassCheckerTest

 * Updated/fixed some of the pom.xml files in the context of the
   onlab-junit package:
   - Added <scope>test</scope>
   - Replaced hard-coded "1.0.0-SNAPSHOT" with "${project.version}"

Change-Id: Ie5f51ba401ca1748340f38848ab6bfc251964adc
2014-10-23 17:58:36 -07:00
Pavlin Radoslavov
41d5adb3d4 Added a new class EventMetric that can be used for measuring events:
rate and last event timestamp (ms from epoch)

Change-Id: Ifce6c2ca911f3b288a0efd9061befc936d06da51
2014-10-23 13:44:21 -07:00
Yuta HIGUCHI
e5ca93bf1f fix some of findbugs issues
Change-Id: I20aa54af16f3a1e3323d735fe53cc26c03d5e52e
2014-10-23 12:14:37 -07:00
Thomas Vachuska
9252bc33a0 Added a REST command to upload topology configuration. 2014-10-23 02:33:25 -07:00
Pavlin Radoslavov
3559249b9b Refactoring and cleanup in the Metrics module:
* Removed logging related code inside class MetricsManager
 * Removed @Component related code, because it is not suppose to be used
   as an component.
 * Added a new class-wrapper so the Metrics can be used as a loadable service:
   MetricsManagerComponent. The name and the location of this class
   will be refactored in the future.
 * Added new method MetricsManager.removeMetric()
 * Line formatting
 * Changed "interface MetricsService" to public
2014-10-21 21:57:25 -07:00
Pavlin Radoslavov
df042bd11d Minor cleanup in the Metrics module:
* Add missing Javadoc
 * Line formatting

No functional changes.
2014-10-21 21:47:38 -07:00
Yuta HIGUCHI
cac919cc13 flushing just to be sure
Change-Id: Iebdc4b50a94e3247c15152c6c3148620739cc864
2014-10-20 22:44:55 -07:00
Yuta HIGUCHI
633cf88992 KryoNamespace as KryoFactory
Change-Id: I4b78433f08d01619b89f37a961213660a8e3c2db
2014-10-20 09:11:06 -07:00
Yuta HIGUCHI
8d143d2a01 Rename KryoPool -> KryoNamespace
Change-Id: Ife1c311b40eaab133bb3b8dd3314b98c60b4411d
2014-10-20 09:11:06 -07:00
weibit
38c42ede2e Optical topology provider for UC1
Change-Id: I1b25c9412b5180f9dce167f8700eb84baba70486
2014-10-17 11:09:34 -07:00
alshabib
75e774203d Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
Conflicts:
	core/store/hz/net/src/main/java/org/onlab/onos/store/device/impl/DistributedDeviceStore.java
	core/store/hz/net/src/test/java/org/onlab/onos/store/device/impl/DistributedDeviceStoreTest.java
	features/features.xml
	tools/test/cells/office

Change-Id: I08e6d7c6a0bdaae072dd50ff7ac36d94f16d77e1
2014-10-16 18:03:40 -07:00
alshabib
7911a05aae lldp discovery independent of OF
Change-Id: I720f727f6628e30e5d732e6d7bf742d1b7050812
2014-10-16 17:49:37 -07:00
Jonathan Hart
20d8e5140b Ported BGP tests from old codebase 2014-10-16 11:44:57 -07:00
Jonathan Hart
bcae7bdf0e Removed faulty toInt method and renamed toRealInt to toInt. 2014-10-16 10:26:54 -07:00
Jonathan Hart
ab63aacae2 Port the BGP implementation of SDN-IP. 2014-10-16 09:51:38 -07:00
Jonathan Hart
335ef46cc1 Port the Router functionality from SDN-IP.
As part of this we added an onlab-thirdparty artifact which allows us to
bring in dependencies that aren't bundles.
2014-10-16 08:26:31 -07:00
Yuta HIGUCHI
7f3df231e1 avoid unnecessary boxing
Change-Id: I1fd423ea521149e24ce159af48bc6d1da6f37646
2014-10-15 23:38:24 -07:00
Jonathan Hart
dc711bd59d Ported PeerConnectivity onto ONOS next, and implemented a service that can
construct Interface objects based on PortAddresses from HostService.
2014-10-15 11:27:04 -07:00
Jonathan Hart
dbdbdbb451 Added restrictions for proxy ARP 2014-10-15 11:27:04 -07:00
Yuta HIGUCHI
e66d10ef5b remove unnecessary Exception declaration
Change-Id: If1c86ab88987fb4ef0db8beaa412c4dc030f5520
2014-10-14 19:47:04 -07:00
tom
545708e14e Optimizing performance of HostId. 2014-10-09 17:10:02 -07:00
pankaj
6005d23ecf change units to microseconds 2014-10-08 15:32:38 -07:00
pankaj
b847eaef8a reduce logging 2014-10-08 14:39:25 -07:00
pankaj
7378e556d9 Report for nanosecond latencies 2014-10-08 10:29:26 -07:00
pankaj
9c060c09ef Report metrics to log 2014-10-08 10:21:29 -07:00
pankaj
f740f326e3 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-07 18:06:11 -07:00
tom
53efab57e0 Added Version and CoreService/Manager as an initial outline of a bootstrap coordinator. 2014-10-07 17:43:48 -07:00
pankaj
366ce8b168 Create handles and default to console reported for metrics 2014-10-07 17:18:37 -07:00
Yuta HIGUCHI
a546afc37a Try fixing Timer bug
Change-Id: I044c0f5c8eb9874b4508da216a827c86fdd8b436
2014-10-06 21:44:48 -07:00
pankaj
9e34ff272b Move the starting of reporter to activate 2014-10-06 13:21:03 -07:00
Yuta HIGUCHI
f9ce497c12 Fixed potentially thread unsafe initialization.
Change-Id: I047bcd9358a544723603a069faa234c00ba6b757
2014-10-06 10:50:44 -07:00
Yuta HIGUCHI
39ede6a103 SimpleLinkStore with annotation and multi-provider support
Change-Id: I98a35c4497363c6115fd0c61d140dfe7790e6cee
2014-10-03 16:46:07 -07:00
Jonathan Hart
8f6f1eacfc More HostMonitor cleanup and javadocs 2014-10-03 16:05:49 -07:00
pankaj
0d237839a9 Features constructor needs to be public 2014-10-02 18:08:16 -07:00
Jonathan Hart
70da512717 Wired up HostMonitor to its dependencies and got it working. 2014-10-02 16:42:48 -07:00
pankaj
f6577b68dc Create a component for metrics 2014-10-02 16:38:38 -07:00
pankaj
5de8411733 create a default CSV reporter 2014-10-02 15:33:28 -07:00
pankaj
e138e27e2a cleanup the constructors 2014-10-02 15:17:11 -07:00
pankaj
a17630a4f8 javadoc 2014-10-01 18:19:37 -07:00
pankaj
3855bcba90 cleanup interface and privates 2014-10-01 18:17:31 -07:00
pankaj
390abbcb24 Performance Metrics service and manager added 2014-10-01 17:01:05 -07:00
alshabib
1f641c0b4c Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-10-01 16:39:42 -07:00
alshabib
6eb438a78b fixes for office deployment
Change-Id: I322dc856cb2f724e1860f3e30b3bcb5445c8fb65
2014-10-01 16:39:37 -07:00
Yuta HIGUCHI
533ec32b9a AntiEntropy sketch + required Serializer work
Change-Id: Ibac5f4eede6b420202683114c3262e01b7264eff
2014-09-30 13:30:18 -07:00
Yuta HIGUCHI
f4b107e216 Add ByteBuffer interface
Change-Id: I6a2d6c7110a34b77a2d5567405fbb273802b89d1
2014-09-29 17:27:26 -07:00
tom
f110fffb45 Added IO loop test to the foo app. 2014-09-26 00:38:18 -07:00
tom
a708318294 Working on IO loop stuff. 2014-09-25 21:38:03 -07:00