2550 Commits

Author SHA1 Message Date
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
Pavlin Radoslavov
708e820534 Added CLI command to print summary of the intents:
"intents -s" or "intents --summary"

Change-Id: If6ec11b1425cb2a4c93fdd910808065419af14b5
2014-11-14 17:18:37 -08:00
Thomas Vachuska
7c27ad7027 Added detection of traffic flowing using StatisticService.
Change-Id: I2044ec16fd722d953d0e2b2c955e4da2b1dab663
2014-11-14 16:20:18 -08:00
Ray Milkey
c5cd0d96c5 Findbugs fixes
Testing Sonar with a few findbugs fixes.  Suppressing a false
positive to see if it works.

Change-Id: I0cdf2921198787adc56c680840aa00bdd254269b
2014-11-14 15:39:25 -08:00
Jonathan Hart
6ec682909c Rafactored PeerConnectivityManager for code reuse between the two path types.
Change-Id: Ib05f676d071ef1c545e93244a9ed5ed89672113f
2014-11-14 15:10:31 -08:00
Praseed Balakrishnan
c0029655d9 Optical UC fixes for gui and for host2host intent provisoning
Change-Id: I5439583e92c44836632e381e0482bd485a1c5de4
2014-11-14 13:38:49 -08:00
Thomas Vachuska
dea4cb3256 Connecting packet paths to optical tunnels visually.
Change-Id: Ib6a8cefd9e6eb466e38e305b2fcda4b40a8854fd
2014-11-14 12:14:36 -08:00
Simon Hunt
a5e8914e1f GUI -- Re-instated Packet / Optical Layer filters.
- Adding ONOS instance fly-in pane. Note: still WIP.
- refactored onos.ui.addFloatingPanel to allow TL vs. TR.
- added instance pane to topo view.
- implemented addInstance() event.
- refactored event tracing.
- added instances test scenario.

Change-Id: I58d9769afa8aee9079ec778496cbc47bef329608
2014-11-14 11:58:13 -08:00
Praseed Balakrishnan
56051d0459 Fixed mininet script for large topo
Change-Id: I4b3ea9959b7792956f7f2798f8540eec1d80df52
2014-11-14 09:56:35 -08:00
Patrick Liu
080aeb4eb9 changes for ONOS-159 and ONOS-160
Change-Id: I7d8ebbf0c6668b2a47b2c74c931dd850a5f5796e
2014-11-14 09:32:47 -08:00
Thomas Vachuska
22e3492469 GUI traffic visualization work on server-side.
Change-Id: I2e903ec028ea40fd325f69c4d7e1f0b2b6db2f42
2014-11-14 00:40:55 -08:00
Yuta HIGUCHI
885868fc5b DistributedFlowRuleStore: synchronized -> Reader/Writer lock
fix for ONOS-195

Change-Id: I3e15104225878d1616fa790095695400bcc43697
2014-11-13 23:53:54 -08:00
Simon Hunt
a255a2cb2a GUI -- Added CSS classes for primary, secondary, animated, and optical links
- refactored showTraffic(...) to handle the updated payload.
 - created 'traffic' scenario:: run with ... webapp/index2.html#topo,traffic?local

Change-Id: I5e3a33abcbc9c82f751165b4f52807f7cd59ef03
2014-11-13 22:54:05 -08:00
Thomas Vachuska
e7591e56bd GUI traffic visualization work on server-side.
Change-Id: I15564fc8484464858adf57fe22462f4951d09d09
2014-11-13 22:11:22 -08:00
Jonathan Hart
a42deeafc9 Fix for setting up peer paths where BGP speakers don't peer with all peers.
Returning prevents any further paths being set up, even though this isn't
an error condition.

Change-Id: I13eb4b3021c78f437dcfd2fa715bb4568e6046d1
2014-11-13 21:46:33 -08:00
Pavlin Radoslavov
7e19094616 Refactor the SDN-IP BGP code so the BGP routes are withdrawn if
the onos-app-sdnip feature is uninstalled.

Change-Id: I49c40ee172a06d5809da69f736648fa639745975
2014-11-13 21:39:34 -08:00
Ray Milkey
afa00d2f47 Packet class unit tests
Added unit tests for DefaultInboundPacket, DefaultOutboundPacket,
and DefaultPacketContext.

Made DefaultInboundPacket and DefaultOutboundPacket proper immutable classes

Added equals() and hashCode() to DefaultOutboundPacket

Change-Id: Ibb1199a5282743ccaf0844c0b7ccfcc4cb13f52e
2014-11-13 19:36:28 -08:00
Toshio Koide
4b6562b5f8 Add annotation key definitions for bandwidth and optical waves.
Change-Id: Ia0e3b638cd0f756e427c4c0d6d75b4e2d65002fc
2014-11-13 19:08:22 -08:00
Sho SHIMIZU
cf6090b691 Follow the convention of javadoc used in the project
Insert a blank line between the brief desciption and paramter description.

Change-Id: Iad27f20aa862f84a4278624f0df75f98ab9e543f
2014-11-13 19:07:08 -08:00
Sho SHIMIZU
9e97826bb6 Remove type paramter bounds because Object is implicitly inherited
Change-Id: I7b933d924192d4b6bd079969cf4702d1c08f684f
2014-11-13 19:06:44 -08:00
Simon Hunt
deab432628 GUI -- Relabeled "Meta to select" button to "Pan/Zoom" -- makes more sense to me.
Change-Id: I331ff3aa584a42dcda5c2323b46297c9ca089a13
2014-11-13 18:49:07 -08:00
Simon Hunt
d72bc702dc GUI -- Reworked selection logic to populate fly-in detail pane with action items.
Change-Id: I1a7ba3e04d608b7ec7bc635c21658d2d55b2d5c9
2014-11-13 18:38:19 -08:00
weibit
51234a82d7 fixed a bug in the optical path provisoner
Change-Id: Ib5960d07d044b0b2645cf98c47b3ec1c040f6251
2014-11-13 17:34:50 -08:00
Simon Hunt
01095ff144 GUI -- Augmented pan/zoom & select/drag integration by having a toggle button for whether meta needs to be pressed for panning (default) or selecting.
- multi-select requires the shift key to be held down.
 - Also re-wired deselectAll() to the ESC key, instead of click on background.

Change-Id: I63502839368c6ca10c64ee583a58f836576c4546
2014-11-13 16:37:38 -08:00
Ray Milkey
3f9820fa75 FlowRule Event unit tests
Change-Id: I620e3f8d4a8bc7bd4f9af1b16403484edd43d9df
2014-11-13 15:55:38 -08:00
Yuta HIGUCHI
72669c4713 DeviceManager: lowering harmless log level
Change-Id: I0913b0c7b352d4a53a72ee7cc8a4781da722973c
2014-11-13 14:54:16 -08:00
Ray Milkey
ac1441d43c ONOS-196 Add --macSrcRewrite and --macDstRewrite options to add-point-intent command
Add the option for specifying a mac address rewrite.

Generate instructions for the rewrite and include them in the
treatment for the intent.

Change-Id: Ib2fa5ad5a6eb1d9617159c34d832fd89f7245db9
2014-11-13 14:51:53 -08:00
Yuta HIGUCHI
c588aa3bda Util script to remove raft logs
Change-Id: I1b2af4aada72b155769db7e680bb445518ea6b37
2014-11-13 14:28:48 -08:00
Sho SHIMIZU
de8e6b5040 WIP: Fix ONOS-151 bug that raises exception when the same switch is designated
Now PointToPointIntentCompiler can handle the intent designates two
different ports belonging to the same switch.

Change-Id: Ie1ef4463fec0fc45a216bdb384792cc453a582c8
2014-11-13 14:18:28 -08:00
Paul Greyson
fcba0e8429 better readme, do scaling properly
implement pan/zoom on topo
R to reset pan/zoom
require meta to drag or select nodes

Change-Id: I15e20296e76d5cd8656b144b2d61a6923a5509ad
2014-11-13 14:02:01 -08:00
Simon Hunt
6ac93f3973 GUI --Cleaned up mouse-over/out in preparation for 'show-traffic' behavior.
- re-instated the unpin function.

Change-Id: I310804084b93e1cd16f3da31b49ea646db36c6d7
2014-11-13 13:34:38 -08:00
Madan Jampani
f5d263b41f Bugfixes for DistributedLockManager functionality
Added a method called broadcastIncludeSelf to ClusterCommunicationService.
Cosmetic improvements: added toString methods

Change-Id: I1d58720c29e6f8642f950670c3a6d95a7019a491
2014-11-13 12:45:50 -08:00
Simon Hunt
f8e5b4e0b9 GUI -- Implemented "Show Traffic on hover" toggle button in masthead.
- also included sample *Instance events.

Change-Id: Ibdee2b6c54a0a192361d269dbe69128d44604838
2014-11-13 11:58:01 -08:00
Thomas Vachuska
0724a5f4d5 Sketching out request/showTraffic interactions between GUI server/client.
Change-Id: I78dfe0da6a7b4e03972a8ef11190101614d81a63
2014-11-13 11:42:15 -08:00
Praseed Balakrishnan
b1c592eb85 linc-oe sys config files
Change-Id: If0ecdf7784dadad840e49fec9e8685154d3f9ddd
2014-11-13 11:40:22 -08:00
Jonathan Hart
1f793a71f2 Fix for proxy ARP to allow multiple ports on the same external subnet
Change-Id: I892d14d7181b5f50e05c6b1b6bcce514700273c5
2014-11-13 10:54:59 -08:00
Yuta HIGUCHI
3741a4083c download only onos VMs
Change-Id: I24659934dbcca42078eb49811158359cf0688c63
2014-11-13 10:45:11 -08:00
Sho SHIMIZU
977cb60b98 Add unit tests for constraint object serializations
Duration is additionally registered because LatencyConstraint has it

Change-Id: Ibbf31761b789fa71fb6cb1a1155f5ea0680853ce
2014-11-13 10:44:43 -08:00
Thomas Vachuska
3266abfeb9 Prototyping mouse-over behaviour for path/traffic selection; needs re-work.
Change-Id: I27507e8129b790e56192077bfb56028f2ec56d90
2014-11-13 10:38:47 -08:00
Yuta HIGUCHI
2210282957 ONOS-197: Ignore Link with missing Device
- Catch, log, and skip Link edge creation failure.
- log topology error details

Change-Id: I3cd44a86ed6641c49923f6ed4d2dbaf1f97511d0
2014-11-13 09:59:35 -08:00
Yuta HIGUCHI
adac04a72d Support LinkResource related serialization
- DefaultLinkResourceRequest
- DefaultLinkResourceAllocations

Change-Id: I8ebb32d5cb96c8465a23a9a512d2e8a56b6fce56
2014-11-13 00:42:17 -08:00
Thomas Vachuska
dea45ff7da Adding enhancements to the GUI server-side.
Fixing a few intent-related glitches for the optical use-case.
Fixing lat/lng information in the optical config.

Change-Id: I6a1dd1ee69c2db2f0e351d191627bba468a3c49c
2014-11-12 20:31:04 -08:00
alshabib
aa7e7deae5 adding getFlowRulesByGroupId to the flowservice
Change-Id: Idfcc86277b28af99e201f3bdfdf139217d77244c
2014-11-12 19:20:44 -08:00
alshabib
28204e515d adding group id to flowrules
Change-Id: Idb660d98f145b1645e9781fab79fbfb81bdce775
2014-11-12 19:08:40 -08:00
Paul Greyson
6cb8ca0195 implement topojson based map rendering
position devices based on location.lat/lng
use viewbox on topo root svg to support live scaling of map and nodes

Change-Id: I56c2b1e211ab63a694b817d04ee4bb62ac62cec4
2014-11-12 18:25:47 -08:00
Yuta Higuchi
d26e0a67bd Merge "Support for expiring Database entries" 2014-11-12 18:07:35 -08:00
Praseed Balakrishnan
d94df302d6 fix large optical config
Change-Id: I8c264ad0228defb4fe9087a6d070912d3c3b9e75
2014-11-12 17:31:07 -08:00
Brian O'Connor
e16f048cc1 Merge "Add IP address argument and create instance with the correct IP address" 2014-11-12 17:14:12 -08:00