1189 Commits

Author SHA1 Message Date
Simon Hunt
8e258116dc ONOS-6259: Topo2 - Implement server-side highlighting model
- Generated highlights message now sent back to the client
  with the event id "topo2Highlights".

Change-Id: I873ebd38a0636a7d9b5c2a6caf98c6b33de2cc87
2017-05-05 13:19:16 -07:00
Simon Hunt
f27a929fbb ONOS-6372: Topo2 - Refactor "location" data to be consistent
- consistently labeled fields "locType", "latOrY", "longOrX"
- simplified code in topo2NodePosition.js

Change-Id: I73e8daadcc3e6ca3ff45f7f60e7b372ccfd8b045
2017-05-05 18:30:03 +00:00
Steven Burrows
cdf6b33e3e Topo: Suppress lat and long in details panel if null
JIRA Tasks; ONOS-6328

Change-Id: I3dcf1e28c3150c01dd4f50c9e5bc0f91bec45de6
2017-05-05 17:21:42 +00:00
Simon Hunt
2d7cd6fc33 ONOS-6259: Topo2 - Implement server-side highlighting model
- (Still WIP)
- Cleaned up createHandlersAndOverlays() in UiWebSocket.
- Augmented handlerCrossConnects to link Topo2MH to Topo2TrafficMH.
- Topo2Stop event now shuts down background traffic monitoring.

Change-Id: I87e7151ea813b7514521201ecffcf2c9eed22cd7
2017-05-05 00:37:07 +00:00
Simon Hunt
a7aea849c6 ONOS-6259: Topo2 - Implement server-side highlighting model
- (Still WIP)
- refactored trafficSummary() and related methods up into superclass
- introduced hook method for link aggregation

Change-Id: I0a993bbc5ba5f0e861214f8d06877dad3f7bc8ee
2017-05-04 16:41:03 +00:00
Simon Hunt
9e2413e4f3 ONOS-6259: Topo2 - Implement server-side highlighting model
- wiring in Traffic2Monitor calls
- added utility script to dynamically set debug level on Topo2 classes

Change-Id: Ie727de39739729e1c240ca0484ed08f020546dae
2017-05-03 23:56:58 +00:00
Simon Hunt
1911fe487e GUI - Topologies - refactoring of ServicesBundle.
Jira: ONOS-6259
 - also fixed bug where edge links were being omitted.

Change-Id: I19ac83d09ce7930de7a927fb2754e0c5004705f2
2017-05-03 17:47:19 +00:00
Ray Milkey
8fd28c7b80 Starting snapshot 1.10.0-SNAPSHOT 2017-05-02 14:37:34 -07:00
Ray Milkey
f0099022d2 Tagging 1.10.0-rc1 2017-05-02 14:35:27 -07:00
Simon Hunt
4b4d2d9344 Web UI framework README's - added skeletons for remaining Util services.
Change-Id: Id60ff50f8f702559f79e71f7caa3ad28ddf65c12
2017-05-01 18:54:15 -07:00
Simon Hunt
37cd451a16 Moved and updated Web UI framework function service README.
Change-Id: I6fb2bd4945ad61e5c2893e9799fa27e2d7fff31a
2017-05-01 17:57:27 -07:00
Steven Burrows
ad74af804c Topo2: Implement Link Labels
JIRA Tasks; ONOS-6263

Change-Id: If0304d90e1f5d5b3aff0332271c8e9a1b3b30b38
2017-04-28 19:57:31 +00:00
Steven Burrows
4a1b5531dc Topo2: Place peer regions in their configured locations
JIRA Tasks; ONOS-6257

Change-Id: Ifd6133c1c9ac7f4f7ea5dee54fd38f1ea3382c8b
2017-04-28 16:15:14 +00:00
Steven Burrows
2b15ae776c Bug fix: Drag threshold was prevent drag events when zoomed in
JIRA Tasks; ONOS-6261

Change-Id: I4165649404562054b5ae38b7c0c4e818c2b9dd66
2017-04-28 16:07:55 +00:00
Simon Hunt
e6f6461ea9 ONOS-6258: UiTopo2Overlay et al.
- Added Topo2TrafficMessageHandler
- Wired topo2 traffic overlay into topo2 view

Change-Id: I2b67af6abc10f737b8d3183d219d8c651bf57e31
2017-04-28 16:07:10 +00:00
Simon Hunt
6cc8645f93 ONOS-6258: UiTopo2Overlay et al.
- revert DriverMatrix app.
- simplify overlay base class to be consistent with classic topo
- add topo2overlay and topo2traffic (skeleton code for now)

Change-Id: I88fda4d7b75807bd08637d846a869846a364c1f8
2017-04-28 06:59:42 +00:00
Simon Hunt
22c35df758 ONOS-6258: UiTopo2Overlay et al.
- initial support for topo-2 highlighting.

Change-Id: I71c61b902047153ea420a8b2ecd89f6950daa4a9
2017-04-26 17:35:40 -07:00
Steven Burrows
6a4febe416 Topo2: Refactored NavigateToRegion events
There was duplicated logic in Topo2Breadcrumb|SubRegion|PeerRegion. This has been refactored out so
all the logic for navigating to a new region is handled in a single place (Topo2RegionNavigationService).

Topo2RegionNavigationService is a pub/sub class. There are two reasons for this choice;
1. Topo2Layout needs to create the new force layout simulation for the region that is about to enter.   Then it creates a transition between the old and new.
2. This will allow application developers to hook into the region:navigation event incase they need
   to update the topology for the new region displayed.

Change-Id: Ie8dad531b50afe2e4735086395c1285fb982122e
2017-04-26 18:29:52 +00:00
Simon Hunt
8f60ff8dcd ONOS-6257: fixing Region-peer-location function...
- corrected UiRegion.isRoot() implementation
- added to/from-compact-strings for LayoutLocation, so we can encode
   a list of them in an annotation
- Fixed bug in DistributedRegionStore which was emiting events that
   had a null region as subject.

Change-Id: I547e0c7f62385b85b191b8d63e6b569196623b84
2017-04-26 16:42:59 +00:00
Simon Hunt
e51a5e9f8d Start of client-side Framework Library documentation.
Change-Id: I503c0613db97fb181f9e97847bcca0b6ace564c2
2017-04-21 10:57:30 -07:00
Steven Burrows
9ce0e40b9a Topo2: Update multilink positions when scaling
JIRA Tasks; ONOS-6340

Change-Id: I0be48bddd179984179a90107bfe5b7bf062e2ab9
2017-04-21 15:07:38 +00:00
Marc De Leenheer
20913c6646 Adding visual mapping of packet to optical path.
Change-Id: Id75830a4361e4c50dab205c66761c116323aa984
2017-04-21 02:12:18 +00:00
Steven Burrows
0bc6665649 Topo2: Enhanced link width uses scale to set the width
Change-Id: I80ba00bfc1e2a238ef593de0d99dd6552c5041c5
2017-04-20 13:14:57 -04:00
Simon Hunt
12ea220b8a More work on UI documentation.
Change-Id: I0c1085d62f74f89db2cf6589861386b26bf4a709
2017-04-19 15:58:24 -07:00
Simon Hunt
8019e6f318 Packet Processors table view should NOT be sortable.
Table entries should be listed in the order that packets are
processed.

Change-Id: Icb7098b0f84afeff95739e1f531133c522a35fa5
2017-04-19 14:54:15 -07:00
Simon Hunt
965eeecab9 GUI README's: Add links to wiki pages.
Change-Id: I504f90f9cd8df9c1b4c2c5bc2c8eb443158f72f9
2017-04-19 20:01:38 +00:00
Simon Hunt
9bb0fc0421 Initial draft of GUI user documentation under revision control.
Change-Id: I64eafd8e9129db3ac4d92145a1275bc5c00cfe7d
2017-04-18 23:27:13 -07:00
Steven Burrows
c64d1b2235 Topo2: Improved node scaling performance
Originally the scale was being applied to all the child elements
of the node SVG. By grouping all the elements (label, icon, text, etc..)
into 1 group we can reduce the amount of 'redraw' events fired by 75%

- Label elements are grouped
- Icon elements are group

Change-Id: I7f7033174d70431ba9beb26dfe86d022a24cf048
2017-04-17 23:43:07 +00:00
Steven Burrows
25fa1dcd8c Topo2: Improved extensibility of Collections
Change-Id: I07f48e8d4bb74e4ebee78690ac2b102609c4f16d
2017-04-17 18:29:22 -04:00
Thomas Vachuska
8c0b18a2ef Added region-based filtering for the GUI to make sure only the relevant
events get sent to the session.

Change-Id: I649eb1b33fdf9ed4b82e29d7ba7eb3cfac5eadbb
2017-04-17 18:49:45 +00:00
Thomas Vachuska
b877a6fd6d Modified UI model objects to be backed merely by IDs of the core model objects.
Change-Id: I4ca81fb1c877ee4ce4209d405fd8c6645c8f5d20
2017-04-14 18:51:45 +00:00
Steven Burrows
448468c39f Topo2 - Removed old code carried over from clasic topo
- Removed Map Dialog and Filters

Change-Id: Id8d2791b7e13b0eedf7de1ed484edc7678e2bb77
2017-04-14 16:25:04 +00:00
Steven Burrows
02e67f469f Topo2: Key Command 'M' to show and hide offline devices
JIRA Tasks; ONOS-5381

Change-Id: Iab3a837a9bb05a334460e6b9222473bc8bc6b5c5
2017-04-13 15:58:26 -07:00
Steven Burrows
2e89adabe6 Topo2 - Port label consistent positions while scaling
Change-Id: Ida1159581ffbcf8e6a86d1c38c55a1bade5525aa
2017-04-13 22:27:35 +00:00
Steven Burrows
32ce1d9b6e Topo2 - Added Multilink support
Change-Id: Ic3a4955b415495578d592ae666b95bf23b24523d
2017-04-13 22:26:56 +00:00
Steven Burrows
c59481f824 Topo2 - Animate the position of the details panel based on SummaryPanel visiblity
JIRA Tasks; ONOS-6294

Change-Id: I0aaf71021cadd529cf0f5c591cd91de22b396f7a
2017-04-13 22:16:22 +00:00
Steven Burrows
c515e6060f Topo2 - Show the mastership when selecting an instance panel
JIRA Tasks; ONOS-6292

Change-Id: If4e353495138e606c60430547d01f278b062f372
2017-04-13 22:13:52 +00:00
Steven Burrows
6501de9f8d Topo2 - Show 'No Devices Connected' message
JIRA Tasks; ONOS-6290

Change-Id: Ibe70452da14c0c2ebb01d3ece7328f1b7936c625
2017-04-13 01:11:48 +00:00
Steven Burrows
54462eb4fa Fixed the Theme Service removeListener method
- It was returning an array containing the listener that was being removed
	instead of returning an array of everything but the one being removed.

Fixed the Jasmine tests to honor the changes.

JIRA Tasks; ONOS-6291

Change-Id: Ib2b5cd8527157f0e67761c352cecfd5047c292a6
2017-04-13 01:07:28 +00:00
Steven Burrows
aea509dfb5 Topo2 - Key Command 'H' to toggel hosts visibility
JIRA Tasks; ONOS-6283

Change-Id: Id1b8c00342af799e1d92c84346bb3fe6f6023af6
2017-04-12 23:57:58 +00:00
Steven Burrows
9aeab9231a Topo2 - Remove lat and long from details panel if undefined
JIRA Tasks; ONOS-6293

Change-Id: Ie9e9e34f609b6b288531c030052a2eddc7684791
2017-04-12 16:18:37 -07:00
Steven Burrows
e1ea27b3a1 Topo2 - ONOS-6275 Updated the host node style to match classic topology
Change-Id: Ia374ff8dd6ad1f6e759da5d3543a69436664c59e
2017-04-12 20:59:55 +00:00
Steven Burrows
938bb8a9ab Topo2 - Updated host details panel to handle hosts without lat and long
JIRA Tasks; ONOS-6280

Change-Id: I75f07ee9a8ce37823d94db6276c61173a3913167
2017-04-12 20:53:35 +00:00
Steven Burrows
9053fdb1f8 Topo2 - Fixed the issue where the Toolbar was creating dublicate ID's
JIRA Tasks; ONOS-6279

Change-Id: If2daa9f35853f91cbbd23e301a6d975a06b72b8f
2017-04-12 20:45:05 +00:00
Steven Burrows
6bc67865ff Topo2 - clicking device details header navigates to the device view with the device highlighted
JIRA Tasks; ONOS-6281

Change-Id: I17aae2e898e59bfb98becf23c5d5f6fd94014690
2017-04-12 20:42:45 +00:00
Steven Burrows
474a0fd9f9 Topo2 - Host label should always be visible
Fixed Tasks; ONOS-6275, ONOS-6277

Change-Id: I60342c2e4c3af2dc8be684b50426cbeda71f6d7b
2017-04-12 20:40:33 +00:00
Steven Burrows
a31c5b09ef Topo2: Fixed incorrect link highlighting and port locations
JIRA Tasks; ONOS-6276

Change-Id: Id9affd2cdc1bfa335654111655a413abad63ffc7
2017-04-12 20:14:38 +00:00
Steven Burrows
6de27f41ce Topo2: Adding hosts and regions to the update model
Change-Id: I0473e2cb06803bbd3245db329db60f5fbcf13ea4
2017-04-12 16:16:58 +00:00
Simon Hunt
47f8fb739c ONOS-6255 : Integrate Topology 2 into Nav Menu.
- Topo2: layouts with neither geo nor grid, use default pan/zoom.
- Topo2: Add 'dot' keyboard command to toggle toolbar.
- Topo2: Toolbar starts hidden.

Change-Id: I328da4be5c75032d437c84be07d166607efe06ad
2017-04-11 13:49:51 -07:00
Steven Burrows
67713d4a2c Topo2: Cleaned the European map
- Updated the demo

Change-Id: Ifd70f9ebb796390fbea5b0ce42a1729e550965e0
2017-04-11 19:35:16 +00:00