- Community Home
- >
- Networking
- >
- Software Defined Networking
- >
- UI Modifications
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2014 12:17 AM
10-13-2014 12:17 AM
UI Modifications
Hi Team,
I am trying to update the charts that are generated by default when you run the App Generator. I want the charts to have my data in them, instead of the default data that they currently have.
How do I go about this? The Programmers Guide is very unclear about this and I've read up on SKI but that hasn't helped either.
For example, when I recieve a FlowRemoved message, I want to plot how many bytes were in that flow on the chart (so update the new chart with the datapoint).
Help Please :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2014 03:25 PM
10-16-2014 03:25 PM
Re: UI Modifications
Hi Matthew,
Have you looked at the .js files in the src/main/webapp/app directory for your application? For an app named 'foo', the full directory path is sdn-foo/foo-ui/src/main/webapp/app.
I'll see what I can do to get some additional details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2014 04:20 PM
10-16-2014 04:20 PM
Re: UI Modifications
Hi cmaxwell,
I've got that open - yes.
I guess to clarify, I want to be able to update the graphs with data that is (currently) stored within my app (in arrays and other data structures).
Is there an easy way of doing this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2014 10:52 PM
10-16-2014 10:52 PM
Re: UI Modifications
Hello Matthew,
App generator creates two charts by default with some data.The two charts are getting populated from the values present in java script file sdn-hm/hm-ui/src/main/webapp/app/hmChart.js (the functions mkchart1 and mkchart2)
You can try to code java script files under the directory sdn-hm/hm-ui/src/main/webapp/ , this will help you to create/modify the charts. Also please refer to the SDN Programming guide 2.3 page 197 onwards[Creating a GUI]
Please let us know if this helps or still you face some problem.
Thanks,
HP SDN Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2014 08:18 PM
10-17-2014 08:18 PM
Re: UI Modifications
My question is more revolving around - How do I get the data from the Java code that controls my app, into the javascript code in sdn-hm/hm-ui/src/main/webapp/app/hmChart.js
I've read the programming guide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2014 09:47 AM
10-21-2014 09:47 AM
Re: UI Modifications
Hi Matthew,
Please go to the lib/util directory inside the hp-sdn-sdk directory. In there you will find hp-util-ski-ui-6.33.0.war, which is a reference implementation for the UI using SKI. This war file can be deployed on a tomcat server using the tomcat manager app and can be used for reference implementation for the chart as well.
More information can be found in the SDN Programming Guide under the section "SKI Framework - Live Reference Application." Here's a link to the Programming Guide:
http://h20628.www2.hp.com/km-ext/kmcsdirect/emr_na-c04383851-2.pdf
Good luck!