1051 Commits

Author SHA1 Message Date
Bri Prebilic Cole
9b80ca04a3 ONOS-1753, ONOS-2138 - GUI -- Now all topo preferences are persisted.
Change-Id: I4eafecff000355213c04640457f0f5967cb4e0b8
2015-08-03 18:43:24 +00:00
Bri Prebilic Cole
8d00378e3d GUI -- Topo force layout bug fixes. ONOS-2398 investigated and partially fixed, but also discovered there is a problem in the d3 library.
Change-Id: I4afbc1cc296eec3ad7bf8e47a59b1747ccce1481
2015-08-03 16:36:45 +00:00
Marc De Leenheer
fc913dd2f7 LINC driver and OF device provider report correct optical port types
Change-Id: I501ce5f6f53136254024ad7122a4fec0d17504e0
2015-07-31 15:30:04 +00:00
Thomas Vachuska
d894b5d5f7 Fixing javadoc warnings, provided missing package javadocs and corrected group structure.
Change-Id: I2637afe49b81e8e6d10ef3bb0f2a1cf50b2564cc
2015-07-30 20:27:44 +00:00
Simon Hunt
fb940110ec ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Preliminary work in implementing installation of custom buttons to details panel for selected device.

Change-Id: Id26ac301f72b4521d2a388d34ee0a287f400c68c
2015-07-30 17:58:57 +00:00
Simon Hunt
00a27ff91b ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Cleaning up PropertyPanel methods - overloading values (string, int, long, object)

Change-Id: I84c86a48de8a776b407982687bc02def18eaef61
2015-07-29 02:27:39 +00:00
Sahil Lele
3a0cdd57e7 Devices,hosts, and links can be blocked and kicked off with the network configuration api
Change-Id: I68d427f4886a7b63475df8d35383e2e347946946
2015-07-29 01:00:13 +00:00
Simon Hunt
b745ca6619 ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Added id field to property panel, as well as overloaded constructors.
- Added modify*Details() methods to UiTopoOverlay.
- Cleaned up use of string constants.
- Reworked RequestDetails in Topo view msg handler (and base).
- Fixed bug in topo UI where selected host title click caused exception on server.

Change-Id: Ib2a3cf60fae8ad8cda77a3b6933ee758262e6f3c
2015-07-29 00:23:39 +00:00
Bri Prebilic Cole
236ef680a1 ONOS-2101 - GUI -- CSS for marching ants added. Node.js server now takes -v and -v! command line arguments.
Change-Id: Ifbf1238e37cd19d96a8bd1560b7aa755e9c14808
2015-07-28 23:40:02 +00:00
Simon Hunt
93735afe7d GUI -- deleting experimental code for topo refactoring.
Change-Id: I3984f2f4a29496259877bf045c4cc8f46d78c033
2015-07-28 12:10:30 -07:00
Simon Hunt
629b99ed41 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- Augmented PropertyPanel class for more manipulation, and added unit tests.
- Added TopoConstants.
- Fixed bug in topoPanel.js that was not using the typeID from the event data.

Change-Id: I7ad759217f2d32642a09be2a9199cf1fcb45ac6e
2015-07-27 17:38:44 -07:00
Jonathan Hart
eb431c1329 Fixed issue with pushing topo JSON after devices are in the system.
Fixes ONOS-2463.

Ported from onos-1.2 branch.

Change-Id: I9ce7a11e50d8fd6c344be2f90dc046dcba65fe46
(cherry picked from commit 914c35212fd8af0b923ff560f9aa00deaf37ce3a)
2015-07-27 20:47:13 +00:00
Thomas Vachuska
82e95a5de5 Added means to administratively remove device via REST API.
Change-Id: If0c0a98d7f36923dad1855a2303789f99882e224
2015-07-25 13:08:00 -07:00
Simon Hunt
0af1ec3264 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- Implemented initial ability to have overlay modify the summary panel data.

Change-Id: I0d6bd6d62f0e0d5ba9d901a47271044e0c8d0c89
2015-07-24 12:18:06 -07:00
Thomas Vachuska
4e0e0936a6 GUI -- Preventing UI web-socket from attempting to re-open when shutdown.
Change-Id: I4851542d20a3e20b085d42f1fa235909d42f05eb
2015-07-24 10:18:07 -07:00
Simon Hunt
e05cae4d15 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- UiExtension now uses Builder Pattern; added topology overlay factory.
- Refactored UiExtensionTest (and other classes) to use builder.
- Created UiTopoOverlayFactory, UiTopoOverlay, and TopoOverlayCache.
- Started implementation of TrafficOverlay.
- Inject TopoOverlayCache into TopologyViewMessageHandler; added TopoSelectOverlay request handler.
- Modified UiExtensionManager to create traffic overlay.
- Augmented UiWebSocket to create overlays on demand, and inject overlay cache into topo view message handler.
- added client side wiring to switch overlays.

Change-Id: I6f99596aefb3b87382517ce929d268a2447545ee
2015-07-24 15:32:10 +00:00
Jonathan Hart
111b42b7a3 Move address-bindings config to new config system
Change-Id: I6d87ddbf98789dbe8355c453a3263f50fbc5d99c
2015-07-23 10:25:54 -07:00
Bri Prebilic Cole
68844bae25 ONOS-2422 - GUI -- Sample client side code for maven archetypes updated.
Change-Id: I3ce65ab83b24cd04498913cf1fabf8eabb67ba14
2015-07-22 15:41:37 -07:00
Bri Prebilic Cole
70aacc4e1a ONOS-2325 - GUI -- Rewrite / bug fix for table row flashing. Multi-rows act like a unit and row flashes when a single new element is added.
Change-Id: I7be876281c0c86b927366223fc87372ea21034ec
2015-07-22 13:53:48 -07:00
Simon Hunt
72e44bf8b8 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- created TopoOverlayService to allow registration of topology overlays
- modified topoToolbar to include a radio button set for each registered overlay
- created seed traffic overlay

Change-Id: I70770cb1c691730914c81e497823ea08703587f1
2015-07-21 21:34:33 -07:00
Thomas Vachuska
2a5ac75462 Fixing not-ready GUI page.
Change-Id: I7671298502c675ae5fdf2a02e7ee67e775f2e797
2015-07-21 19:26:17 -07:00
Ray Milkey
7b15851500 Fix delete of an intent and add a unit test for it
Change-Id: If28dc96b299ab205e5519aac74d98e2588d1c37b
2015-07-22 02:19:29 +00:00
Thomas Vachuska
a02fc8172e Fixing & enhancing STC test scenarios.
Change-Id: Ieff7ce5350a69d8ebb215a2344c67e41479cf371
2015-07-21 18:37:58 -07:00
Kedar Gupta
47bd480f49 Add POST method for the Host REST API and fix minor documentation errors
Change-Id: I598ace5a94f83f010fdde1b3ad43b90f762a9d33
2015-07-21 22:22:15 +00:00
Ray Milkey
f7cb401b6b Fix ONOS-2090 - Improvements to Intent JSON
- Intents are now identified by the name portion of the appId rather than
  the number
- removed the now useless "details" field which had a toString()
  dump of the intent for when we didn't support all intent types
- Single Intent GET operations now accept a decimal or hexadecimal
  value for the Intent key.

Change-Id: I39d635e68cccf2e59d0d11307b93329a2dc0bc96
2015-07-21 22:21:28 +00:00
Bri Prebilic Cole
9dcaea5c7b ONOS-1865 - GUI -- Keys from Topo View are deregistered once view is navigated away from. Device and App View 'esc' key registration added.
Change-Id: I88896266936a4f148007170d67058036fb365fe5
2015-07-21 14:39:56 -07:00
Bri Prebilic Cole
0e7a1bdaef ONOS-2325 - GUI -- Multiple row highlighting minor bug fixed.
Change-Id: I60108e7f0f6992e28dd233980a09cc110c39c4a7
2015-07-21 17:46:37 +00:00
Bri Prebilic Cole
0bc4de2196 ONOS-2325 - GUI -- Table View rows now flash yellow when their information updates. Minor device details panel bug fix.
Change-Id: I78eb0f90af00ce4484255d7e9e0c3c8a10a0eda7
2015-07-21 01:14:51 +00:00
Ray Milkey
b9af946649 Implement REST APIs for link flow statistics
Change-Id: I65ca3cec9dd1771a70811afd319619827f7b9010
2015-07-20 16:38:05 +00:00
Ray Milkey
303e671d3b Refactor to use JAXRS URI builder and fix HTTP status for bad JSON
Change-Id: I696bdd4792b002391abe709c7a0e3e600ad50157
2015-07-20 16:36:52 +00:00
Bri Prebilic Cole
17c6d0acdb ONOS-1749, ONOS-2386 - GUI -- Can jump to selected device in Device View from Topo View by clicking on Detail Panel title or action button. Bug fix for deselecting action buttons on Device View upon details panel close.
Change-Id: If0afe487cf486c17cca7a5950e2a49d3bd8d28bb
2015-07-17 00:04:56 +00:00
Bri Prebilic Cole
8040176c31 ONOS-2385 -- Bug fixes for removing individual links on the Topo View. 5 or more links between devices have a label indicating how many there are between each one.
Change-Id: I301ca6da8c453b54e16980a47e09dfd9f2f80f8b
2015-07-16 18:50:59 +00:00
Bri Prebilic Cole
038aedde30 ONOS-2328 GUI -- Enhanced Topology View to show multiple links individually between devices (1 - 4). 5 or more is a thick line.
Change-Id: Ie096086454fd8d1d5d40f09396681f9cba8597a1
2015-07-13 16:33:14 -07:00
Bri Prebilic Cole
aeeb33ef1c ONOS-2328 GUI -- Started work on seeing multiple links between devices on the topology view. Device links are now grouped based on what device they are between. Also minor bug fixes and investigations into other bugs. WIP.
Change-Id: I444f016268efc5c489ba6ad0282d0f7827fff462
2015-07-09 23:59:32 +00:00
Thomas Vachuska
96d55b16ad Implementing net config subsystem and revising its interfaces.
Added a few basic configs for device, host and links.

Added initial REST API.

Added CLI.

Tests remain to be added.

Change-Id: Ic7bba4b5ad7d553c51d69f6459b3bff146970323
2015-07-09 14:39:10 -07:00
Bri Prebilic Cole
0c41ba26a9 GUI -- Cleaned up directives - onos-sortable-header and icon no longer use isolate scope. Icon directive moved to icon.js. Deleted unneeded TableService.
Change-Id: I53970176b9ca021d1aa7d844ccd961cbf6ac6b51
2015-07-06 15:09:56 -07:00
Ray Milkey
b82c42b0fe Implementation of REST POST API for creating intents
- codec for constraint decode
- codec for intent decode
- POST method for intents
- unit tests for codecs and POST method

Change-Id: Ibc0ef8f99a0c0664710a733985424c77010c49b5
2015-07-06 20:19:42 +00:00
Bri Prebilic Cole
eef67ae18f GUI -- Directive for tooltips on icon elements created. Control buttons on table views now have tooltips.
Change-Id: I77d73efa25bfc3adeb5519d5ca087475f5523c7d
2015-07-01 16:27:23 -07:00
Bri Prebilic Cole
9b1fb9aa33 ONOS-2202 - GUI -- Moved flow, port, and group navigation buttons out of device details panel. Created tab-like behavior to switch between the three views when viewing any of them.
Change-Id: Ibc4291689e913a3537bd621e8e579f5e198ae5f2
2015-07-01 13:57:26 -07:00
Sho SHIMIZU
be63b233cb Regard the release when the APIs became deprecated as Cardinal
Change-Id: I072fa33a2a70baa7466d7a0dc5067191476be0f3
2015-06-30 19:06:50 +00:00
Madan Jampani
0dbac7af9e Fix javadoc warnings
Change-Id: I156c861729fd48d5e6792f810c342e1579482c04
2015-06-25 11:40:30 -07:00
Ray Milkey
eb5c7177bc ONOS-2144 - Complete implementation of REST API for flows
- URL for creation of a single flow is now /flows/{deviceId}
- On successful creation of a flow, Location header contains
  a reference to the new object's URI
- POST operation returns status code of CREATED
- implement DELETE operation for /flows/{deviceId}/{flowId}
- removed deprecations and warnings from REST API unit
  test for flows.

Change-Id: Idb43a651a659e60c07a6f36dfd69004c814b146b
2015-06-25 09:11:43 -07:00
Brian O'Connor
75deea6ee1 Printing stacktrace in UiWebSocket.java catch block log message
Change-Id: I867583e9e4881e6264196062f2c13c591c7ca78d
2015-06-25 16:07:06 +00:00
Bri Prebilic Cole
b3a6afeb5e GUI -- Resizing tabular view refactor and minor CSS edits. App View auto-refreshes by default again.
Change-Id: I362733996c340ed9fd5d674534c29181b7015410
2015-06-24 14:10:49 -07:00
Thomas Vachuska
e18a330163 ONOS-2091 Installing app when already installed will now raise an error
Change-Id: I4dacd63bf4a99244b23b932d35dd9cbd088548c1
2015-06-23 22:22:11 +00:00
Bri Prebilic Cole
0d3c61f67e GUI -- App View no longer auto refreshes by default.
Change-Id: Ifa64779a16e9e27d2af9d49d55727d07aec7ffd6
2015-06-23 11:53:55 -07:00
Bri Prebilic Cole
a7f81e5e03 ONOS-2074, ONOS-2075 - GUI -- App View Control Button state and icon bug fixes.
Change-Id: Icdaf5ca57963c6e4f30618cb6468c980ac3a786d
2015-06-23 10:59:05 -07:00
Bri Prebilic Cole
522e75698d ONOS-2074 - GUI -- Refactor Application view to use directives. WIP.
Change-Id: If886b5af1313ef350e041dc9f9a21ba150edcd79
2015-06-22 17:17:42 -07:00
Thomas Vachuska
750ab045f7 Starting on STC monitor.
Change-Id: I279ef5f26a0e3a5a44c6f597be6c2980f8c955ed
2015-06-19 15:41:32 -07:00
Thomas Vachuska
b4258a911c ONOS-2124 Improved web-exception handling when an anonymous exception, i.e. one without a message, is raised.
Top stack-frame will be used as a message if exception has no message of its own.

Change-Id: I28d68e05a0d805c7320e133d8e17081513cb503c
2015-06-17 15:34:14 +00:00