1051 Commits

Author SHA1 Message Date
Bri Prebilic Cole
258f046e6e GUI -- Toolbar dynamically sizes based on added contents, adjusted CSS padding, minor radio button edit.
Change-Id: I52c3ef8af13a2b743cf7d71a83d42d7c9b5e5d6b
2015-02-25 16:40:57 -08:00
Simon Hunt
8ae474b684 GUI -- TopoView - don't add source port on host link.
Change-Id: Ia1a298eb6cab9da1c209c8365b244025468f1a20
2015-02-25 15:39:14 -08:00
Simon Hunt
1a5301e1c0 GUI -- TopoView - Port numbers now appear when hovering over a link.
- (but they are centered on the node -- still need to move them away from the node).

Change-Id: I491851ef2f4d31b85db0dbc2b3145218a4913844
2015-02-25 15:31:54 -08:00
Simon Hunt
78f6598ded GUI -- TopoView - Corrected trafic data to match updated port numbers.
Change-Id: I43d4f8980b1795782b17debe9fd7a5b177878c1c
2015-02-25 14:02:32 -08:00
Bri Prebilic Cole
664d4702ad GUI -- ButtonService - Fixed radio buttons selection bug.
Change-Id: Ibdf77e231ce58d4863b11daecb0b8106f8e979a6
2015-02-25 21:43:02 +00:00
Simon Hunt
5f361089f3 GUI -- TopoView - capture source and target port numbers on link models.
- "traffic" scenario: made all port numbers unique.

Change-Id: I98f0153e2523d0ad451f92ee1e63e9c12f8428d7
2015-02-25 11:37:25 -08:00
Simon Hunt
d526412659 GUI -- TopoView - Changed link "enhancement" to be addition of glow filter via 'enhanced' CSS class.
- removed unnecessary properties of link data object (delegate to source and target for endpoints).
- removed feature envy for existing links.

Change-Id: I9f96792d5665665a3467e419d80803e1b0db389b
2015-02-25 19:37:04 +00:00
Bri Prebilic Cole
439cd7794f GUI -- Created sample button and toggle for demo.
Change-Id: I3e2fc93f63688856ce14f347e20b4fb813866970
2015-02-25 09:20:36 -08:00
Simon Hunt
fb8ea1f424 GUI -- TopoView - Initial work for implementing link selection.
- a step in the direction for showing port numbers.

Change-Id: I313782374c82b87b6d426e88519a5ab7c072a622
2015-02-24 21:38:14 -08:00
Simon Hunt
a4242debca GUI -- TopoView - Refactored a bunch of functions out of topoForce into topoD3.
- finally, topoForce is a respectable sub-1000 LOC :)

Change-Id: I2a9ac2881c9d54663faecf338c512a368f17bc34
2015-02-25 01:16:54 +00:00
Bri Prebilic Cole
f7280d0c35 GUI -- Toolbar and ButtonService appearance work - styled light and dark themed buttons and toolbar.
Change-Id: I07f2d6adcf5a028fa76f50301d6bdfd1e75b1188
2015-02-25 01:13:50 +00:00
Bri Prebilic Cole
be8b9a4e3d GUI -- ToolbarService and PanelService show and hide panels based on margin and hideMargin, and fade is a setting.
Change-Id: I85b5dd447df09e13e9308473c548621d4b76fa15
2015-02-24 21:49:43 +00:00
Simon Hunt
4d4996e136 GUI -- TopoView - Fixed problem of labels on hostlinks not being positioned correctly.
- updated traffic scenario.

Change-Id: I452e0e81327a9006c20e00a843c6096432a1efac
2015-02-24 19:58:18 +00:00
Bri Prebilic Cole
5000a754d8 GUI -- ToolbarService - showing and hiding the toolbar panel - WIP.
Change-Id: Idf9ccbfdeb2b3906fefdf022c216eee2611787fa
2015-02-24 09:30:37 -08:00
Simon Hunt
8eb4d3acdf GUI -- TopoView - Labels on host links now hidden when hosts are hidden.
- removed 'animated' class from links.
  - fixed link label colors (text and rect) for both themes.

Change-Id: Iee638839090b64685d40296985e980f4e6105d82
2015-02-23 18:23:29 -08:00
Thomas Vachuska
529db0a9b5 Preparing GUI resources for dynamic injection of contributed content. Ready to go, but for now disabled in web.xml.
Change-Id: I0751077702835e7572b20037ba6ddc1950be6037
2015-02-23 16:42:14 -08:00
Thomas Vachuska
e95da77264 Promoting new GUI resources into place; still hidden behind legacy redirect though.
Change-Id: If1f25cd7297b93374f492474eb321da16e9995ec
2015-02-23 15:50:11 -08:00
Thomas Vachuska
5f39965caa Migrated legacy GUI resources out of the way for the new GUI.
Change-Id: I92dff4012c63d2f60ee61b5d10cbc4a384d49233
2015-02-23 23:18:45 +00:00
Ray Milkey
43a2822c10 Refactor tests to use shared mock implementations
Change-Id: Iba4e44b7bb88f8a31add9475a9155f85375ae61a
2015-02-23 22:44:24 +00:00
Simon Hunt
d450da9d18 GUI -- TopoView - mockserver.js -- re-instated the "auto-advance" feature.
Change-Id: I867430cf42483fa7f2cacdd0b6fdd97d0eaa90a9
2015-02-23 13:25:59 -08:00
Thomas Vachuska
a0509897a9 Preparing for dynamic GUI extensibility.
Change-Id: Ic25143bb9ad8919d7c9e70d932dde528a9227e6a
2015-02-23 11:31:37 -08:00
Simon Hunt
142166bb96 GUI -- TopoView - Updated "traffic" test scenario.
Change-Id: Ic6fb17f069d87000cfd0f6c68b2f52daf9ef163f
2015-02-23 11:08:34 -08:00
Bri Prebilic Cole
c4403328be GUI -- Refactored ToolbarService to have only new toolbar functions.
Change-Id: I0319335915f37d3a63b3ac734d8f8e00ebed20ae
2015-02-23 10:29:32 -08:00
Thomas Vachuska
93da11f8b5 Providing sample web.xml configuration for enabling basic authentication of REST API & GUI.
Change-Id: I1ee8853945611d7778a4a4dc38883cfe266a5efa
2015-02-23 18:22:53 +00:00
Bri Prebilic Cole
08381ce2a4 GUI -- Button and Toolbar Services with unit tests - finished implementing button widget, started modifying toolbar to use ButtonService
Change-Id: I96078516d396951175fb8d9e69dd7796da9f114e
2015-02-23 17:25:46 +00:00
Thomas Vachuska
d32bfdcaa9 Fixing javadocs.
Change-Id: I49faf425e0f9aa53547caf42f1d4025fb8d9dba6
2015-02-21 16:39:25 -08:00
Thomas Vachuska
fe8c98ad0b Adding support for user interface extensions.
Change-Id: I1e41d16efc11be31ad4c2fb0c09e86e3dfd26706
2015-02-21 16:17:35 -08:00
Pavlin Radoslavov
ab8553a52a Fix a bug: there are two ECN bits in the IPv4 header, not three.
Change-Id: Ibdfce817f2a506644e0f9cd16f46cf6ab1f75eb7
2015-02-20 14:13:50 -08:00
Simon Hunt
2bfbad2d7a GUI -- TopoView - Oblique - removed unreferenced ThemeService injection.
Change-Id: Ie993faeaeb62538f52b6289ec3e2af90282be70c
2015-02-20 11:57:11 -08:00
Simon Hunt
c3c5b678a0 GUI -- TopoView - Re-instated the oblique view function. (Keystroke 'Z').
Change-Id: I1bc4c11590660142a6bc9f5f71c06a664dbfa80b
2015-02-20 19:49:51 +00:00
Yuta HIGUCHI
6a47964aad Instruction related fixes
- Removed redundant equality check. (ONOS-975)
- Enforced using Instruction Factory methods.
- cosmetic fixes.

Change-Id: I178b55f8568c1a9132f0aa88465b8b34dc2b2df2
2015-02-20 19:12:19 +00:00
Simon Hunt
96f88c675d GUI -- TopoView - Linking Oblique module in.
- updated oblique test scenario events.

Change-Id: I590f22fbbc356c564cefe8d87e73fed701d88f98
2015-02-19 17:57:31 -08:00
Bri Prebilic Cole
40be6b2e9c GUI -- ButtonService - modified IconService to load glyphs without icon mapping
- created button and toggle functions in ButtonService with unit tests

Change-Id: If4d35e3ed7df8c1b8f7355f63f39d0c5d84db753
2015-02-20 01:23:38 +00:00
Simon Hunt
ef1138da77 GUI -- TopoView - Skeleton for oblique view.
Change-Id: Ic1b0cc6ffd83128c8267645ecff8363ba8c0de5f
2015-02-19 17:14:08 -08:00
Ray Milkey
cc53abd74e Favor adapter classes over service interfaces in unit tests
In unit tests that are mocking an entire interface, instead
extend the Adapter class so the unused method overrides
are no longer needed.

Change-Id: I6e332cc5cb59410f163deea223fbc94e73d83917
2015-02-20 00:35:32 +00:00
Simon Hunt
0e48c29425 GUI -- TopoView - re-instated Equalize Mastership Roles.
Change-Id: I8e3970e6da3a0854592a76141b2bc3f2fcd6a3c3
2015-02-20 00:17:21 +00:00
Simon Hunt
e01de782e2 GUI -- Protect against non-existent link element.
Change-Id: I6638de69c9d826c7697468727004c4392bf4925a
2015-02-19 16:01:07 -08:00
Simon Hunt
27a5cc8b45 GUI -- Moved cap() utility function into FnService.
Change-Id: I0afdb38e5b37e085ffebaedc74d3cb2857472b12
2015-02-19 14:50:02 -08:00
Simon Hunt
62c2f8f140 GUI -- Removed dead code from topo view.
Change-Id: I9bb7c856a13cc7bdb9e39f6f6c896bfb434658a7
2015-02-19 14:19:10 -08:00
Simon Hunt
56004a896f GUI -- SvgUtil- added scale, skewX and rotate functions.
Change-Id: If7c3af6bba81905b3bbb887edcf9bf5acbb927e1
2015-02-19 13:53:27 -08:00
Thomas Vachuska
ecb63c5a01 Updated accumulator documentation and refactored names to remove the event heritage.
Change-Id: I2238ab1215281702e670a406fb901ba8a4ef85ce
2015-02-19 18:26:00 +00:00
Bri Prebilic Cole
751804efab GUI -- Implemented createToolbar in ToolbarService.
- Will log warnings if no toolbar id is given, there are no tools, and if the tool's ids are duplicated
- creates toolbar div and calls add button functions based on tool input
- Created skeleton dispatchers to ButtonService
- Wrote unit tests for current ToolbarService

Change-Id: I3d05158c5ce132cb94d465674949ade81ed12664
2015-02-18 17:06:11 -08:00
Simon Hunt
639dc66919 GUI -- TopoView - re-implemented Quick Help panel.
Change-Id: I92edeb570a97eff87a5f9b08373ff0517849bf24
2015-02-18 14:19:26 -08:00
Thomas Vachuska
62ad95f3f1 Added ability to upload apps as both app.xml or app.zip.
Added a number of app.xml files for built-in apps.
Added ability to install & activate in one command.

Change-Id: I3fa5fa487ef76d9fe3da4d6dce8045d538cba423
2015-02-18 21:33:52 +00:00
Yuta HIGUCHI
179f3775e3 Fix boxing/unboxing to parse a primitive
Change-Id: I83f6beac585f8b6b28a95080783e5ca51454fbfe
2015-02-18 17:28:39 +09:00
Simon Hunt
eb0fa053a0 GUI -- TopoView - re-implemented All/Pkt/Opt filter radio buttons.
Change-Id: I41cf0eca60a685606a631c0edf4779d7730bb649
2015-02-17 19:20:36 -08:00
Bri Prebilic Cole
2e3f856aa2 GUI -- Started writing the ToolbarService with its unit tests -- WIP
Change-Id: I3adb60cdf9b516e3a325a85f1b0487710ef22178
2015-02-17 17:21:38 -08:00
Bri Prebilic Cole
7c44575150 GUI -- Removed onos-fixed-header redundancies, wrote unit tests for fixed-header and sortable-header directives.
Change-Id: Iccf9348a4697f494a4234b024781fede0719491d
2015-02-17 14:49:58 -08:00
Michele Santuari
4b6019e449 ONOS-631 #Initial MPLS intent implementation
Change-Id: I6f906b953f06f395cc67e612648802e333c0e581
2015-02-14 10:00:48 +00:00
Bri Prebilic Cole
e1bda3f157 GUI -- Cleaned up table directives, device view, fixed flash-spec unit tests, started unt tests for table.js.
Change-Id: I3020fec5f3f57cebc237c1a6cbfd07deb3607189
2015-02-13 17:02:12 -08:00