Madan Jampani
ac201955fa
DistributedLockManger creates a locks table if one does not exist
...
Change-Id: Ifa766ad441f677a4071b68d8f6caa564cf320869
2014-11-18 10:36:23 -08:00
Ray Milkey
705d9bc78d
Last two high priority findbugs errors
...
Change-Id: I180d9156b49c79980f2b2361ec062e5c1cda64a8
2014-11-18 09:26:30 -08:00
Simon Hunt
13bf9c80fb
GUI - Tweaked link-exit animation.
...
Change-Id: Ic0604c2492feef657665147202e5f346579a4a53
2014-11-18 07:26:44 -08:00
Yuta HIGUCHI
2fe6334c15
DatabaseService related fixes.
...
- Note: This patch does not fix the issue running as single node.
Change-Id: Iabfa548ca4e40e4ec5c9e76ae936300437e53d22
2014-11-17 21:33:38 -08:00
Toshio Koide
8e5e91e296
Update SimpleLinkResourceStore to obtain capacities from link annotations
...
Change-Id: I98f8959fdc00953c98a151ad7b0bfa1041b118d7
2014-11-17 20:22:30 -08:00
Yuta HIGUCHI
452071656a
ClusterMessagingProtocolClient: less log for expected exception
...
Change-Id: Ifac94d2dc68144f126c9c6ab2cd4aedc712a10fe
2014-11-17 20:22:08 -08:00
weibit
94f6c34ee4
change the optical topology configuration for packet layer recovery
...
Change-Id: I077ded9fe05854fb524e6cd25954923df0184061
2014-11-17 20:21:20 -08:00
Yuta HIGUCHI
8ba3ac05c2
MapDBLogTest: use Temp file
...
Change-Id: I7a6647ffa354913d3e6aa08de03f5a15e03753d7
2014-11-17 19:16:26 -08:00
Jonathan Hart
2c25e3681c
Moved CLI options for rewrite actions up to ConnectivityIntentCommand so they
...
can be used by all connectivity intent commands.
Change-Id: I6cd6b05423479d53313c92491ab636ebd58def43
2014-11-17 18:14:19 -08:00
Brian O'Connor
a8e7dd4b49
Adding DistributedIntentBatchQueue
...
Change-Id: I4ce3c2cb5a31ad8ace5d1d20830a49a869e63900
2014-11-17 17:28:37 -08:00
Ray Milkey
0f98ca2ad2
Remove some cruft accidentally checked in
...
Change-Id: If30741ab16be07ec94b7668cd543a80347d10a04
2014-11-17 17:12:38 -08:00
Ray Milkey
241b96accd
Fix high priority findbugs reported issues
...
Fixed some code that was reporting findbugs errors
Implemented a suppression mechanism for findbugs
reported errors and a suppression file.
Change-Id: Ie8a2e84cc57ec6ddfa14d782ee89feb095b9dd59
2014-11-17 16:38:30 -08:00
Jonathan Hart
5dfa43f4b9
Fixed bug taking dst TCP port argument from CLI
...
Change-Id: Iafc1ea6bf300321a982e529f2770e450f216b961
2014-11-17 16:38:19 -08:00
Pavlin Radoslavov
20ded69934
Fix a bug inside DistributedLock.extendExpiration():
...
Return false (as per API) if we don't hold the lock.
Change-Id: Id3c314f6e374c92a73ce6f1aa4b6fbcef0a80697
2014-11-17 16:38:15 -08:00
Simon Hunt
269670fc8c
GUI - Fixed reverse-link-id lookup issue for 'showTraffic'.
...
- removed obsolete 'showPath' code.
Change-Id: I5b7bdf9156b18022838b8f7ebc0e6d0846f9b20f
2014-11-17 16:17:54 -08:00
Brian O'Connor
772852ac32
Some fixes for the optical app
...
Change-Id: Ib3e317ad080d822ac41b1cf113ba388a7ce78316
2014-11-17 16:07:43 -08:00
Pavlin Radoslavov
a071b1e9a9
Moved the BGP Route Intent synchronization mechanism from the Router class
...
to the new class IntentSynchronizer.
Also, minor cleanup in some of the method names and access scope.
Change-Id: I38257cd1d9516ef3b3dd50f23c28015054c73d70
2014-11-17 15:47:00 -08:00
Yuta HIGUCHI
3b29b79e6d
DatabaseManager: client initialization bug fix
...
Change-Id: I62afbc2847728e304f90c13f8af284be89e84ab7
2014-11-17 15:28:41 -08:00
Simon Hunt
7fa116d01e
GUI - Added ability to differentiate between host types.
...
- Added addHostIcon(...) function.
- Added bullhorn glyph to library.
- Added bgpSpeaker host to links scenario.
Change-Id: I09db2467c0c8ec23933790a794fe2c93dc443141
2014-11-17 15:24:55 -08:00
Thomas Vachuska
912bdd5450
Adding configurability to the even accumulator for the topology provider.
...
Change-Id: I35ede9a62782dc6a2e55b8895aeec6ece8836960
2014-11-17 15:23:47 -08:00
Brian O'Connor
faaedf485d
Changing log level from warn to debug in Stats Store.
...
Change-Id: I7651427d317813775a2c729682001fb888b45f1c
Note: Optical flows don't have stats.
2014-11-17 14:48:48 -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
Simon Hunt
1712ed8316
GUI - Added more events to 'links' scenario, so we can use it as a basis for testing showPath/showTraffic.
...
Change-Id: I6fa428931450930ba0e725443e211205b5c6af98
2014-11-17 12:56:00 -08:00
Thomas Vachuska
82f2c62405
Fixed a defect in client/server interaction when creating host intent.
...
Change-Id: I09a8e12e5ff78349b7d57b492a018642ff5e7bad
2014-11-17 12:33:46 -08:00
Simon Hunt
9b1d72133a
Adding example requestTraffic and showTraffic events.
...
Change-Id: I614f18a15b8e9f1fd3a92cfd93d0980e01d4b667
2014-11-17 12:33:33 -08:00
Simon Hunt
cb56cffbe2
GUI - Added example requestTraffic and showTraffic events; updated test addLink events.
...
- commented out using 'alert' for logic errors (console warn only now).
Change-Id: I3a48107c5707fd41d8e69ae7c1a980e498651c4b
2014-11-17 11:54:07 -08:00
Yuta HIGUCHI
3524229a98
DistributedLinkResourceStore
...
Change-Id: Ia45c221946693906c12d64f20f25e30786a04224
2014-11-17 01:36:28 -08:00
Yuta HIGUCHI
b9d68669e3
DatabaseClient: Add timeout
...
- timeout + retry to listTable
- timeout to service API
Change-Id: I8b54dd24d380dcc9e8d44baf3bbf5e379ccca53b
2014-11-17 01:36:26 -08:00
Yuta HIGUCHI
39da97989d
Wait for Leader to appear
...
- DatabaseClient: wait for Leader before DB access
- DatabaseManager: wait for Leader before activate
Change-Id: I5102e7cae1d33f49662bf452b1fba020173a51a0
2014-11-17 01:35:15 -08:00
Yuta HIGUCHI
0b69a82256
DatabaseStateMachine: lower log level
...
Change-Id: Ied0c18ab498bf499d3e54aa170097ed4304368cb
2014-11-17 01:01:01 -08:00
Simon Hunt
8257f4ce29
GUI -- Major rework to link processing so that we consolidate links A->B and B->A into a single backing object.
...
- added blue glow to ONOS instance when showing switch affinity.
Change-Id: Ia2a52d9d0571bc8c5eed964c85862f5798c7c5db
2014-11-16 20:35:18 -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
Simon Hunt
12ce12e8f9
GUI -- Added shadow of ONOS logo to death mask.
...
Change-Id: I8abfdb88c536eec1e8ec47ae127c809058df4588
2014-11-15 21:13:19 -08:00
Thomas Vachuska
16582df965
Fixed GUI labels for nodes and fixed a few GPS coordinates.
...
Change-Id: I3fd03e8551febaead4f81dc6d0e80a689cf6ee14
2014-11-15 20:12:17 -08:00
Thomas Vachuska
e4cebafa19
Adding support for link state to GUI.
...
Change-Id: I6476cf04810f7bc7e88af629a36ce671b42748d0
2014-11-15 18:58:41 -08:00
Simon Hunt
9c15eca133
GUI -- Reduced size of onos-logo to be 41x38 pixels.
...
- cleaned up ONOS instances a little: added icon; centered text; UI-attached icon shown.
Change-Id: If6d1adf4866c33f1c40baf3e37bebbe4e705ea80
2014-11-15 18:37:59 -08:00
Ray Milkey
62709fc623
Add in a findbugs suppression to see if it works
...
Change-Id: I4ca6b65046df35e6d773b515ae819fffb81c43ba
Remove test suppression of findbugs error
Change-Id: I277ac9f5ff20c83e0208cb9adadc12d5a13723d2
2014-11-15 15:03:43 -08:00
Simon Hunt
9462e8c84a
GUI -- implemented ONOS instance affinity display.
...
- augmented ESC key handling to cancel affinity display before deslecting nodes.
- augmented setRadioButtons to return buttonset api, so we can query what is currently selected.
Change-Id: I17532bae7ea5fa639ce5d600c67e6c44728ff67f
2014-11-15 12:14:59 -08:00
Thomas Vachuska
85314296e1
Added a short-hand for setting the OCI variable.
...
Added export.
Change-Id: I1e9b5366ce460995d494f7df81659fea0b6c8584
2014-11-15 11:40:46 -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
2b75f1a46e
ClusterMessagingProtocolClient: changed thread pool
...
Change-Id: Ibb37bd2c7c94067336152f19412523dc4cda9722
2014-11-14 18:39:09 -08:00
Yuta HIGUCHI
fd0db4869a
DatabaseStateMachine: return value on conditional failure
...
Change-Id: I579652659ea7281013c341c6ea9df2003b90bcdd
2014-11-14 18:39:09 -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
Praseed Balakrishnan
86eb2a8529
Fix optical link distance based on location
...
Change-Id: I937d2b48c88b9cdcfdfb179d5c854426b06ecfb3
2014-11-14 17:56:18 -08:00