846 Commits

Author SHA1 Message Date
Sho SHIMIZU
f5c3a2e204 Refactor: use AnnotationKeys
Change-Id: I972b2816272cab2a6cb66f6df99f4dbe84198367
2014-12-03 02:15:49 +00:00
Simon Hunt
e900704ac3 GUI -- Deleted obsolete sample event.
Change-Id: I7b7af8885f391aa8b1b67971309faf248b204db8
2014-12-02 17:25:56 -08:00
Simon Hunt
2190959a95 GUI -- Added crown to glyph library.
Change-Id: I21703b3567f57d201cab7505ed4a818cc4ace219
2014-12-03 01:16:22 +00:00
Simon Hunt
9f1bcedaeb GUI -- Cleaned up initialization of SVG definitions.
Change-Id: I48379121f7e9c99f37f95e0620de06a20d3ff3d2
2014-12-02 22:50:02 +00:00
Simon Hunt
a2994cc7bc GUI -- Renamed 'preload' callback function to be 'init'; a better name, I feel.
Change-Id: I96d0892c0d78b1ac50044f57669bd84146808018
2014-12-02 22:49:51 +00:00
Simon Hunt
722dfc714f GUI -- deleted old files.
Change-Id: I3a504fe7e0597ae1d1bb1f659cd70b0611cadda4
2014-12-02 22:17:06 +00:00
Simon Hunt
b33b40bb67 GUI -- fixed bug where host (endstation) glyph was not showing up in details pane.
- also tidied up index.html a little.

Change-Id: I35b10d85ef95807c18319321f028d464e174d27e
2014-12-01 16:12:47 -08:00
Simon Hunt
71fbdb3b2d GUI -- Cleaned up Glyphs library code.
- added new test page; removed old test page.
 - added copyright to oblique test page.

Change-Id: If8770fbcadc82a1a680c8ba83b3b31beadabc8d4
2014-12-01 14:40:46 -08:00
Thomas Vachuska
82041f5ec7 Added a number of demo-related artifacts. Enhanced GUI a bit.
Change-Id: I4501cb338f9eab07420fb60e347167deda5074be
2014-12-01 07:34:01 +00:00
Simon Hunt
d6f5a27ef8 GUI -- [ONOS-309] - Oblique view of packet and optical layers (Experimental).
Change-Id: I5e3ac53192eb6c0d7bfab599fe2254f58f192a50
2014-11-29 23:45:50 -08:00
Simon Hunt
c2367d5ff4 GUI -- Implemented node lock ('X' key) in preparation for oblique view.
Change-Id: I485ca7977d18fe50ca7e5c500b3fc616506f4543
2014-11-29 19:30:23 -08:00
Simon Hunt
1b18aa5a07 GUI -- Clarified math used for computing scaling and translation of US map.
- Increased zoom bounds to be able to zoom out further, and zoom in further.

Change-Id: I4ad3dca8edd1986034dec57cad6d19f80753daea
2014-11-29 17:58:06 -08:00
Thomas Vachuska
d1c25cdbac Fixed a defect where a newly arrived instance would not be added on the client.
Change-Id: Ifb8c6489ef54476a2e4c322dbf83b15ecc178cd6
2014-11-29 17:47:58 -08:00
Thomas Vachuska
12dfdc34b6 Added web-socket fail-over and fixed a defect in mastership balancing.
Change-Id: I14eeb17fdc7970140287b51915c5accc24cf855b
2014-11-29 16:03:12 -08:00
Simon Hunt
c1cc81c3d7 GUI -- Cleaning up use of sendMessage() to make consistent.
Change-Id: Id3703e00aa93e6414a1509db5eaf2e91f4ec9977
2014-11-29 14:59:01 -08:00
Simon Hunt
3c5ca54588 GUI -- Cleaning up pan/zoom functions.
Change-Id: I5f1a69d018bac7c9be9f225bbbd197e0c97102b4
2014-11-29 22:15:00 +00:00
Thomas Vachuska
1e68bdd9be Added ability to force mastership re-balancing between instances from the GUI.
Change-Id: I98e56deb3e2b00df630ed85b596c8e35b3d6efab
2014-11-29 13:53:10 -08:00
Simon Hunt
6e18fe39c7 GUI -- [ONOS-282] - clean up drag behavior API.
Change-Id: I562eedd6f075afdd8d35e109fda9c6cd1d594d82
2014-11-29 13:35:41 -08:00
Simon Hunt
925dfc039e GUI -- Cleaned up 'muted' instance colors, and CSS for 'offline' instances.
Change-Id: I1ba8118bc77c05356c49205019c9ebec527f8dbf
2014-11-29 12:12:04 -08:00
Thomas Vachuska
5dd52f7ac4 Enhancing the GUI traffic-related code.
Fixed a defect in reactive forwarding.

Change-Id: I1a91f6e5f57b39425ef06092c82b06d04c9b59a0
2014-11-29 10:43:30 -08:00
Simon Hunt
6d9bd03ca2 GUI -- [ONOS-347] - Suppress display of offline-devices (press the 'M' key).
- also minor cleanup of link "online" state, based on src/tgt nodes online state.

Change-Id: I6d4c634e4d9f7f994f9871b7c95e3264d6ada2bb
2014-11-28 22:17:06 -08:00
Simon Hunt
ca867ac786 GUI -- [ONOS-310] - Implemented removeDevice().
- when a device is removed, we also removed any attached hosts and links.
- cleaned up animations, etc.

Change-Id: Ifc82f7f60dd8c7bbe4d32beeb923969713492430
2014-11-28 18:30:58 -08:00
Simon Hunt
38ab880c86 GUI -- Cleaned up topo CSS. Removed dasharray from animated optical link.
Change-Id: I85ccc08b07137ae380cf8ce3be7b7f9c249ccbbe
2014-11-28 13:49:08 -08:00
Simon Hunt
58c6d6eb77 GUI -- Clean up local test events.
Change-Id: I112ccb2db65a8190ff03c274717abf9735084e81
2014-11-28 13:36:56 -08:00
Simon Hunt
27d322d683 GUI -- [ONOS-344] - Ability to disable Details Pane (press the 'D' key).
Change-Id: Icc3ba464f6619745e775978dd0e26874b84c9a7b
2014-11-28 10:45:43 -08:00
Simon Hunt
06811b7efe GUI -- [ONOS-318] - Detail pane moves into space vacated by summary pane; makes room for incoming summary...
Change-Id: I1dd9af05bdb18cb8cf2c51b1dca3b2cfd09d9e37
2014-11-26 03:21:34 +00:00
Simon Hunt
6931d593b5 GUI -- Experimental Transform.
Change-Id: Iebf31a32707f2736b22102b6d4620db3489fe252
2014-11-25 17:43:07 -08:00
Thomas Vachuska
5bde31ffec Fixing various issues and re-tuning.
Change-Id: I8822fcf77cfa507788241c5bda98ef4741b284b4
2014-11-26 00:25:14 +00: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
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
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
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
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
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
Simon Hunt
b0ecfa51dd GUI -- [ONOS-89] - completed device mastership affinity coloring work.
Change-Id: I6d42c41cf30c042171550352ce05325b53560841
2014-11-23 21:05:12 -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
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
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
Thomas Vachuska
998b1417d8 ONOS-314 Added ability to export JSON via GUI rest.
Change-Id: I8cc6011f54ce6a3fb50916a74cabb7234b04ef39
2014-11-23 02:42:49 -08:00
Simon Hunt
395a70c9f1 GUI - Fixed ONOS-300. Unpin now clears memento.
- increased size of device icons to 36 (from 30).
 - cleaned up config.icons data, and removed unused code and .png files.

Change-Id: I7f3718db164363b75b395fc1af40493304642949
2014-11-22 23:17:40 -08:00
Simon Hunt
62c475498a GUI - Fixed auto positioning of existing nodes (ONOS-299)
- Added GEO lng/lat data to updateMeta event (ONOS-314)

Change-Id: I5f205a45efa94bef5b8df18f4f0739f84806311f
2014-11-22 22:16:43 -08:00
Simon Hunt
7b403bc101 GUI -- Completed ONOS Instance panel, and handling of updateInstance and removeInstance.
- minor refactorings and other cleanup.

Change-Id: I4d0e467f71269f7fb91175e78d2c6af750bf9aad
2014-11-22 19:01:12 -08:00
Thomas Vachuska
9edca30950 ONOS-303 Added ability to add mult-source intent from GUI.
Fixed treatment of selection & hover modes.

Change-Id: Idf47b6a15b56ea96b9edaeeb034fad0f205af6e3
2014-11-22 17:06:42 -08:00
Simon Hunt
b82f6904e5 GUI -- Re-worked ONOS Instance panel (WIP)
- added sample events, including updated addInstance event.
- cleaned up glyphs; added badges.
- fixed defect in floating panel .width(...) function.

Change-Id: I00d7ca38a1b291c4735b6dd5e39f0266549b545f
2014-11-22 15:31:20 -08:00
Thomas Vachuska
f84c3a27df ONOS-297 Added sending a few more properties as part of ONOS instance messages.
Change-Id: I818849e6280bf74842ff5c03c6a81e99382543f5
2014-11-22 11:31:39 -08:00
Simon Hunt
d861def896 GUI -- Created 'colors' scenario.
Change-Id: I06d12a6a030b8c84991ab5c2d5077ee934450592
2014-11-22 10:15:34 -08:00
Thomas Vachuska
47635c6ead ONOS-293 Added summary pane and related keyboard shortcuts; also tweaked key help sizes and dropped instances toggle from mast. Fixed ONOS-295 bug.
Change-Id: I694901957451cf88df06e6fca3a8d71de144f68e
2014-11-22 02:30:35 -08:00
Thomas Vachuska
c59658c105 Added flash messages.
Change-Id: If3f8650b5dc977dca27fb764ab57f2e11a21682d
2014-11-21 13:13:36 -08:00
Thomas Vachuska
60d72bf7de Fixed labels issue.
Change-Id: I9d213392c5ca337b1732ad23bfcb40d196a2acb8
2014-11-21 13:02:00 -08:00