1051 Commits

Author SHA1 Message Date
Simon Hunt
c2bfe339f0 ONOS-3518: Refactored badge-rendering code.
- augmented badges test scenario.

Change-Id: I7cef224daacfd52056440fb2ad068002f740b51f
2015-12-04 19:39:21 +00:00
Andrea Campanella
5212541e73 Add GUI badging to hosts
Change-Id: I5c791acd6696b455b4416d2dd413edcf30d41886
2015-12-04 17:08:03 +00:00
Andrea Campanella
10c4adc294 ONOS-2706 Changing rsModel annotation to onos.rsModel
Change-Id: I1c22a7e1e147f13b960c3a6095408d68173ca966
2015-12-04 01:37:21 +00:00
Simon Hunt
ac099e80ef ONOS-3353: Map for Continental US, Central America and South America.
Change-Id: I785c3d9b408d8d9fd032e681c31915096a3d58fb
2015-12-03 09:17:47 -08:00
Andrea Campanella
e22731b6ef [ONOS-3394] Remove network configuration model from SwaggerUi and line stripping for better swagger.json formatting.
Change-Id: I0200407b829baff84a921fa6027a3ebb4c873dfc
2015-12-02 19:43:58 +00:00
Simon Hunt
d471262d24 ONOS-3353: WIP -- USA, Central America and SouthAmerica ... but need to remove Alaska and Hawaii from USA data, for cleaner visualization.
Change-Id: Ie080170438912854b151ca394942af82c2f835f4
2015-12-02 19:30:17 +00:00
Thomas Vachuska
e50b621b01 Tweaked summary panel on the GUI to place version information at the top.
Change-Id: Iffd2c8c566f353ef47a25b8a288b69186d90f014
2015-12-02 19:23:14 +00:00
Ray Milkey
37a5d8c3da Unit tests for network config REST API.
Change-Id: I1b09035ff7aaa463889f62bbc9709a37a920d800
2015-12-02 02:00:40 +00:00
Andrea Campanella
0c17a0ad05 ONOS-3182 added swap functionality
Change-Id: Idc521a330c5bb3c0e0a47f66a90dfa95855e610f
2015-12-02 01:30:22 +00:00
Simon Hunt
02183bec5a Reference table of country codes (useful when defining map filters for topology view).
Change-Id: I94f6aa18407f4b01ad9efd77e704aa17101ee613
2015-12-02 00:48:44 +00:00
Jian Li
43c956b0ed [ONOS-3402] parseHost method adds all Json fields as annotations
Change-Id: Ic23a7509bbdc8ffb3fdd77299504ef03598145a0
2015-12-01 02:52:55 +00:00
andrea
d35f89c1aa [ONOS-3405] Change EthType Json encoding to Hex and extend decoding with Hex support alongside int
Change-Id: I629f52016256d6c5cc258ab9e1c5a7b916991d5b
2015-11-30 19:07:33 +00:00
Srikanth Vavilapalli
d120f5c1ae CORD-12:Adding support for port statistics REST API
Change-Id: Ibf0f7848ed891500e797d8f66bf7cd785b41c29c
2015-11-25 03:36:55 +00:00
andrea
c008511f50 [ONOS-3394] Json Models for Intents
Change-Id: I33620d826fddffa69982d49cb99fe4199c2bf522
2015-11-25 03:26:45 +00:00
Satish K
598c28d234 Inconsistent synchronization fix for UiWebSocket.connection
Change-Id: I098c5765c89f5885df54578c624ff80fb67727b8
2015-11-24 17:20:50 +05:30
Ray Milkey
36992c8f9d ONOS-3379: Config REST 500 errors on GET operations if keys don't exist
Change-Id: Ie32bdb70693c5571421840265b4be71d0706d797
2015-11-20 02:42:21 +00:00
andrea
1ce2bc8001 [ONOS-3394] Json models for REST api
Change-Id: I69c396ae08d25e83dce31e4d2ec92cd9a28c54f5
2015-11-19 18:13:08 -08:00
Ray Milkey
b9fe25d366 ONOS-3378 REST DELETE operation on network config subject class key
- delete operation was not working because the incorrect class was being passed
  to the lookup method.
- changed delete operations to return status 204 in lieu of 200 since
  no actual content is returned.

Change-Id: Ibb5294a7b40996fad5d8a4ede48b0f2b7eb923e1
2015-11-19 00:39:40 +00:00
andrea
5056b51aeb [ONOS-3394] JsonModels for Swagger UI
Change-Id: I57503b28df517642ab15e2b18f66ad63c15b7b8a
2015-11-19 00:38:21 +00:00
Charles Chan
33f28a96f7 Carry previous host subject in HostEvent
This is an enhanced version of gerrit 6085 that provides not only the old location
but also the entire old host subject.
The main purpose is allowing apps to be aware of the change of IP address as well

Change-Id: I448d73b0d1e705996259cb0ec777f959f485d9c2
2015-11-18 18:17:44 +00:00
Ray Milkey
8fba1c81d0 ONOS-3369: log an exception on REST server errors
Change-Id: I407ed7576ff79b5781d2a688c78367266643aaea
2015-11-17 18:24:22 +00:00
Simon Hunt
864333ae70 ONOS-3265: Re-used device glyph for deviceTable icon.
Change-Id: I5c22c6e3229780dae9ced370c0d27fcd516a2f16
2015-11-17 18:02:33 +00:00
Simon Hunt
20856ec0a3 ONOS-3265: Added navigation button / logic for devices/flows/ports/groups views.
- just need to create a "devices table" icon.

Change-Id: I3efca7dbb1ebb718416b583b71639763b9f32886
2015-11-16 15:58:14 -08:00
Jonathan Hart
d9df7bd278 Fix naming convention issues in preparation for stricter checkstyle enforcement
Change-Id: I918b7b1dcf6424a526b6b26b89acc9a57d807fec
2015-11-13 16:28:02 -08:00
Phaneendra Manda
2be2f88066 Class name corrected while retriving stream from json
Change-Id: I325bf61d001194953db137131c414bb877d8613b
2015-11-13 19:16:16 +00:00
Thomas Vachuska
761f0040f3 ONOS-1684 Added support for app dependencies.
Change-Id: Iae318c24c3c9bd43d84318c79ac420fc85d5d599
2015-11-12 21:37:58 +00:00
Simon Hunt
95d56fdd4f ONOS-3347 - HostMoved event now processed correctly.
- added new DefaultHashMap utility class
- updated TopoViewMsgHdlrBase for cleaner event translation.

Change-Id: I1c5e8c981e2d617366c25f497dc9336e09684a2e
2015-11-12 21:05:38 +00:00
Simon Hunt
1ad592760b ONOS-1864 -- Topology view sending events after view changed
- it helps if we remove the model listeners when the UI tells us to stop monitoring topology.

Change-Id: I272a664cdddecf584b20e496eebed3275fc9a9aa
2015-11-10 15:23:21 -08:00
Simon Hunt
a211f7fac0 GUI -- Ensure that topology view dialog is closed if we navigate away from the view,
or if we switch overlays.
 - also add setTitle() function to dialog API.

Change-Id: I68bf1ff3f329e61bcf41512a9ebdefb1be7a0f95
2015-11-09 13:29:53 -08:00
Simon Hunt
75c25689b5 ONOS-2850 : Continuing Topology Programmable Dialog box --- WIP.
Change-Id: Id82c74c2acec633b38595975ed605adb81d9ec90
2015-11-02 16:50:00 -08:00
Simon Hunt
8d558085e8 ONOS-2850 : Beginnings of Topology Programmable Dialog box --- WIP.
Change-Id: I7e08b3c5d97f409c470eeb97b0f988a14b6d495f
2015-11-02 19:07:26 +00:00
Simon Hunt
144bd799e2 ONOS-3129 : GUI Intents to Topo :: part the third -- (bug fix) only navigate if a table row is selected.
Change-Id: I21950448c0f05df29edbdd3ba8068ebc8c028da0
2015-10-28 11:51:05 -07:00
Simon Hunt
4a6b54b1cd ONOS-3129 : GUI Intents to Topo :: part 2 - pushing data through topo view and having the intent path show up.
Change-Id: Ie626a46e189d2b704d683e0f58762a68cd3d3a7d
2015-10-28 17:44:11 +00:00
Simon Hunt
4e412732d7 ONOS-3129 : GUI Intents to Topo :: part 1 - making intent table rows selectable; adding topo button.
Change-Id: Iac53411c2a5af9f093d822d49a76b3cd5117fbf1
2015-10-27 15:25:47 -07:00
Simon Hunt
de99e0b339 GUI Topo -- Badges - Enhanced uitopo archetype to also use badges.
Change-Id: I80cd4783a4154a2ccce6054175022b97ef7bc6c1
2015-10-26 16:30:02 +00:00
Simon Hunt
004fc2c4f8 GUI Topo -- Badges - Fixed glyph positioning. Added CSS for info/warn/error statuses.
Change-Id: I9e37863a3425df9a9ecd2d20f5526e4f63c6ad00
2015-10-23 11:56:08 -07:00
Madan Jampani
ec1df02f3e In preparation for dynamic clustering support:
- Added Cluster metadata service and metadata store interfaces
- Added a static cluster metadata store implementation that is backed by a local file.
- Consolidated the existing cluster.json and tablets.json metadata files into a single cluster.json file that has all the cluster related metadata.
- Removed dependency on ONOS_NIC env variable.

Change-Id: Ia0a8bb69740caecdcdde71a9408be37c56ae2504
2015-10-23 17:51:08 +00:00
Simon Hunt
5674db9e41 GUI Topo -- Badges - WIP.
Change-Id: I84a4d688f960f5162b9ae7c7c14ee4c118e2c707
2015-10-22 16:12:55 -07:00
Simon Hunt
13cc0835fc GUI Topo -- Added missing glyphs
Change-Id: I5895b86248bc084c9e71c52cdb6161ae5b736e4a
2015-10-22 09:23:32 -07:00
Simon Hunt
e9343f3799 GUI Topo -- Cleaned up NodeBadge, now that we have a clearer idea of what we want to model.
Change-Id: I754a94cbd1fbe2a2c8affccaca88c48c3fa33b92
2015-10-22 16:18:02 +00:00
Simon Hunt
53ec73fb95 GUI -- added topo test scenario skeleton for showHighlights.
Change-Id: Ie2cf901bc37343618563b38b3825b03a4c0db668
2015-10-19 16:55:24 -07:00
Simon Hunt
a5b53afebc ONOS-3128 : Web UI - Traffic overlay as default overlay.
- fixed bug in radiobuttonset which failed to update button selection state via programmatic selectedIndex() call.
- default overlay configured at beginning of topoToolbar.js

Change-Id: I54c82e402b3c3955c3d83a264c6d8ac14127ce70
2015-10-12 15:56:53 -07:00
Simon Hunt
092912500e GUI -- Topology Overlay - removed dead code.
Change-Id: I8be1b072d6b7a20aadffcd5463b02a222ff4248d
2015-10-12 21:44:15 +00:00
Simon Hunt
044f280721 GUI -- Added "devices" scenario to display all device types.
- added "query" glyph.
 - added glyphDefined() predicate to glyph service.
 - made sure query glyph is displayed if a device type for which there is no corresponding glyph is encountered.

Change-Id: Id5339ad3b666b885e096ced57760c5f84d8bcfc2
2015-10-08 12:38:16 -07:00
Thomas Vachuska
ea5adc6b44 Corrected output of network configuration subjectKeys in JSON output; no longer relies on subject.toString.
Change-Id: If4e07bc27cfaf8feb59397a5f104e5f663504f6e
2015-10-07 20:57:03 +00:00
Simon Hunt
b691f0adfe ONOS-2798 - GUI -- added microwave dish to glyph library.
Change-Id: I9581eb1cb7f454a0a83bbc6edfb785a6f399ce7b
2015-10-07 11:38:49 -07:00
Simon Hunt
d557925cd0 ONOS-2876 -- GUI - Setting friendly device names.
Change-Id: I3e84f473af4c26c9a5e8b5cf9598d1448c4be20c
2015-10-06 23:24:18 +00:00
Thomas Vachuska
8f62f57ee1 Sketched out server-side GUI code for setting/getting device friendly name.
Change-Id: If9cfe6b549fc312495f429f05f0907e0e24f2ee7
2015-10-06 12:17:44 -07:00
Simon Hunt
d766c31389 ONOS-2876 -- GUI - first cut at client-side code for device friendly name setting (still WIP).
Change-Id: I531a2f1fef698cb72a5529f732bb2a0a97e2acc4
2015-10-06 11:46:41 -07:00
Srikanth Vavilapalli
95810f5465 CORD-13:Table Statistics support along with CLI and REST
Change-Id: Ic7facc73754c4b1e7c9c5a9eecd217f89a67e135
2015-10-05 15:56:38 +00:00