Simon Hunt
13bf9c80fb
GUI - Tweaked link-exit animation.
...
Change-Id: Ic0604c2492feef657665147202e5f346579a4a53
2014-11-18 07:26:44 -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
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
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
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
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
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
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
7c27ad7027
Added detection of traffic flowing using StatisticService.
...
Change-Id: I2044ec16fd722d953d0e2b2c955e4da2b1dab663
2014-11-14 16:20:18 -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
Thomas Vachuska
22e3492469
GUI traffic visualization work on server-side.
...
Change-Id: I2e903ec028ea40fd325f69c4d7e1f0b2b6db2f42
2014-11-14 00:40:55 -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
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
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
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
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
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
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
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
Simon Hunt
d3b7d51f73
GUI -- Modified loading of background to occur asynchronously, after attempting to load Geo data from JSON file.
...
- falls back to static map if fails to load JSON.
Change-Id: I03ec8a73e86f7fe19e99241b176ae2a8ee99b1fd
2014-11-12 15:49:00 -08:00
Simon Hunt
b53e068293
GUI --Handle multi-selections (re-purpose the details pane);
...
- W = requestTraffic
- Z = requestPath
- X = cancelMonitor (not implemented yet)
Change-Id: Ic5f60d19a249b1224f20f90a3e5ce946a90625c0
2014-11-12 14:53:56 -08:00
Simon Hunt
c31d569493
GUI -- mulitselect WIP.
...
Change-Id: I4b0646b5372c8dc389662cc629affb23781e0672
2014-11-12 13:27:18 -08:00
Simon Hunt
0c6d419035
GUI -- Added 'mask' layer to alert user of loss of websocket connection.
...
Change-Id: I13f4cb0176936ec1a7db4efa58e5ad0e7ac9db15
2014-11-12 12:08:03 -08:00
Simon Hunt
ac9e24f3b3
GUI -- Fixed turbulent behavior of incoming nodes with no fixed position.
...
Change-Id: Ic73c0c8b91bd5ab07faec84ffcd0b67d2e357b29
2014-11-12 10:12:21 -08:00
Thomas Vachuska
ba5621e3a5
Added ping to age-out idle or stale connections.
...
Repushing due to a javadoc inherited from the master.
Change-Id: I375fc114079ba7d0a2897791ba05fa41762db80b
2014-11-12 02:51:53 -08:00
Thomas Vachuska
477bf81a06
Switching onos-gui command to use the new GUI.
...
Change-Id: If3ddaf56c175b58604beee41033d5364d4d3ae1a
2014-11-11 20:54:35 -08:00
Simon Hunt
3b9cddb388
GUI -- Fix topology message handler to only store the "memento" part of the updateMeta message.
...
Change-Id: Ia3d55acbb623b5750405669c0e3b7f0db1b136d2
2014-11-11 20:50:04 -08:00
Simon Hunt
61d040490f
GUI -- Added onos.ui.addFloatingPanel() function.
...
- re-instated detail pane in topo2.js; triggered of non-zero selection state.
- single-select now requests details and displays them in detail pane.
- multi-select WIP.
Change-Id: I300a3dfd4d35abc82f832a172854c6aff50d8cd6
2014-11-11 19:36:52 -08:00
Thomas Vachuska
f1fae003a6
Adding server-side code for sending device/host details to the client.
...
Change-Id: I02e15db996a848fc064ccaa14f0274275020d6be
2014-11-11 18:22:02 -08:00
Thomas Vachuska
0f6baee9bf
Added top-level location object per Simon/Paul spec.
...
Fixed an NPE in mastership when running optical demo.
Change-Id: I038000d1237b4150db0c722fa96dd9541d83e44e
2014-11-11 15:02:32 -08:00
Simon Hunt
ea80eb4468
GUI -- Fixed host node exit animation.
...
Change-Id: If9ad86451f5f7905fa01101d060d0490e206a4bc
2014-11-11 14:50:16 -08:00
Simon Hunt
44031108f4
GUI -- added removeHost code; augmented 'simple' scenario to include removeHost.
...
- flattened lat/long in device props "bag" - example events.
Change-Id: I1e619c84842c5fc4ab7a9dc59452c358f0ce7b10
2014-11-11 13:20:36 -08:00
Simon Hunt
902c9921c9
GUI -- Update to memento format.
...
Change-Id: I99c579668b17014d4cdceb9ce5898c4ed49c5be4
2014-11-11 11:59:47 -08:00
Simon Hunt
fc274c97d3
GUI -- Fixed link lookup bug when removing links.
...
- fixed and extended the 'startup' test scenario to show device coming online (and links added), followed by device going offline (and links removed).
Change-Id: I58f79b5b16d37504793f36db9959f8c3c26b5261
2014-11-11 11:05:46 -08:00
Thomas Vachuska
a7c3dd1477
Refactored topo view server-side for better separation of concerns.
...
Added addInstance/removeInstance/updateInstance messages.
Change-Id: If312d2401597a89cb18be51a784f62157059aebf
2014-11-11 09:49:17 -08:00
Simon Hunt
3f03d4a14e
GUI -- Added updateLink and removeLink event handling.
...
Change-Id: Iae2d1f47bd4849e8ac80bebe721a2aa0ad5f4964
2014-11-11 07:53:45 -08:00
Simon Hunt
bb282f5746
GUI -- Added updateDevice event handling.
...
- Display offline devices as grey.
- Tracing web socket messages (for now, in console; in future, to trace view).
- Captured sample events for use with test scenarios - both from and to the server.
- Added description to scenario file.
Change-Id: I7825b32d63496ebea2ab5789519fb0c6af6c5257
2014-11-10 16:55:40 -08:00
Simon Hunt
f67722acba
GUI -- tweaked couple of topo force layout parameters.
...
- made life-cycle callback parameters consistent; all now get - view (token), ctx, flags.
- updated module templates.
Change-Id: I142650508d3bf8fb42c98528a347500596a5f0b3
2014-11-10 09:32:06 -08:00
Simon Hunt
7cd48f3620
GUI -- store ref to node/link selection in backing data.
...
- tweaking force-layout parameters; now host-to-host intent path is highlighted.
- injectTestEvent() now uses recursion to look for appropriate json files.
- implemented updateHost() event.
- some refactoring cleanup in topo2.js
Change-Id: I888f05032d3c9df6470bd4d2f399f61efb9dbd46
2014-11-10 00:56:05 -08:00