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
Sho SHIMIZU
412a2393c4
Modify getter name to match the project naming convention
...
Change-Id: I848e2e15563a6a8e3c0de133eda3fcad0bd6e434
2014-11-10 18:55:01 -08:00
Ray Milkey
8d3ce43a84
Unit Tests for Bandwidth and Lambda allocations
...
These tests are for checking the valid path calculation logic
in the intent compilers and the PathIntent installer.
Change-Id: I2986729ae27202a2f42a71e64a53026383ddfb0b
2014-11-10 17:32:29 -08:00
Sho SHIMIZU
ac8f352de0
Add a constructor in LinkCollectionIntent to have constraints
...
Change-Id: I59143342aa7868a3badf0da580887d5995611a18
2014-11-10 13:29:54 -08:00
Sho SHIMIZU
5d4b1c2f3e
Add constraint for link annotated value
...
Change-Id: Ia51e488de1ae885da02493f09156afbd52c53592
2014-11-10 11:35:46 -08:00
Sho SHIMIZU
1df945b155
Add latency constraint
...
Change-Id: If9936e995e5a40370965b9693ff7dda941d8c5b8
2014-11-07 09:21:12 -08:00
Yuta HIGUCHI
76b54bfca4
ClusterMessagingProtocolServer: start listening at correct timing
...
Change-Id: Ie8ed1894ae16c41242aee861440174f011dd689b
2014-11-07 01:56:55 -08:00
Yuta HIGUCHI
361664ee4e
Add sample accessing database service to Foo
...
Change-Id: I514c57a278dea368448d284eb5bf0d41bb0013e3
2014-11-06 18:06:12 -08:00
Thomas Vachuska
f3346a557a
Merge "Refactor test to use Guava EqualsTester"
2014-11-06 17:47:24 -08:00
Thomas Vachuska
05e0dd7a26
Merge "Add constraint to avoid specified devices"
2014-11-06 17:46:31 -08:00
Sho SHIMIZU
075268b8a7
Add constraint to avoid specified devices
...
Change-Id: I9b29ebc0f38a3840740cc21c43cc448befc95015
2014-11-06 16:52:32 -08:00
Sho SHIMIZU
1332b17894
Tighten the visibility of fields in WaypointConstraintTest
...
Change-Id: If592eaa0df04f6a800e86c1be0c70ba26b343398
2014-11-06 16:03:09 -08:00
Ray Milkey
fff20b5c1a
Refactor test to use Guava EqualsTester
...
Change-Id: I337acb65a71579f7d36f66c38548e2f6cdc31596
2014-11-06 14:47:02 -08:00
Thomas Vachuska
0694af950b
Merge "Basic equality and creation tests for Constraint objects"
2014-11-06 13:58:52 -08:00
Thomas Vachuska
ca60f2b0f1
Initial sketch of codecs and REST API approach.
...
FIxed typos and defects.
ONOS-81
Change-Id: I789444a181abea509c354966545c927e305710d1
2014-11-06 13:29:42 -08:00
Ray Milkey
a7d96ad8fb
Basic equality and creation tests for Constraint objects
...
Change-Id: Ibcd125ce3070cfbf23c8349dbf950a3352fac44d
2014-11-06 12:23:00 -08:00
Sho SHIMIZU
14ccab5871
Add missing getter for waypoints and unit test for equality
...
Change-Id: If6ca25bd4459c32e30467991039bbbe36f2256f2
2014-11-06 12:06:53 -08:00
Yuta HIGUCHI
8261012012
move to API bundle
...
Change-Id: I73787651798bd26f3e6efacd595b02baa5ec7658
2014-11-06 11:30:46 -08:00
Thomas Vachuska
3dc5435e21
Merge "Add constraint for waypoints"
2014-11-06 07:56:38 -08:00
Sho SHIMIZU
0e51fe55c4
Add constraint for waypoints
...
Change-Id: I8156920d4d3d85aee060b9d0fe925f43f9b15ff1
2014-11-05 18:44:00 -08:00
Ray Milkey
460f40251c
ONOS-22 - Add Constraints to CLI Commands
...
Added optional --lambda and --bandwidth operations to command
line for host to host, point to point, and multi point to
single point intents
Fixed intent compilers to add constraints to the PathIntents they
create
Change-Id: I25510d401118feba493f51ecddc72d770d8ae3e3
2014-11-05 16:45:47 -08:00
Pavlin Radoslavov
5b5dc48d9c
Updated the ProxyArpManager to use Ip4Address instead of
...
the more generic IpAddress.
The ProxyArpManager is defined and works only for IPv4, hence
we should use the concrete IPv4 addresses.
Change-Id: Ie43ca17ce03ea86d2efb6b33f55a5dcafb2ab985
2014-11-05 14:48:08 -08:00
Ray Milkey
7808105d8c
Add unit test for Instructions class and improve Criteria toString() test
...
Change-Id: Ie1ffb4ca0c0bcd168625213fecbdb3818a61704e
2014-11-05 12:36:36 -08:00
Ray Milkey
9d0786579f
Change byte declarations to shorts to match new API
...
Change-Id: I7524537b4f3405ad06ed6444133304de0a7814cf
2014-11-05 10:35:54 -08:00
Thomas Vachuska
f2b6721a8f
Merge "Unit tests for LinkKey and Criteria classes."
2014-11-05 09:42:24 -08:00
Ray Milkey
33d9023f5f
Unit tests for LinkKey and Criteria classes.
...
Change-Id: I4957cd01c66f191cb679da57779283f50db3911c
2014-11-05 09:39:13 -08:00
Sho SHIMIZU
d6a18709c6
Add more descriptive Javadoc
...
Change-Id: I531722465a7575793c3efbf0bf44ee4ff9bac928
2014-11-05 09:06:29 -08:00
Sho SHIMIZU
f4dbc72638
Remove unnecessary type parameter and cast
...
Change-Id: Id3d395a614f94029bc565b2f317b284210cd96cd
2014-11-04 18:56:55 -08:00