1170 Commits

Author SHA1 Message Date
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
Steven Burrows
f17f0ab2ab ONOS-5831 - retro fit icon and link scale from topo2
Change-Id: Iaa94929d324ba51e5a3056eb3a59d29be6d3d775
2017-04-11 11:59:48 -07:00
Steven Burrows
091a1b1f61 Topo2 - Prevent the map to reload when naviggating regions with the same mapId
Change-Id: Ib9c896aa28b95982f106fdb617418c39f98f54fb
2017-04-10 20:12:19 +00:00
Steven Burrows
8909c5c299 Topo2 - Fixed port label scale
Change-Id: I61e8c0b3661e313980cf815c54350c594c32736f
2017-04-10 20:11:16 +00:00
Steven Burrows
a85a5d31b1 Topo2: position peer regions with lat and long
Change-Id: I4634ad3fe567602e0d2087e24403c1e946b0f572
2017-04-10 11:09:29 -07:00
Simon Hunt
c4ca710a76 Europe Region Demo data script written.
- Added LayoutLocation class
- Added RegionAddPeerLocCommand class
Note: still need to plumb through peer locations to UI JSON.

Change-Id: Ic3513a3880f50b440fe318dce6896b66d7e79704
2017-04-10 10:34:57 -07:00
Simon Hunt
b3656d4ac8 WIP:: Initial stab at regions demo for Europe.
Change-Id: I80402aea2b3d57bf104db0c0fba68bebda0cae9e
2017-04-07 18:16:05 -07:00
Jon Hall
a3fcf6754a Fix Sonar issue:
Strings literals should be placed on the left side when checking for
equality

Change-Id: I4537e08936731ace55aeecb3ad941269ec1eb191
2017-04-05 22:54:30 +00:00
Simon Hunt
c43a59d2d5 Topo2: Added zoom callback to map service, to allow for adjusting map stroke-width on-the-fly.
Change-Id: I08f7bdda0b34c8e64a95a05d3c5af28fc236fe7d
2017-04-05 13:56:37 -07:00
Simon Hunt
6e6e80bb66 Dark theme for topo2
- and temp code cleanup.

Change-Id: I3e1994add88f5b4e46c404bd25c44c30d5e25517
2017-04-03 12:03:59 -07:00
Thomas Vachuska
605134d6a7 Adding provisional coloring thresholds for packet-per-sec visualization.
Change-Id: I35dcd3d4bdc69f7cc0bc785b663171d35b1a7079
2017-03-31 11:17:00 -07:00
Simon Hunt
e093e78439 Minor stylistic fixes to topoD3.js label function.
Change-Id: If6d982750a91c9116d683ff0b116da97ded1d8b2
2017-03-31 10:20:04 -07:00
Simon Hunt
698551787e Cleaned out deadwood, now that bit rate link styles are processed server-side.
Change-Id: I57a95c84b10fd4f3640739ba3f1988d06a12e1d2
2017-03-31 10:20:04 -07:00
Simon Hunt
21281fdddc Refactored Traffic Monitor code to display packets / second.
- cleaned up "rate thresholds" for coloring links.
- added unit tests for TopoUtils.
- "Monitor All Traffic" button on toolbar now cycles between 3 modes.

Change-Id: If33cfb3e6d6190e1321752b6d058274d3004f309
2017-03-31 07:03:33 +00:00
Steven Burrows
3d8d93318b Topo2: Improved the force layout implementation
topo2Collection: Models can be added to a collection aswell as js objects
topo2Layout: New nodes/links are added to the force layout and
             the simulation starts again (this was causing a bug
             where new nodes wouldn't have drag functionality)

Change-Id: I800b76e09989a07277184f5d14cbfa00ee675967
2017-03-30 23:42:48 +00:00
Thomas Vachuska
0932ac5e56 Adding support for GUI TopologyView to visualize port packet stats as an alternative to port byte stats.
Change-Id: I323840c4fe98009759646eed0c4c66fa2bad0e61
2017-03-30 20:51:23 +00:00
Steven Burrows
247ab15c86 Topo2: Updated selection model
Change-Id: Ib5c953b1a79fe516c1407971b8134e1425958215
2017-03-30 05:27:51 +00:00
Steven Burrows
9f7a2d7e9c Topo2: corrected the highlighting of the bg icon in the toolbar
Change-Id: I57547838e9e4df019c5bf14cc8f008148eae0194
2017-03-30 05:26:47 +00:00
Simon Hunt
bb0f26756a Re-instating the DARK theme.
Change-Id: Ic499b4991e41747cc9472838397e5e57cd4ad089
2017-03-29 22:04:38 -07:00
Yuta HIGUCHI
e4fdebb249 Avoid high-lighting wrong link
Change-Id: I4b8f8c73a048d030e4517beb474b11ce848a5574
2017-03-28 18:55:39 +00:00