2550 Commits

Author SHA1 Message Date
Yuta HIGUCHI
b6cfac39b4 GossipStores: iterate using forEach
Change-Id: I1c230932ab1c9112692708a4d5c869eac3c50db8
2014-11-25 22:07:13 +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
2f1583342c DistributedFlowRuleStore: register FlowRuleEvent
Change-Id: I1f904a283c8e619a6ec9094d62ddfba44a41c119
2014-11-25 13:32:06 -08:00
Yuta HIGUCHI
4423acc4aa GossipHostStore: prep for making initial size configurable
Change-Id: I256f46ff9772015dac2f02678c5396ee2b566741
2014-11-25 12:34:44 -08:00
Yuta HIGUCHI
d88400b288 DatabaseManager: extended election Timeout 2s -> 5s
Change-Id: I192113f634cd27c21b7d987b784bc81b1c6bde44
2014-11-25 12:14:39 -08:00
Simon Hunt
e5ab13826c GUI -- Dropped the '2' in filenames.
- renamed 'libs' dir to 'tp' (third-party), so we can use 'lib' for our own libraries.

Change-Id: I2d9e1c6c20cf2dc45451e1fa01aad5f658666111
2014-11-25 10:29:00 -08:00
Jonathan Hart
58682ddc5e Lower log level of frequently-executed flow stats code
Change-Id: I2901a8ede86531677d506c54f7ee2878ef62bb49
2014-11-25 18:01:21 +00:00
Simon Hunt
8751434889 GUI -- [ONOS-267] -- Mouse gestures added to quick help.
- added ability for view to define 'gestures' to be added to quick help.
- improved the layout of quick help by computing the widest 'key' and using that to space descriptions column.

Change-Id: I5a5a38d3218857ba9bca33c8fc79be38f17f7316
2014-11-25 17:14:46 +00:00
Yuta HIGUCHI
e83cce7dc4 BalanceMastersCommand: Fix type mismatch
Change-Id: If6bbe8d16d70b937250e243e7ac8617b0e971543
2014-11-24 23:06:40 -08:00
Yuta HIGUCHI
e367fb9718 Add probes to DistributedIntentStore
Change-Id: I23a5823d3924392dc17166404a17fc1918c01453
2014-11-25 06:56:15 +00:00
Yuta HIGUCHI
a22f69f28a Slice out MetricsHelper/Util
Change-Id: Ic6848f47d38550b78ebd6cdcf414305e54408882
2014-11-25 06:49:43 +00:00
alshabib
452234edd0 moving openflow drivers to their own bundle
Change-Id: Ie38dc932fdf23112cafc0fa5d0d7693a5023e16c
2014-11-25 06:44:18 +00:00
Pavlin Radoslavov
f1288b8217 Removed bogus debug message in SDN-IP.
Change-Id: I61c3c06256508772c3e78f4ce61d1483f56107ca
2014-11-24 22:09:24 -08:00
Pavlin Radoslavov
97e8a8bd55 Fix the SDN-IP unit tests after changing the Intent IDs to use
explicit ID assignment.

Change-Id: I50bc20188922193cfa47bf0ec324a69929744745
2014-11-25 06:05:29 +00:00
Yuta HIGUCHI
fe4367a708 IntentManager: lower log level to dump details
Change-Id: Ib0e1d34d45c9df9369b6ad28c6c86e47987f9366
2014-11-25 05:50:48 +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
Yuta HIGUCHI
963c656723 IntentPushTestCommand: stop logging SUBMITTED
Change-Id: If316f9403bd252b54bc070dd207cf07efaa30ca1
2014-11-25 05:10:58 +00:00
Pavlin Radoslavov
93ae832fed Updated the debug log messages for SDN-IP IntentSynchronizer.
Change-Id: I74ababe18113489ad64a2ca4a63bc1c63211a3ee
2014-11-24 20:54:36 -08:00
Yuta HIGUCHI
dfa45c1563 DistributedFlowRuleStore: support remote removeFlowRule needed for cancelling Batch
Change-Id: I40f8dd8c2008e93c5ac7393295374726f83353c7
2014-11-25 03:22:11 +00:00
Jonathan Hart
cf7832077b Changed back to used Apply Actions to find the actions
Change-Id: Ia08d60d623656bb12c8380d7ca0597a7fc4e89ce
2014-11-24 19:16:25 -08:00
Yuta HIGUCHI
3e51ea467f PingPongTest: turning off fragile test failing randomly
Change-Id: I6ce2df09dafda097f096ea941ba49162fe48934c
2014-11-24 18:29:13 -08:00
Yuta HIGUCHI
e4920dcd65 Support running onos-config in parallel against each hosts in cell
Change-Id: Ifc2145068b92d320d42178afb05cd1bb825f86d2
2014-11-24 17:45:23 -08:00
alshabib
2be9bea97d adding specified treatments when uninstalling intents
Change-Id: I4a200a6df9fce048321846c6df9b9e79457f7dfd
2014-11-24 17:27:17 -08:00
Jonathan Hart
7466d61447 Null checking in packet-out mechanism.
If the switch has recently disconnected, we can get some NullPointerExceptions.

Change-Id: Ia5a854ed5cd6a933974c855e7297faa542626d9e
2014-11-24 17:09:53 -08:00
Madan Jampani
d1a467fd6f Make leadership election more robust to failures.
- Catch exceptions thrown by lock extension calls.
    - Dealing with potential race conditions between joining and withdrawing from a race.

Change-Id: I429045b33f5972c459d5ed031fe8593438813e8d
2014-11-24 16:58:11 -08:00
Thomas Vachuska
e02e11cbc5 Fixing issues on GUI server side. Adding command to balance mastership. Messing with color scheme per feedback.
Change-Id: I89fb52105f7e724167a417e033048e9c88f31eae
2014-11-24 16:27:40 -08:00
Yuta HIGUCHI
45e5cd1778 Keep retrying until Database table is ready.
Change-Id: Idd696e3807435c65a422064e078cf5993a216df1
2014-11-24 15:42:21 -08:00
Simon Hunt
5cef906c96 GUI -- [ONOS-265] - fixed quick help:
- 'keymap' renamed 'quickhelp'
- opacity of text now solid.
- translucent background now auto-fits the content.
- renamed files.

Change-Id: I217f9e26acb0beb2686d1935e1e986f1404980db
2014-11-24 15:31:39 -08: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
Pavlin Radoslavov
dde22ae5f4 Updates related to SDN-IP submitting intent operations:
* Updated IntentSynchronizer.submitPeerIntents() to use intent batch
    operation

  * Refactored the SDN-IP unit tests:
    The verification for intent service operations is moved to a new class
    TestIntentServiceHeler

Change-Id: Id6766ebb4d6bf492e8f9787c2c2247ac38d42964
2014-11-24 13:33:04 -08:00
Simon Hunt
434cf147af GUI -- [ONOS-324] - making hosts invisible by default.
- press the 'H' key to toggle host visibility.
 - minor update to 'simple' scenario events.
 - cleanup of alert usage.

Change-Id: I531417720e6b98e795c53729b0c30775b88f8fc1
2014-11-24 12:33:53 -08:00
Ray Milkey
a505e4f175 Fix typo in path not found exception text
Change-Id: Ia964a60c25eab2372d0d788c13fb1314f1a17279
2014-11-24 11:54:08 -08:00
Yuta HIGUCHI
c8f302698f Enable Raft version of IntentStore
- Turning off state transition verification for now

Change-Id: I59d9796995d7349cd19e741c6f00e7dd2d2c3d73
2014-11-24 10:13:07 -08:00
Simon Hunt
95dad92a02 GUI -- [TV-tweak] - moved green/red to end of color palette.
- icon rect fill on 'no-affinity' now pale blue (not off-white).
 - dark theme masthead title now brighter.

Change-Id: I6f0818e0c70fec0a3400855257ebe5950351a940
2014-11-24 09:53:52 -08:00
Yuta HIGUCHI
6a46283219 metrics command to dump all the Metric in the system.
- Add probe to measure the time spent querying for Mastership.

Change-Id: I48fe37568a3261ee5b6229a3884e42a3a741b407
2014-11-24 08:32:19 -08:00
Simon Hunt
b0ecfa51dd GUI -- [ONOS-89] - completed device mastership affinity coloring work.
Change-Id: I6d42c41cf30c042171550352ce05325b53560841
2014-11-23 21:05:12 -08:00
Brian O'Connor
895c12acaa Fix for HZ intent store
The old value should be 'null'

Change-Id: I55d7826faa2c24bc911e6cc85be7d0e8bdc69c36
2014-11-23 19:21:48 -08:00
Michele Santuari
4a33807957 SinglePoint to MultiPoint Intent initial implementation
Change-Id: I1010997ce4ea993ae34afb8dab4b6c0ae112448d
2014-11-23 18:09:11 -08:00
Simon Hunt
2f9fb7080d GUI -- Tweaks to make round things less roundy and shadows less shadowy.
Change-Id: Icaad986c1f494514c29def3f5e632ffeedc9257b
2014-11-23 17:33:32 -08:00
Yuta HIGUCHI
4e45081d22 DatabaseManager: larger raft log size limit
Change-Id: Ib93b11ce55d9c038fad8e4fabfa8efc089899656
2014-11-23 16:17:21 -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
Simon Hunt
8f40ccee91 GUI -- [ONOS-89] Creating affinity colors for ONOS instances. (WIP)
- added d3utils.cat7() to provide color scales.
- added 'equals' and 'dash' ids for key binding.
- added theme() callback to let views know when the theme changed.
- re-bound test keys (0, dash, equals)

Change-Id: Ie6c6140451ddab567e26c2ea17d65395fa9cc829
2014-11-23 15:59:31 -08:00
Pavlin Radoslavov
a7243cca5c Updates for SDN-IP:
* Use the new Leadership Service instead of Distributed Lock to
   elect the SDN-IP Leader
 * Reimplement the SDN-IP Intent Synchronizer. In the new implementation
   the Point-to-Point Peer intents are also synchronized by and pushed
   only by the Leader (same as the Multipoint-to-SinglePoint Route intents)
 * Minor cleanups

Change-Id: I8e142781211a1d0f2d362875bc28fd05d843cd4b
2014-11-23 15:17:45 -08:00
Thomas Vachuska
255b65fd06 Changed KARAF_HOME to KARAF_ROOT as it was conflicting with KARAF's own and emitting annoying warnings.
Change-Id: I982701bd1ae9ecbb3c354cddf2f765b9569b02b9
2014-11-23 14:25:31 -08:00
Yuta HIGUCHI
c0050f9798 ONOS: Networking -> Network
Change-Id: I14730d54efa5a899f506fbaf6442e23d884347d0
2014-11-23 14:20:35 -08:00
Thomas Vachuska
9aea51bb28 ONOS-314 Fixed a bug and update the attmpls.json for demo.
Change-Id: Ic4526141bae5440f9fffce01410114c09a78783f
2014-11-23 14:20:03 -08:00
Simon Hunt
352be5fda4 GUI - Cleanup of old files.
Change-Id: I2fd30f32d15ecb0b97ee7f380523ebb8513a6a01
2014-11-23 12:14:49 -08:00