1051 Commits

Author SHA1 Message Date
Ray Milkey
ebc5d22159 Refactor connectivity intent creation to use builders
- Each connectivity intent now has only one constructor
- Intent constructors are now private for leaf classes and
  protected for classes that can be derived from
- Each intent class has a Builder class that accumulates
  parameters for intent creation
- Each intent class has a public static builder() method
  to create a builder
- Each Builder class has a build() method to create the
  intent from the accumulated parameters
- Added keys to a few intent types that were missing them
- Tightened up usage of checkNotNull(), taking advantage of
  the return value to save some lines of code
- Modified callers to use the builders instead of directly
  calling the constructors

Change-Id: I713185d5ecbadbf51f87ef7f68fec41102106c78
2015-03-23 21:12:14 +00:00
Ray Milkey
67c22726a2 ONOS-1242 - REST API for Withdrawing Intents
- upgraded Jersey to 1.19 for some REST bug fixes for Java 8
- consolidated references to Jersey by using the dependecy
  management plugin in the top level pom file.

Change-Id: Ic027f97f8fce6c673c9f2c02a92abaeedfedeb97
2015-03-23 20:40:33 +00:00
Bri Prebilic Cole
54d0938881 GUI --Base Tooltip Service created.
- tips will appear above the mouse when element is hovered over
      - tips disappear after mouse leaves element
      - positioning of tooltip is still WIP, testing of it was run in Sample View

Change-Id: Ic3be1235bf8d2d4bbf473f965e3a1f8c79ce9fc6
2015-03-20 17:04:45 -07:00
Simon Hunt
da2f3cc041 GUI -- Switched order of Instances and Summary buttons on the toolbar.
(it just feels better).

Change-Id: If447ee1f8f76c22607da41767b3de0f46d35847f
2015-03-19 15:11:57 -07:00
Bri Prebilic Cole
d621905a16 GUI -- Topo Toolbar is destroyed after view is rerouted.
Change-Id: I10085d3b8b77756fac988633dc8b930e433f81fd
2015-03-19 14:34:22 -07:00
Bri Prebilic Cole
deca6e9538 GUI -- Created new glyphs (with unit tests) for toolbar.
Change-Id: I4a118f5efdbaa41d3ef657de2adb4ad360b1c4f4
2015-03-19 13:51:48 -07:00
Simon Hunt
0906014a17 GUI -- Fixed topo toolbar button synchronization with keystroke commands.
- Added toggleNoCb to the toggle button widget.
- Added _keyListener property to keyBindings structure, and the invocation of it from keyIn().
- Added keyListener to topoToolbar to synchronize button state.

Change-Id: Iffb1dc5d38f2d9010f5e246cfb81a6b3db30d4af
2015-03-18 20:23:44 -07:00
Thomas Vachuska
8683e01678 Fixing codec usage.
Change-Id: I9101296a7ec4d4b13bf11df3e49e17afad79405e
2015-03-19 01:40:30 +00:00
HIGUCHI Yuta
3c994f7e8c ONOS-1329: Migrate Codec related code to onos-core-common bundle
- removed unused dependency to onos-core-trivial tests

Change-Id: I0f13cff6cc99403f7c0e0d7362f83d0ba557f10b
2015-03-19 00:42:52 +00:00
Bri Prebilic Cole
04b4140b10 GUI -- Cleaned up topoToolbar.
Change-Id: I07bb0248de27567101055977396b6aae072c979b
2015-03-19 00:35:50 +00:00
Bri Prebilic Cole
4db8dce997 GUI -- TopoToolbarService created, working first set of toggles added.
- WIP on svg exercise (tabled to be worked on on another date)

Change-Id: I8d4ed84f0de44516419910dc5ee4c8eca7dc46ff
2015-03-18 22:50:39 +00:00
Ray Milkey
3e3ec5f786 [Cardinal] Add builders for Intents and remove extra constructors.
Starting with PointToPoint intent to see how it looks

Change-Id: I5366a05d657ceaad18c03b95cd71f5d1107200e2
2015-03-18 22:17:54 +00:00
Bri Prebilic Cole
91425fbfa8 GUI -- SVG practice (button that moves when you try to mouseover) created. WIP
Change-Id: Ic1232f7a7d6b645436603107da05361ce4d7d18a
2015-03-18 16:25:08 +00:00
Brian O'Connor
6ea48a22fe Starting snapshot 1.2.0-SNAPSHOT
Change-Id: Iffa1055c22448849353ede6581c277f4d3de78d8
2015-03-17 20:07:20 -07:00
Brian O'Connor
91d9019b24 Tagging ONOS Blackbird release: 1.1.0
Change-Id: Iee1accb8f83e03a1c4b2250d36d48aefd6383c97
2015-03-17 19:45:58 -07:00
Thomas Vachuska
ef646764d5 Changing default view of the new GUI to the Topology View.
Change-Id: I99366a65bbdb91c221e70c6a0f3614c6ee319878
2015-03-17 22:51:00 +00:00
Brian O'Connor
1545b1ef08 Starting snapshot 1.1.0-SNAPSHOT
Change-Id: I8caca4df60027426c18b51c1b35c313fe9ac1c10
2015-03-11 16:38:23 -07:00
Brian O'Connor
20fa3a45f9 Tagging 1.1.0-rc2
Change-Id: I1fa0feb1b790f79baa465fd82965433e109b34b2
2015-03-11 16:23:07 -07:00
Simon Hunt
3b9ad04d72 GUI -- Added websock open listeners mechanism.
- made event handler structure parsing a little cleverer.

Change-Id: I15120dabd0aade28e6ee3680faf96f408aed1450
2015-03-11 15:26:08 -07:00
Thomas Vachuska
20084b77df Testing & fixing GUI fail-over code.
Change-Id: I64843186bf05020ce77a1508a300391e0db6bf48
2015-03-11 20:49:13 +00:00
Simon Hunt
8b6d2d4467 GUI -- Continued work on supporting GUI failover. WIP
- Thomas to complete.

Change-Id: I4ed40a0d5b0b48cd1d9fac175a1f66e81df7dacf
2015-03-11 13:04:52 -07:00
Thomas Vachuska
b6acc7b239 Adding code to enable GUI failover.
Change-Id: I8423f17349411d24332db8670840438d0d8ec8ba
2015-03-11 11:25:51 -07:00
Simon Hunt
4c7edd3df9 GUI -- Initial cut at bootstrap message from server to client.
- Note.. Thomas to layer changes on top of this... WIP

Change-Id: I6e2a624e2cfd6fc0ece761be46b71b23242dd2b2
2015-03-11 18:00:42 +00:00
Simon Hunt
2d16fc843c GUI -- Fixed broken unit tests; augmented error logging.
Change-Id: I81760fa795fb3bad7703933bcaaf2b891e3ba37a
2015-03-10 20:22:02 -07:00
Simon Hunt
237676b53d GUI -- Topo - rewired modules to call wss.sendEvent(...) directly.
Change-Id: I9077694895b814c6dc342a518948e05e0cc2df01
2015-03-11 02:22:05 +00:00
Ray Milkey
c24cde3305 Add priority to Intents
Change-Id: Ibe63356f5b15a6aa6ca7731dba3382c3317a95ec
2015-03-11 02:14:30 +00:00
Simon Hunt
20207dfca7 GUI -- Cleaned up websocket code.
- isolated new WebSocket() call, so we can mock.

Change-Id: Id1225e2c65732e750b289224e838a326c79f02a4
2015-03-10 18:30:23 -07:00
Brian O'Connor
6b5281356b Adding emptyTreatment() and emptySelector()
Note: There was a change that adds a DROP action to
a traffic treatment if there are no other actions present.
To get a traffic treatment without the drop rule, use
emptyTreatment()

Change-Id: I1f23ed5e1fa7519eb94fcafa85facbad815d5e9c
2015-03-10 16:48:45 -07:00
Thomas Vachuska
329af53ae8 Deprecating old web-socket stuff and adding ability for client-side message handler registration. Failover still to be done and same for the async hooks.
Change-Id: I6029c91eb1a04e01401e495b9673ddaea728e215
2015-03-10 02:08:33 -07:00
Simon Hunt
9d28656260 GUI -- Navigation Pane canceled with Escape key.
- Also, fixed color of drop shadow on .dark navigation pane.

Change-Id: I43fa58923158ad3f637e9f8c3dbd50043e89176e
2015-03-10 00:15:14 +00:00
Abhishek Dwaraki
1e5873e94d ONOS-400 Topology creation and up time formatting fixes
Change-Id: Iaf6d4dbbc1c7eaae9465a2d931d40f07a75ad07d
2015-03-09 22:50:23 +00:00
alshabib
346b5b362d Traffic Treatements now support deferred, immediate, table, and clear instructions.
By default, treatments are all immediate. Treatments will be deferred if the builder
predicated by deferred(). Subsequent treatments will be deferred until immediate is called
on the builder again. Multiple calls to deferred and immediate are permitted.

Change-Id: I76b3a44f2219fc1e72a7fb41b72d7bd602be85b7
2015-03-09 18:28:58 +00:00
Thomas Vachuska
3553b30975 ONOS-1235 Enhanced UI extension mechanism to provide message handler factory and took a first cut at the core UiWebSocket mechanism.
Change-Id: Iaad080c5371c3aa5e24a23489b1679d373ec0720
2015-03-09 01:05:47 +00:00
Thomas Vachuska
9730ec9da0 Enhanced look and feel of the GUI navigation pane to be consistent with the mast-head look and feel. Also enabled the dynamic content generation in web.xml by default; accessible via onos/ui/main.html URL.
Change-Id: I9f3ad321ff3eadc4092bd131f30568ec7c7b6f9d
2015-03-07 17:25:34 -08:00
Simon Hunt
14caf7ce37 GUI -- Fixing broken unit tests.
Change-Id: Ibb5dd090e300ae3f7046144c825d8f5d53e7e24e
2015-03-02 15:51:28 -08:00
Brian O'Connor
266ac66643 Starting snapshot 1.1.0-SNAPSHOT
Change-Id: I2abf73c248c04f0559f97b313be034b48761695a
2015-03-01 07:36:09 +00:00
Brian O'Connor
352236e289 Tagging 1.1.0-rc1
Change-Id: I9c95f8309e1c98bc1a25eeaad1962b4d28257261
2015-03-01 07:36:08 +00:00
Simon Hunt
d3bcef38af GUI -- Fixing broken Toolbar unit tests.
Change-Id: Ic82fd281cc6e51b8395781c39bad075ecb24c096
2015-02-27 18:36:42 -08:00
Bri Prebilic Cole
18489171d8 GUI -- Reworked ButtonService unit tests (fixed logic error).
Change-Id: I793c02a327885b746ccf2345156f7a5fd1007bd2
2015-02-27 17:18:24 -08:00
Simon Hunt
7c7dd3e478 GUI -- Fixing broken Jasmine unit tests.
Change-Id: Ic0c9754c6fcf66d755067467be32d8275b7ffc3d
2015-02-27 11:42:23 -08:00
Simon Hunt
3ab202835d GUI -- Better cleanup of topo view when it is destroyed.
Change-Id: I038fb43f9a5afc63393583334576d0be81b64f1f
2015-02-26 20:32:19 -08:00
Simon Hunt
bc76fb19e7 GUI -- Added VeilService.lostServer() function to only invoke the veil if the calling controller is the current controller.
- removed test code from rest.js

Change-Id: I2e05b42a10a1e66a7a26210e347c584c6fbd5bf2
2015-02-26 18:09:54 -08:00
Simon Hunt
7be1be4d39 GUI -- Reworked Toolbar and button CSS styles for light and dark themes.
Change-Id: Id882d7a22aa89dbc9ac1e82e91bf82da89bdecf1
2015-02-26 17:20:33 -08:00
Simon Hunt
a89f0f9e2d GUI --Added cleanup on scope destroy for sample and device views.
Change-Id: Ia1656eb3987f2f896fa7d6d2cec2860495ce36d7
2015-02-26 16:47:12 -08:00
Simon Hunt
df51001287 GUI -- Refactored Toolbar Service.
Change-Id: I758d0da30438eb7257350480024d3bd99624509c
2015-02-26 16:34:44 -08:00
Simon Hunt
85fa2b899d GUI -- Refactored Button Service.
Change-Id: I194af8f44aae4d6905bbe564d3aaae6599d20e92
2015-02-27 00:29:09 +00:00
Simon Hunt
6925286a54 GUI -- Cleanup in sample view, toolbar and button services.
Change-Id: I8e1f2cc344547f1a76681d74eec138495dd39bf6
2015-02-26 19:53:21 +00:00
Simon Hunt
7442d210d4 GUI -- Removed 'Angular' from the index.html title element. (Ready for release)
Change-Id: Ia093bc75cdd166d79e04fc899616f7589109df61
2015-02-26 10:55:00 -08:00
Simon Hunt
9e2104c743 GUI -- TopoView - Added Toggle Port Highlighting enable/disable with 'P' key.
- add/remove mousemove handler.
 - removed commented out test code.

Change-Id: Ice47db36491d466d2d73f6cef1dfc90ff9d8b088
2015-02-26 10:49:19 -08:00
Simon Hunt
969b3c95a3 GUI -- TopoView - port numbers now offset along the link.
Change-Id: Ic093e5bb5f53d1d54ef4225917ff1177e4d5eef2
2015-02-25 18:21:29 -08:00