1051 Commits

Author SHA1 Message Date
Simon Hunt
e7f4bb00f2 GUI -- Reworking sample view to be more interesting. 2014-11-04 15:52:00 -08:00
Simon Hunt
2524891f58 Restructuring GUI code - implementing view life-cycles.
Using sample views for now.
Still WIP.
2014-11-04 11:25:48 -08:00
Simon Hunt
195cb389fd Restructuring GUI code - first pass - WIP. 2014-11-03 17:50:51 -08:00
Simon Hunt
1bd9ccf510 Fixed cut'n'paste error in topo details response. 2014-11-03 13:59:19 -08:00
Yuta HIGUCHI
548153202c Changed argument from Device -> DeviceId
- roleChanged(), isReachable()
   Eventually consistent nature of Device store was
  interfering with mastership control.

Change-Id: I9c0dd846a4e30863f922f6706c6cb62fd7c83f29
2014-11-01 09:45:23 -07:00
Simon Hunt
dc3fa083b1 Cleanup CSS 2014-10-31 08:44:55 -07:00
Simon Hunt
ac525757a6 Fixed bug whereby port labels did not fade in filtered views. 2014-10-31 08:38:27 -07:00
Thomas Vachuska
5f99849709 Fixed a defect in GUI details fly-out (it would not appear)
Adjusted L&F of the port labels
Suppressed using buffer-id in packet-out messages; we now always send data; cbench is much more steady now and I see no 0s!!!!
2014-10-31 00:46:11 -07:00
Simon Hunt
3c29c14284 Added port numbers to port labels. Still needs fine tuning, but good enough for the demo. 2014-10-30 21:31:55 -07:00
Simon Hunt
69a8d21d07 Adding port labels to links. WIP. 2014-10-30 17:57:45 -07:00
Simon Hunt
ee66e61638 Added 'B' keystroke to toggle background image visibility.
Also added configuration boolean to indicate whether the background image should be visible on startup.
2014-10-30 14:56:40 -07:00
Thomas Vachuska
8cd66a53aa Added background image of a us-map as a provisional eye-candy. 2014-10-30 11:53:07 -07:00
Simon Hunt
b4d9d4c7db Added 'useLiveData' configuration switch. 2014-10-30 11:27:28 -07:00
Simon Hunt
a4911315ea Added more sample data. 2014-10-30 09:47:05 -07:00
Simon Hunt
73171375f9 Minor format change to network.js 2014-10-30 09:25:54 -07:00
Thomas Vachuska
c3d86aee9b Added link port information to topology data. 2014-10-30 09:15:34 -07:00
Simon Hunt
7c7aafb688 Added ports to link data in sample json. 2014-10-30 08:15:58 -07:00
Thomas Vachuska
1de6601cc1 Tweaked GUI files to clean-up the look and feel and to add a few enhancements.
Default for network.js is now to use live data.
2014-10-30 03:03:30 -07:00
Thomas Vachuska
e972ea52fd Added GUI integration for device & host properties.
Fixed cell files to remove ONOS_CELL definition within; this is defined externally based on the cell itself.
2014-10-30 00:14:16 -07:00
Thomas Vachuska
d16ce18d0c Added Port.Type and plumbed it throughout. 2014-10-29 17:25:29 -07:00
Ayaka Koshibe
e60d452eda avoid transient changes to MastershipStore from being posted as events
Change-Id: Id033cf50f865e44439138f5b3814ebaedb832b73
2014-10-29 11:15:59 -07:00
Simon Hunt
cc26756bf7 Added sample switch data, and augmented selection logic to fetch the detail data from the server.
Also used styled table for displaying properties.
2014-10-29 10:22:17 -07:00
Simon Hunt
c586e216a1 Added fly-in detail pane. 2014-10-28 21:24:08 -07:00
Simon Hunt
f967d51662 Added styling to unpinned nodes.
Also wired up the radio buttons to suppress nodes/links appropriately.
2014-10-28 20:34:29 -07:00
Simon Hunt
9a16c8211c Pin nodes at end of mousedrag.
Allow nodes to be unpinned by hovering over and pressing 'U'.
2014-10-28 17:48:54 -07:00
Simon Hunt
6f376a3f0a Changed hosts to small circles (rather than labeled rectangles), and updated collision prevention code appropriately.
Removed hover-selection mode (will replace with tooltips later).
Added flyout div (hidden for now).
2014-10-28 17:48:54 -07:00
Thomas Vachuska
ce2474aa91 Revised copyright message. 2014-10-28 13:40:49 -07:00
Thomas Vachuska
4f1a60c9fd Revised copyright message. 2014-10-28 13:39:11 -07:00
Simon Hunt
d35961bc18 Added keydown handler.
Some refactoring.
Cleaned up debug configuration.
Links now clipped to edges of node rectangles.
Updated ONOS icon (just a placeholder for now)
2014-10-28 10:31:55 -07:00
Pavlin Radoslavov
33f228af5a Replaced IpPrefix and IpAddress in the following methods
and cleanup related code:

 - Host.ipAddresses()
 - DefaultHost.ipAddresses()
 - HostDescription.ipAddress()
 - DefaultHostDescription.ipAddress()
 - HostService.getHostsByIp()
 - HostManager.getHostsByIp()
 - HostStore.getHosts()
 - GossipHostStore.getHosts()
 - SimpleHostStore.getHosts()
 - ProxyArpService.known()
 - ProxyArpManager.known()

As a result of the above cleanup, the "hosts" CLI command outputs
the IP addresses as "1.2.3.4" instead of "1.2.3.4/32".

Also, the following REST calls might be affected as well with
the above format replacement:
  - REST POST: config/topology
  - REST GET: topology/graph
2014-10-27 19:33:16 -07:00
Simon Hunt
5cd0e8fa36 Fixed node geometry so that [x,y] is now at the center of the rectangle. (Added debug circles).
Added radio buttons in mast head.
2014-10-27 16:19:01 -07:00
Thomas Vachuska
781d18bfa1 Added copyrights to cli, features, openflow, providers and web code 2014-10-27 10:31:25 -07:00
Thomas Vachuska
598924e562 Sketched out TopologyResource for the new GUI. 2014-10-23 22:26:07 -07:00
Simon Hunt
19cb098a9f Another step forward with the UI.
- Added (placeholder) logo to mast head.
- Minor tweaks.
2014-10-23 16:45:08 -07:00
Simon Hunt
2c9e0c284b Another step forward with the UI.
- Added hosts to test data.
- Messed with colors and icons.
- Added more internal configuration values.
2014-10-23 15:12:58 -07:00
Thomas Vachuska
9252bc33a0 Added a REST command to upload topology configuration. 2014-10-23 02:33:25 -07:00
Yuta HIGUCHI
0820da0d2a use managed guava version
Change-Id: I470f69999259ef1233bf37fbc55920b9bd151c7e
2014-10-22 20:31:42 -07:00
Simon Hunt
1c219897b1 Added geometry lib script, and implemented collision prevention of nodes. 2014-10-22 16:32:39 -07:00
Simon Hunt
ae968a6681 Oops. Added missing .png's and fixed a couple of errors in network.js. 2014-10-22 14:54:41 -07:00
Simon Hunt
1c5f8b6a58 Added code to adjust node rectangle size based on text label size, plus a little more for the icon. 2014-10-22 14:43:01 -07:00
Simon Hunt
68ae665ef3 Added 32x32 icons to nodes (place holder images for now).
Made 'layering' layout choice a config option.
Switched sample data to use full length dpids.
2014-10-22 13:58:07 -07:00
Simon Hunt
3ab76a84f0 Added basic drag and select behavior to nodes.
Changed base colors and added .pkt and .opt classes to differentiate nodes.
2014-10-22 13:07:32 -07:00
Simon Hunt
0b05d4a9b2 Initial (v.rough) draft of ONOS UI.
Finally got something working, and need to check it in.
2014-10-21 21:51:18 -07:00
Simon Hunt
8bca74ff3f Added d3 and jquery libs to index.html 2014-10-15 16:56:55 -07:00
tom
1f601248d5 Preparing gui module. 2014-10-13 11:10:40 -07:00
tom
202175ad4a Renaming all Simple*Manager to just *Manager. 2014-09-19 19:00:11 -07:00
tom
82e725763b Converted all package.html files to package-info.java for easier package documentation. 2014-09-13 13:08:40 -07:00
tom
94bb4a4103 Added onlab-misc module and renamed onos-util-* modules to onlab-*. 2014-08-27 22:12:02 -07:00
tom
5ac5188d08 Moved the samples to a separate package. 2014-08-27 18:10:33 -07:00
tom
b1260e4946 Created onos-core-trivial as a place to put trivial implementation of core against which initial set of providers can be developed. 2014-08-26 18:39:57 -07:00