Yuta HIGUCHI
f0f2dfc1df
tablet-leader command to check current Raft leader
...
Change-Id: Id360db21988a50c3e2895c5194d59b0ba4cb49e4
2014-11-26 20:54:41 -08:00
Yuta HIGUCHI
f1f2ac051d
Construct GraphDescription with online/active Device/Link only
...
Change-Id: I9312c0c8ae190bf0200bd040823b6f7a3e7a15e1
2014-11-27 04:08:49 +00:00
Thomas Vachuska
6b7920ddaf
Measuring topology performance. Fixing a defect that caused us to run w/o accumulator when config file was not present.
...
Change-Id: I5ad538b8a441cd6ff2aefea49a0def10b8e0f4d5
2014-11-26 09:02:50 +00:00
Thomas Vachuska
e4b6bb2515
Intents are now removed after being withdrawn.
...
Change-Id: I7574fe94add00abf58c71c6122bb3dc5aafa0f79
2014-11-26 04:31:14 +00:00
Pavlin Radoslavov
119fd5c5a5
Javadoc fixes.
...
Change-Id: Ic2cef19a6f1af9916c8615c9319cc122d9da5383
2014-11-26 03:17:20 +00:00
Sho SHIMIZU
f57a73916e
Remove final modifier from static methods
...
Change-Id: I93dd84874f46114011840ef840315a0d27c221ac
2014-11-26 00:44:38 +00:00
Thomas Vachuska
5bde31ffec
Fixing various issues and re-tuning.
...
Change-Id: I8822fcf77cfa507788241c5bda98ef4741b284b4
2014-11-26 00:25:14 +00:00
Sho SHIMIZU
2389523dda
Remove code duplication
...
Change-Id: I428677343fe71aded4156e5fc9b84a9d994a6bae
2014-11-26 00:12:23 +00:00
Sho SHIMIZU
7453b48cee
Remove logger due to data class
...
Change-Id: Id08acbb63008a1f80a9c7532b5c3fd08a43655b5
2014-11-25 23:57:32 +00:00
Ray Milkey
37f6a381e1
Unit test refactoring
...
- removed tests no longer useful now that all Intent objects are unique
- fixed intent object equality tests
- enabled several immutable base class tests
- renamed several Test....java classes to ...Test.Java to
match project best practices
Change-Id: Ic829d6d39556d2f63323f5e82f3807dba86c62ec
2014-11-25 23:19:34 +00:00
Sho SHIMIZU
75a5bd9007
Change return type of groupId() in FlowRule not to misusing underlying type
...
Change-Id: Ide90973380f79046650bc372b9ecee00cb290f6a
2014-11-25 21:53:26 +00:00
Sho SHIMIZU
e3cc0b9f45
Enhance StatisticService to allow filtering by Application ID and Group ID
...
Resolve ONOS-205
Change-Id: Ie9318a5ade943bd8e47fb92ee856b7ebead5022e
2014-11-25 21:53:26 +00:00
Ray Milkey
e97ede9548
ONOS-239 Retrigger compilation when new resources are available
...
When an intent is withdrawn and frees up resources, trigger
recompilation of any failed intents to allow the ones waiting
for resources to be installed.
Change-Id: Ic15678378ce41516a7eab890b4b4898aeb901f78
2014-11-25 21:52:58 +00:00
Yuta HIGUCHI
a22f69f28a
Slice out MetricsHelper/Util
...
Change-Id: Ic6848f47d38550b78ebd6cdcf414305e54408882
2014-11-25 06:49:43 +00:00
Brian O'Connor
520c052e36
Changing Intent Ids to use explicit id assignment
...
Change-Id: I5a4bff87842c37a869e7691b353529eaefc929db
2014-11-25 05:49:35 +00:00
Ray Milkey
30edb16a05
Add equals() methods because hashCode() was defined
...
These are reported as 'Blocker' bugs by SonarQube
Change-Id: I6c25e365522f26e9f50b67a57878ad75c42aa9d2
2014-11-24 15:02:14 -08:00
Michele Santuari
4a33807957
SinglePoint to MultiPoint Intent initial implementation
...
Change-Id: I1010997ce4ea993ae34afb8dab4b6c0ae112448d
2014-11-23 18:09:11 -08:00
Yuta HIGUCHI
bcac4995df
Flatten MastershipTermService
...
Change-Id: Ic75b7376f7436c76f69127d6137577ec2fc09d2b
2014-11-23 16:17:07 -08:00
Brian O'Connor
427a1760d4
Updating Intent Manager to deal with failures.
...
Added ids to Flow batch futures.
Adding some basic unit tests for IntentManger
Adding failedIds to the completedOperation in FlowRuleManager
Change-Id: I7645cead193299f70d319d254cd1e82d96909e7b
2014-11-23 16:16:34 -08:00
Yuta HIGUCHI
91768e30e5
Kryo related fixes
...
- KryoNamespace to allow control over registration id
Change-Id: Idc2a0e27a09916657c725ee97e4366109144cc66
2014-11-22 19:35:28 -08:00
Ray Milkey
0d33805a39
Increase coverage by using guava EqualsTester
...
Change-Id: I2c5cef7258407168c3ef7ab4ec9efdf332457caf
2014-11-21 20:29:46 -08:00
Sho SHIMIZU
7338ccc3a5
Add missing method parameter description in Javadoc
...
Change-Id: Iad42c51f87136bcaa95cb6896976234b312d0034
2014-11-21 15:52:09 -08:00
Sho SHIMIZU
2e660807a2
Guard malformed intent by pre-condition check on instantiation
...
Change-Id: I90ca0fac2e3b68c4ca5b464777b0cdaa2227c2e5
2014-11-21 15:22:06 -08:00
Ray Milkey
f19b715624
Add Unit tests for some org.onlab.onos.net.flow classes
...
Change-Id: Iac13ce237245d08e42a25cd8e01dee6a30ee2b20
2014-11-21 15:08:40 -08:00
Sho SHIMIZU
3908fde0c5
Fix ONOS-151 to support installation of PointToPointIntent
...
- Now support installation of PointToPointIntent that specifies the same
switches as source element ID and destination element ID
Change-Id: If206f3fde77ca198fe1df078e7292a05e5bd7424
2014-11-21 14:52:45 -08:00
Madan Jampani
1ee91780ea
LeadershipService: Support for a leaderBoard.
...
Change-Id: I0dd8267e104466ec65a2c67d23d1c4d923cad266
Change-Id: I6bc548510400eacabb12482f8fba1b7f2abb0604
2014-11-20 21:27:23 -08:00
Ayaka Koshibe
ccfa94caef
LLDPLinkProvider listens to MastershipEvents
...
Change-Id: Iaa3655c680a8fc93921f0b83dc4fc16311222bf9
2014-11-20 20:48:40 -08:00
Madan Jampani
1d3494ec8f
Initial cut at Leadership Manager
...
Change-Id: I658c6fca3dc6f686e0f7facc9e7b443679ebae1e
Change-Id: I293906add41ff4310e3584847d806345e0312703
Change-Id: I7fb13a72ba4aef10d7c2262b96e0df64efecfcef
2014-11-20 14:37:49 -08:00
Madan Jampani
1769a1ade3
1. Adds a lockAsync method to LockService for async lock acquisition.
...
2. Fixes a bug where lock() wasn't attempting a tryLock before registering for lock avalilability.
(Note 1 above is needed for LeadershipService which will come later)
Change-Id: I1deaa445f7cdf86416b335df1d7358e17eff19c3
2014-11-20 10:15:10 -08:00
Praseed Balakrishnan
00dd1f9a6c
Fix for optical re-reoute
...
Change-Id: Iad3ca0e175cb76f66ac276981f4e36bb580566c8
2014-11-19 17:22:26 -08:00
Pavlin Radoslavov
a6b754c456
Added API for the (new) Leadership Service. For now there is a single
...
Leader elected for all purposes.
In the future the leader could be per topic.
Change-Id: I6d4f997b40bfdaa6fa9a5547e7641bf62c9d3ddb
2014-11-19 15:51:35 -08:00
Madan Jampani
71582edbe7
1. DatabaseManager activate will attempt to listTables to ensure store is in good shape.
...
2. lock and tryLock can now throw InterruptedExceptions.
Change-Id: Ifa766ad441f677a4071b68d8f6caa564cf320869
Change-Id: I318ff762a96b261737831f6bd7c200b384c638e9
Change-Id: I0f509703520b3187931fa3669cd8213a91e85c96
2014-11-19 15:39:30 -08:00
Ayaka Koshibe
78bcbc1227
remove dependency on Devices for handling MastershipEvents
...
Change-Id: Ie1670e77d3eee5dbd597f574ebe16d687e7b551e
2014-11-19 15:39:08 -08:00
Yuta HIGUCHI
75fb1f4a75
Slice out byte[] printer
...
Change-Id: I095575df5f03057c386be77328897be59c96eaf9
2014-11-19 14:15:17 -08:00
Thomas Vachuska
f75b7ab3b6
Forgot the icons... doh!
...
Change-Id: Ic0d7848ea857b9fa78f3399ab98651358da78e73
2014-11-19 12:18:28 -08:00
Madan Jampani
e198eb8477
Printing a summary (total size) when generating toString representation of byte arrays in WriteRequest and VersionedValue
...
Change-Id: If068a4e602fd5cc3932f09fc3ab54a7dea47f1f2
2014-11-19 12:03:05 -08:00
Ray Milkey
c8f481f3d9
Unit tests to improve coverage in intents module
...
Change-Id: Ic544114a8d3065157b0abd09632a2dc5ff8b708d
2014-11-18 18:18:30 -08:00
Sho SHIMIZU
a19a2e5494
Fix typo
...
Change-Id: Ib10da595faf98cbdbe88dec5225d0996b8f8cd76
2014-11-18 13:20:35 -08:00
Jonathan Hart
c9d7673be5
Cleaned up inconsistency in OpticalConnectivityIntent API.
...
Change-Id: I76b629aa8f4cf95a224da49780b3eca275b9acfc
2014-11-18 11:21:17 -08:00
Brian O'Connor
fa81eaef06
Refactored intent framework to deal with batches.
...
There is still work to be done, but for now, submit, withdraw and reroute are working.
Change-Id: Ib94cf8c4be03786cc070f402d1f296f5dfa6588b
2014-11-17 14:46:09 -08:00
Madan Jampani
a88d1f5943
1. Fixed a synchronization issue with database update processing and expiry tracking.
...
2. Fixed a synchronization issue with MapDBLog appendEntries method.
3. DatabaseClient now uses ProtocolClient to interact with Raft cluster.
4. Misc javdoc and logging improvements
Change-Id: I147eb5bf859cf9827df452d62ab415d643a00aa4
2014-11-17 13:27:27 -08:00
Yuta HIGUCHI
3524229a98
DistributedLinkResourceStore
...
Change-Id: Ia45c221946693906c12d64f20f25e30786a04224
2014-11-17 01:36:28 -08:00
weibit
00c94f5533
update and get available link resource consindering existing linkAllocations
...
Change-Id: Iee93253d253ff38d23630a2c5ac9c0a14329d92f
2014-11-16 16:14:13 -08:00
Thomas Vachuska
112c703dc5
Fixing javadocs and adding missing package javadocs.
...
Also marked a few packages and classes as deprecated.
Change-Id: I8629ad001f218f92c35721daa3b7c0ebe0916c27
2014-11-16 11:05:14 -08:00
Thomas Vachuska
badb93f54b
Fixing optical link state issues; a few still remain.
...
Change-Id: I126f89384adbe5272bdaf4eb0e3b456984768a98
2014-11-16 09:40:38 -08:00
Thomas Vachuska
57126feac1
Sketching out what link-state addition would look like; quite easy until we get to the distributed store.
...
Added unit tests to provide durable-nondurable transitions.
FIxed issue where link could be accidentally activated.
Renamed parameter.
Change-Id: I8aa19a6583ec50dbf28769995f0a8ea9be9a4daa
2014-11-15 11:14:47 -08:00
Ray Milkey
97f8f101d9
Unit tests for DefaultTrafficTreatment
...
Change-Id: I68b0773b69d85c1d05d58b32c1dceaca73c0a5e1
2014-11-15 11:07:56 -08:00
Praseed Balakrishnan
8c67d17142
MPLS label selector and treatment
...
Change-Id: Id1fba1e04155e6d97de4c8fd95573641537f1b7a
2014-11-15 10:42:36 -08:00
Yuta HIGUCHI
841c0b623a
Add getAll to DatabaseService
...
Change-Id: I5fb9d52244b005dfc22e7faaa68341be3c3f3725
2014-11-14 18:05:25 -08:00
Yuta HIGUCHI
6b38ee3533
Minor fixes
...
- Format string fix
- FlowRuleEventTest: minor bugfix
- HexString: accept null
- byte[] toString() format change
Change-Id: I9db419cfc211670cc2abd796a21396ba960e23a9
2014-11-14 18:04:38 -08:00