1124 Commits

Author SHA1 Message Date
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
Steven Burrows
e9e457137c Topo2: Reset Pan and zoom to user defined or configured location
Change-Id: Ic11d400f4f0b8c68e89fe14bb66f19a8065e66fc
2017-03-25 02:15:34 +00:00
Steven Burrows
7d1efef73b Topo2: Fixed a map scaling errors causing nodes to appera like they were incorrectly positioned
Change-Id: I2317526f5be3fe1d60fd244b1c00e9d13cdcb00e
2017-03-25 02:07:43 +00:00
Simon Hunt
f7e7d4abbf Remove unnecessary parameter (region id) when layout already encapsulates that data.
- pull out scale as well as pan, for consistency.

Change-Id: I9f8f5f7f99a2dca621f2e8f652e36adf4f3971d3
2017-03-24 15:53:44 -07:00
Simon Hunt
f0c6f541ac Keep track of pan and zoom of layouts in metaUI data (no longer in user preferences).
Change-Id: I4a2c6941d5dd4586b732278c583974e85d9a9321
2017-03-24 12:12:31 +00:00
Thomas Vachuska
be0a2659bf Cleaning up app categories.
Change-Id: I30806c81bf9e8db87f31509d9a346960f79ef207
2017-03-23 18:43:22 -07:00
Simon Hunt
2521d5f7a3 Topo2: Correctly track location of nodes PER Region.
- User's chosen drag location overrides script-configured choice.

Change-Id: If25c28c01ad79a33d0c44817351868a600870235
2017-03-21 14:23:21 +00:00
Simon Hunt
e0a98f5020 Topo2: remove unused "dir" parameter on navTo commands.
Change-Id: Idd43ee1a1345375daed8671a4cca5b3b8d1e3cfb
2017-03-20 10:23:04 -07:00
Simon Hunt
a6ae121764 Topo2: sprites now use logical colors.
Change-Id: I7033a8ab2bd4a2080ab8095f0d2cc42501abaf88
2017-03-18 20:05:10 -07:00
Simon Hunt
f4e06a41cd Make it slightly easier to uncomment includes in index.html
Change-Id: I8a68adb84a26c04c8f595d72846c7308d1566b11
2017-03-18 10:52:28 -07:00
Steven Burrows
c84689319e Topo2: Initial re-implementation of the toolbar
Change-Id: I8376ba377dda289969500806449380d80452b8f6
2017-03-18 17:47:33 +00:00
Steven Burrows
e8a455aa37 Topo2: Handle regions without a map/sprite
Change-Id: Ifa944499992843c1506462caae0e1646b204996b
2017-03-17 14:21:57 +00:00
Steven Burrows
3bbd9afb91 Topo2: Reset zoom shortcut is now handled by the Background Service
Change-Id: I8f343bea7bb20863d78dd7b24d80f4319c7534ec
2017-03-16 17:27:29 +00:00
Steven Burrows
5fa057e229 Topo2: Topo2SelectService now maintains de/selecting nodes and displaying the details panel
Change-Id: I29d2476d8615263d79304636df6ca1664e7dc76b
2017-03-15 21:49:32 +00:00
Steven Burrows
68d6f9526b Topo2: Adding peer region node to the topology
Change-Id: I846d2f1ca27faa4602c772aba006f5be55da6106
2017-03-14 06:23:26 +00:00
Steven Burrows
b11a8b834a Topo2: unpin nodes when a node is hovered and 'U' us pressed
Change-Id: I5f25243073ea7e32354c4777576ad402e6124296
2017-03-13 17:57:40 +00:00
Steven Burrows
f303c1e49d Topo2: Fixing the incorrectly merged patch (13089)
Change-Id: I35d1cdb343fc15b6b67fa10f5fc8f5fb3677c547
2017-03-13 12:26:22 +00:00
Steven Burrows
892cba68ab Topo2: Reset node position when hovered and 'R' is pressed
Change-Id: I4e2ce27bf255b7a94c089cef8f234f953c56d74c
2017-03-13 11:46:50 +00:00
Simon Hunt
9edd172c61 Topo2: fix incorrectly patched review (sorry Steven).
Change-Id: Ib87a554b2311ac4258a70396f4fd6246546fb81b
2017-03-10 17:43:26 -08:00
Simon Hunt
a10c363bd9 Topo2: Added bookmarks to the URL when navigating regions
A querystring parameter 'regionId' is looked for within the URL and if found the application
will navigate to the region specified.

Change-Id: Id87e0e073f14a7b8299175ffc6a504e6e510e9bb
2017-03-11 01:29:31 +00:00
Steven Burrows
56be9103d4 Topo2: Created a new Bayarea topojson
This increases the performance (Simplified shape layer to reduce computing needed to scale)
Removes the coast line border

Change-Id: Ia3dbcae4af896a5605b61a194de755c3eebe5268
2017-03-10 01:49:33 +00:00
Steven Burrows
0aba3e8a06 Topo2 - Bug fix: Error in the breadcrumb service when navigating to a previous layer
Change-Id: I9afcee455d8832c51a06473bc8c4e7972b982530
2017-03-09 00:36:53 +00:00
Steven Burrows
bd40284e48 Topo2: Bug fixes
1: port lables not showing on mouseover
2: D3 Errors when there are no topology errors and a user pans/zooms

Change-Id: Ic65ba393d23b60673c3a731d1986ee15bbe1bd88
2017-03-08 23:58:22 +00:00
Steven Burrows
b43c1a91d2 Topo2: Refactored Maps and Sprites to be managed by a BackgroundService
Change-Id: I75965fc76734436ce0c68e06dd75663baa924287
2017-03-08 18:56:26 +00:00
Andrea Campanella
af93468792 ONOS-6071 adding Mods for protection links
Change-Id: I116f6af0044debac635e9a8ddeae12ab43bb1fe6
2017-03-07 22:23:04 +00:00
Simon Hunt
95f4b42a2f Clean up topo2 initialization. (WIP)
Change-Id: I417800019a5ebdf90da0f29ef11e7c05a4999b77
2017-03-07 02:02:13 +00:00
Steven Burrows
1116254630 Topo2: Added debug grid and amended node positioning
Change-Id: Ibd2ab1f0793b3943c471ae7c7bb3708a7a46897f
2017-02-28 00:05:59 +00:00
Steven Burrows
ea1d1ecb29 Topo2: Refactored Hide, Show and Toggle methods to the ViewController
Change-Id: I63c9a0cf99f7e631a6b0000c28b637e5983c35c8
2017-02-23 22:38:25 +00:00
Simon Hunt
7d5e984496 YANG GUI - fixed incorrect event/variable naming.
- also added custom glyph for YANG.
- also implemented details panel structure.

Change-Id: Ifdbf358acfa724591afd3b865da7e9d1dab5d429
2017-02-23 14:18:54 -08:00
Simon Hunt
cc035c5f1a Yang Model Table View: skeleton code in place.
Change-Id: I836b00674d45ad5a4937bbb6c52be3df178a896e
2017-02-22 21:22:09 -08:00
Simon Hunt
5881be845d Oops - checked in exposed Topo2 Dev by mistake; fixing...
Change-Id: I3f5b9aa5e34b50cee4f1cdb249ed559ff4383ae1
2017-02-22 14:31:05 -08:00
Steven Burrows
86b74fcbe6 Topo2: Change the map background according to the current layout payload
Change-Id: I4170857ee22faf61094ddb1021bbfd9a4b606cdf
2017-02-22 22:09:22 +00:00
Deepa Vaddireddy
f3932c00ff Fix for ONOS-3750
Change-Id: Ib4c870ea050d0c3a0f9a95c1327621bda93b40f6
2017-02-21 19:52:10 +00:00
Steven Burrows
3db5ddbbd4 Topo2: position grid nodes it relation to the sprite layer size
Change-Id: I634b89dcc60c2a9aafbe0ec08d6075892d5063f6
2017-02-21 19:45:00 +00:00
Alan Deikman
8d858750da ONOS-5976 Added CodecContext service to UiMessageHandler to allow
handlers to use JsonCodecs.

Modified the DeviceView to utilize the JSON Codec context capability
for demonstration purposes.   Functionality should be identical.

Change-Id: Ic6d25b4be6fc634dfa88277f17f93287af4c331c
2017-02-17 21:46:43 +00:00
Yi Tseng
3a9b01cf8d Fix error when remove non-numeric key intent from UI
Change-Id: I74f164c9389ca6900058468cc21eb0b8b743a8f0
2017-02-17 00:07:52 +00:00
Simon Hunt
bc30e68753 More plumbing of grid coordinates vs. geo coordinates.
- Added background reference parameter to layout command
- send correct location data to client for devices, hosts

Change-Id: Ic00bda76f4e4bc8d3e23e07a08f3bc5367ec85a9
2017-02-16 15:46:59 -08:00
Andrea Campanella
732ea83d7c [ONOS-5523]ProtectedIntentsOverlay
Change-Id: Ief409aacf7e82655881f658718ac0ca50a3c8cc9
2017-02-14 22:04:32 +00:00
Simon Hunt
eb3cf54f31 Topo2: Add grid (x,y) option to null-provider devices and hosts (and basic element config).
Change-Id: Ia9eed66bda03174a6986d07fec40eb2a8f7728e3
2017-02-14 10:22:16 -08:00
Ray Milkey
54a78514d2 Starting snapshot 1.10.0-SNAPSHOT
Change-Id: Icd6983be6a52293fb8a846a02d5e314c2c7aeaf0
2017-02-13 11:13:52 -08:00
Ray Milkey
57b510152e Starting snapshot 1.10-SNAPSHOT
Change-Id: I800d5d9e7f23793f5288457bca449ca382896723
2017-02-13 11:06:55 -08:00
Ray Milkey
de84cdde9a Starting snapshot 1.9.0-SNAPSHOT 2017-02-13 10:54:12 -08:00
Ray Milkey
8588c48114 Tagging 1.9.0-b3 2017-02-13 10:52:31 -08:00
Steven Burrows
3cc0c370fa Topo2: initial service to add sprites to topology
Change-Id: I3d7ea53c94c875ad0590fc02025f2b389087b0b2
2017-02-10 19:37:13 +00:00
Simon Hunt
a1028c4684 ONOS-1904 : Initial patchset for defining the Sprite Service.
- reverting topo-theme.css so that the original sprite layer still works (if anyone out there is using it).
- adding hard-coded sprite and layout for testing purposes (they'll be removed later).

Change-Id: I5f78c5cbc66cfe9ad0ac0292d5ffb1e19b611fa5
2017-02-09 19:20:39 +00:00
Steven Burrows
42eb9e2e91 Topo2 - Update device model on status change
Change-Id: I1387c3a5296ef4a4c27908251d43cf34bef4fdf4
2017-02-06 17:27:08 +00:00
Simon Hunt
441c9ae81e ONOS-5726: augmented implementation of "showIntent" overlay support.
- added acceptIntent() callback hook, to allow overlays to declare which intent types they can display.

Change-Id: I18d0b6f05b0a348623bd5a90d58d996d389bdd95
2017-02-06 17:23:54 +00:00