666 Commits

Author SHA1 Message Date
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
Thomas Vachuska
be21f02a51 Merge remote-tracking branch 'origin/master' 2014-11-04 17:40:00 -08:00
Thomas Vachuska
7d0032bf8b Added constructors for serialization of the new constraint types and registered the types with the serializer pool. 2014-11-04 17:39:57 -08:00
Yuta HIGUCHI
5e8ceb455e checkstyle fixes
Change-Id: Ida02536e61f61b8883810866d28bdaad206f645d
2014-11-04 17:22:26 -08:00
Thomas Vachuska
edc944c3fc adding constaints to intent API 2014-11-04 15:42:52 -08:00
Yuta HIGUCHI
3e5d11ab1e Add GossipLinkStoreTest
Change-Id: If3d9777583a38d911b19bb1bc50212ccb621918a
2014-11-04 14:16:44 -08:00
Thomas Vachuska
c5ea9504e9 Modified envDefaults to use Karaf 3.0.2 2014-11-04 10:25:46 -08:00
Yuta HIGUCHI
5c94727a3c javadoc fixes
Change-Id: I3b4fc2d99f42b2413a535fb411b9c19bdd186ad8
2014-11-03 21:39:21 -08:00
Jonathan Hart
a887ba8ae0 Refactored the HostStore to allow multiple MAC addresses bound to a single port
Change-Id: Icd3b2e483b15486251ac1cca107478a012d1a3e7
2014-11-03 17:14:10 -08:00
Yuta HIGUCHI
909d226386 Workaround for PathIntent serialization issue
Change-Id: Ic0a36391ff22247d20d3e2b185c4d867a4e81780
2014-11-03 15:46:22 -08:00
Praseed Balakrishnan
5c324331e3 Merge branch 'master' of ssh://gerrit.onlab.us:29418/onos-next 2014-11-03 14:56:44 -08:00
Praseed Balakrishnan
2dd5abd17f Optical Treatment to include SigType 2014-11-03 14:56:28 -08:00
Yuta HIGUCHI
2fcb40ce06 FlowRule subsystem bugfixes
- RULE_ADDED will be posted when the Flow was confirmed by stats,
  even if they were installed as a batch
- Properly handle batch in Simple store

Change-Id: I0a0e15b29ff9c0d56d5a646e0751511d73c8f552
2014-11-03 14:49:27 -08:00
Thomas Vachuska
9d8f72fb55 Removed unneeded import that was breaking the build. 2014-11-03 10:14:05 -08:00
Yuta HIGUCHI
4ce6529f90 Instructions: bug fix
Change-Id: Iaee3baaa9545a3ce61d7d6cacec125cb1249b346
2014-11-02 20:21:33 -08:00
Brian O'Connor
fe0f4b1c3a Adding resource-{available,allocated} CLI commands and lots of toStrings
Change-Id: Ib23eda2d9feb523e23dc33fb437994267b4cc555
2014-11-02 00:34:10 -07:00
Ayaka Koshibe
98bd12f69c modificiations to emit BACKUP_CHANGED Mastership events
Change-Id: Id61dcc9dc42c8c246313afbec8d19142e6c855a5

Conflicts:
	core/net/src/main/java/org/onlab/onos/net/device/impl/DeviceManager.java
2014-11-01 20:13:37 -07:00
Yuta HIGUCHI
548153202c Changed argument from Device -> DeviceId
- roleChanged(), isReachable()
   Eventually consistent nature of Device store was
  interfering with mastership control.

Change-Id: I9c0dd846a4e30863f922f6706c6cb62fd7c83f29
2014-11-01 09:45:23 -07:00
Yuta HIGUCHI
13c0b87df5 Add API in DeviceClock*Service to check if Timestamp can be issued.
- check local DeviceClockProviderService before trying to
  store Port update information.

Change-Id: I22c94cb712d7001a227497b723780b6db3fbdf04
2014-10-31 23:21:38 -07:00
Yuta HIGUCHI
8cc437828a fix javadoc
Change-Id: I9b2a36acaaf8d2cd01687c526d53e839bc9a9aa7
2014-10-31 23:21:38 -07:00
Ayaka Koshibe
3ef2b0db6c vertical feedback path for Role replies
Change-Id: I31bdb85f90901ec79147adeea0df8ceae00ed1dc
2014-10-31 14:02:54 -07:00
Thomas Vachuska
442d26a9cf Added javadocs. 2014-10-31 08:45:14 -07:00
Brian O'Connor
41718fced1 Applied some fixes to Intents
- Use classname instead of class in IntentId
- Added hashcode and equals to LambdaResourceAllocation
- Untrack resources in IntentManger during uninstall
- Refactored common code in OpticalPathIntentInstaller
- Copied SimpleLinkResourceStore to DistributedLinkResourceStore
- Added a few unserializable files to KryoNamespaces

Change-Id: Ic35d102244972d5cf0c64482fd99e8c9bb1293a6
2014-10-30 16:59:19 -07:00
Thomas Vachuska
4b42077418 Cleaned up a slew of Javadoc errors in preparation for switch over to Java 8. 2014-10-30 16:46:17 -07:00