Thomas Vachuska
7c27ad7027
Added detection of traffic flowing using StatisticService.
...
Change-Id: I2044ec16fd722d953d0e2b2c955e4da2b1dab663
2014-11-14 16:20:18 -08:00
Yuta HIGUCHI
885868fc5b
DistributedFlowRuleStore: synchronized -> Reader/Writer lock
...
fix for ONOS-195
Change-Id: I3e15104225878d1616fa790095695400bcc43697
2014-11-13 23:53:54 -08:00
Ray Milkey
afa00d2f47
Packet class unit tests
...
Added unit tests for DefaultInboundPacket, DefaultOutboundPacket,
and DefaultPacketContext.
Made DefaultInboundPacket and DefaultOutboundPacket proper immutable classes
Added equals() and hashCode() to DefaultOutboundPacket
Change-Id: Ibb1199a5282743ccaf0844c0b7ccfcc4cb13f52e
2014-11-13 19:36:28 -08:00
Toshio Koide
4b6562b5f8
Add annotation key definitions for bandwidth and optical waves.
...
Change-Id: Ia0e3b638cd0f756e427c4c0d6d75b4e2d65002fc
2014-11-13 19:08:22 -08:00
Sho SHIMIZU
cf6090b691
Follow the convention of javadoc used in the project
...
Insert a blank line between the brief desciption and paramter description.
Change-Id: Iad27f20aa862f84a4278624f0df75f98ab9e543f
2014-11-13 19:07:08 -08:00
Sho SHIMIZU
9e97826bb6
Remove type paramter bounds because Object is implicitly inherited
...
Change-Id: I7b933d924192d4b6bd079969cf4702d1c08f684f
2014-11-13 19:06:44 -08:00
Ray Milkey
3f9820fa75
FlowRule Event unit tests
...
Change-Id: I620e3f8d4a8bc7bd4f9af1b16403484edd43d9df
2014-11-13 15:55:38 -08:00
Madan Jampani
f5d263b41f
Bugfixes for DistributedLockManager functionality
...
Added a method called broadcastIncludeSelf to ClusterCommunicationService.
Cosmetic improvements: added toString methods
Change-Id: I1d58720c29e6f8642f950670c3a6d95a7019a491
2014-11-13 12:45:50 -08:00
Yuta HIGUCHI
2210282957
ONOS-197: Ignore Link with missing Device
...
- Catch, log, and skip Link edge creation failure.
- log topology error details
Change-Id: I3cd44a86ed6641c49923f6ed4d2dbaf1f97511d0
2014-11-13 09:59:35 -08:00
Yuta HIGUCHI
adac04a72d
Support LinkResource related serialization
...
- DefaultLinkResourceRequest
- DefaultLinkResourceAllocations
Change-Id: I8ebb32d5cb96c8465a23a9a512d2e8a56b6fce56
2014-11-13 00:42:17 -08:00
Thomas Vachuska
dea45ff7da
Adding enhancements to the GUI server-side.
...
Fixing a few intent-related glitches for the optical use-case.
Fixing lat/lng information in the optical config.
Change-Id: I6a1dd1ee69c2db2f0e351d191627bba468a3c49c
2014-11-12 20:31:04 -08:00
alshabib
aa7e7deae5
adding getFlowRulesByGroupId to the flowservice
...
Change-Id: Idfcc86277b28af99e201f3bdfdf139217d77244c
2014-11-12 19:20:44 -08:00
alshabib
28204e515d
adding group id to flowrules
...
Change-Id: Idb660d98f145b1645e9781fab79fbfb81bdce775
2014-11-12 19:08:40 -08:00
Yuta Higuchi
d26e0a67bd
Merge "Support for expiring Database entries"
2014-11-12 18:07:35 -08:00
Ray Milkey
c4100e9529
Flow id test was in the wrong package
...
Change-Id: Id2d155500fe9f25051f82fe550ca41ac64d671ef
2014-11-12 15:54:04 -08:00
Thomas Vachuska
b1380af356
Merge "Follow javadoc convention"
2014-11-12 15:43:48 -08:00
Madan Jampani
def2c65d9b
Support for expiring Database entries
...
Registering database entry expiration tracker with DatabaseStateMachine
Support for publishing database state machine snapshot installation events.
Expiry tracker will listen to these events to bootstrap its local state.
Change-Id: I8bf22c8d7bab38624341350ccc083c5ca2fcb117
2014-11-12 15:37:10 -08:00
Ray Milkey
506455f368
Unit tests for FlowId class.
...
Change-Id: Ic281d5a17da9d8623473a0dfe2b29ba3cd07724f
2014-11-12 15:19:42 -08:00
Ray Milkey
02093df742
Move unit tests to be in the same package as the classes they are testing
...
Change-Id: I785d70753dd9e02083ac32ed78ecba5515aa9f71
2014-11-12 14:27:43 -08:00
Madan Jampani
9b37d578ef
Using net.jodah.expiringmap.ExpiringMap for tracking ttl expiration of database entries.
...
Minor javadoc updates.
2014-11-12 11:53:24 -08:00
Sho SHIMIZU
bdaea83127
Follow javadoc convention
...
Change-Id: I8c6a99289225033a48b815053a7e5213fd1aeb9c
2014-11-12 11:29:38 -08:00
Thomas Vachuska
2292567fc6
Fixing a defect where logical port numbers are listed as part of CLI arg completion.
...
Fixing a defect where devices imported with device id in uppercase are considered as different from those discovered in lowercase.
Fixed javadocs error from a rebase.
Change-Id: I76741022fb95d10a9a16fc9ce6d6443b166822ab
2014-11-12 02:35:01 -08:00
Madan Jampani
c65d8debb7
Checkstyle corrections.
2014-11-12 02:18:28 -08:00
Madan Jampani
c22123dec7
Removed dead code
2014-11-12 02:12:19 -08:00
Madan Jampani
7aad23394e
Replace Collections.unmodifiableList with guava ImmutableList
2014-11-12 01:57:07 -08:00
Madan Jampani
23af4fc065
Fixed checkstyle issues
2014-11-12 00:54:18 -08:00
Madan Jampani
12390c1203
Reworked DatabaseService API.
...
Initial implementation of LockManager.
2014-11-12 00:35:56 -08:00
Madan Jampani
c980085ce3
Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
2014-11-12 00:33:29 -08:00
Thomas Vachuska
d8aea86250
Merge "Refactor: improve null safety by using empty list instead of null"
2014-11-11 18:29:24 -08:00
Thomas Vachuska
503aafc1bc
Merge "Make constraint objects serializable by Kryo"
2014-11-11 18:25:12 -08:00
Sho SHIMIZU
c3df36be97
Refactor: improve null safety by using empty list instead of null
...
Change-Id: I443942ef82819e0c27df2c2acd45eb9106038992
2014-11-11 18:21:21 -08:00
Thomas Vachuska
2498c0b549
Merge "Fixing flow rule batches"
2014-11-11 17:16:51 -08:00
Thomas Vachuska
9b2da21522
Fixing flow rule batches
...
Problem should now be fixed. Hashing on enums last is a bad
idea because the enum value could be 0.
Change-Id: Ib29e90b393b5285be2807729b52e69b121340f09
2014-11-11 17:08:14 -08:00
Sho SHIMIZU
cd4bac85e4
Make constraint objects serializable by Kryo
...
Change-Id: I15e5a14b16fc1ab0416570fec176f18b713727a0
2014-11-11 17:07:25 -08:00
Thomas Vachuska
591cf2776b
Merge "Refactor: move method to get annotated double value"
2014-11-11 16:51:50 -08:00
Sho SHIMIZU
97a64cd7a8
Refactor: move method to get annotated double value
...
- Move to AnnotationKeys to remove code duplication
Change-Id: Icf8b4322fc88e43ab531402d0e403a38d186f48e
2014-11-11 16:31:21 -08:00
Ray Milkey
930fc663c5
Add unit tests fir DefaultFlowEntry class
...
Also fixed a bug where the error DefaultFlowEntry was not setting the
timestamp.
Change-Id: Ic23e91926605ea7c166b244d8352b58347844a5f
2014-11-11 16:13:28 -08:00
Thomas Vachuska
23aa49fb9e
Merge "Use DeviceId instead of ElementId in WaypointConstraint for consistency"
2014-11-11 14:58:12 -08:00
Sho SHIMIZU
fe129db595
Aggregate definition of annotation key for latency into a single file
...
Change-Id: Id0b9089ec60e6f144ff42c40d0e1b19b280c4271
2014-11-11 14:24:51 -08:00
Sho SHIMIZU
fa2cd3ba65
Use DeviceId instead of ElementId in WaypointConstraint for consistency
...
- More consistent with ObstacleConstraint
Change-Id: I0988de74a4917ed91580f078c1dae653c030e5bc
2014-11-11 14:10:32 -08:00
Madan Jampani
32fe7805d7
Fixed javadoc comments for Lock.
2014-11-11 11:16:47 -08:00
Ray Milkey
1e20711a9c
Unit tests for the DefaultFlowRule class
...
- added a method to the immutable class checker for
immutable classes used as base classes
- fixed a typo in spelling of a constructor parameter
in DefaultFlowRule
Change-Id: I8991c1eadcc990040bb97a02c1027b4708a4f58d
2014-11-11 11:11:05 -08:00
Madan Jampani
1e791e1228
Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next
2014-11-11 10:49:43 -08:00
Madan Jampani
f73fb040a3
Added LockService interface.
2014-11-11 10:49:05 -08:00
Yuta HIGUCHI
60731cb2b1
DatabaseService subsystem: add admin commands, etc.
...
Change-Id: I24124579f5e0b03ccbf35a03230ae5a7aff95f22
2014-11-11 09:20:20 -08:00
Thomas Vachuska
6acd3bbc83
Miscellaneous clean-up of provider IDs.
...
Change-Id: If7b3adf96425f8a655ea9af07b6da27a1a66a6f2
2014-11-10 20:35:16 -08:00
Thomas Vachuska
c76f52e032
Merge "Add a constructor in LinkCollectionIntent to have constraints"
2014-11-10 20:05:48 -08:00
Thomas Vachuska
0538784e62
Merge "Modify getter name to match the project naming convention"
2014-11-10 20:04:26 -08:00
Thomas Vachuska
361bc539ea
Merge "Fix bug in validate() in BooleanConstraint"
2014-11-10 20:03:27 -08:00
Sho SHIMIZU
c672d7d11f
Fix bug in validate() in BooleanConstraint
...
- Flip the branch condition in validate()
Change-Id: I7bafb710440513d3ccce8178c1bd6bb30ed06d4f
2014-11-10 19:20:47 -08:00