1 / 13

The Last Procedure Former Presentation 2

CS 383. The Last Procedure Former Presentation 2. Grant Boomer, Brett Papineau , Tanis Lopez, Archana Shrestha. Previously. Project split into 3 work groups. VMWare’s Script Headed by Grant Responsible for interaction with TA – Lee VanGundy Data Structure (API) Structured by Archana

fionn
Télécharger la présentation

The Last Procedure Former Presentation 2

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS 383 The Last ProcedureFormer Presentation 2 Grant Boomer, Brett Papineau, Tanis Lopez, ArchanaShrestha

  2. Previously

  3. Project split into 3 work groups • VMWare’s Script • Headed by Grant • Responsible for interaction with TA – Lee VanGundy • Data Structure (API) • Structured by Archana • Interaction with data files • Visualizer (GUI) • Developed by Brett and Tanis • Exportable java applet

  4. R.A.D.I.C.L. • SoftWare: • vCenter on windows server 2003 • VMware infrastructure 3. Hardware • Hardware: -2 poweredge servers • VMware GSX server 3i 3.5.0 build-199239

  5. Interfacing With VMs

  6. Risk Assessment. • The largest risks? • Unfamiliar platform. • Lack of access. • Many tools with many versions. • ITScripts would be nice. • No Terminal.

  7. Solutions: • Find code! • Lots of scripting examples, accomplishing many of the same tasks. • Switch Info • Node Info • Find a particular process on a machine. • Need to make sure R.A.D.I.C.L. can support the script.

  8. Java Application programming interface The Java API is prewritten code organized into packages of similar topics In our project we need to use API for communicating VMware and GUI . Since Java API provides a set of abstract class like message, store and transport it will be easy to transform the parsable document to the map graphically through GUI.

  9. In java API, there are already a built in classes so that we don’t have to re write same classes again. • Java API is tested and error free. • Code Reuse. We can reuse same classes and that will save time • Example of Java API http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html

  10. Some attributes of API • getNodeName: The name of this node, depending on its type. • getNodeValue: The value of this node, depending on its type. • setNodeValue: The value of this node, depending on its type. When it is defined to be null, setting it has no effect. • Getnodetype: This code represents the type of the underlying object. • getParentNode:The parent of this node. The parents can be considered as all nodes, except attr, document, document Fragment, entity and notation which may have parent .However if the node has been created but not yet added to the tree of if it has been removed from the tree ,this returns null. • else return null.

  11. getChildNodes: A node list that contains all the children of this node • getFirstChild: A first child of this node. However, if there is no such node then this returns null. • getLastChild: The last child the node. However. if there is no such nodes then this returns null • getPreviousSibling: The node preceding this node. If there is no such nodes , this returns null. • getNextSibling: The node immediately following this node. If there is no such node, this returns null. • getAttributes :A node map containing the attributes of this node if it is an Element

  12. VM Network Visualizer • Prototype 1 runs on Processing • Sits on top of Java • Exportable applets • GUI libraries: ControlP5 Applet Demonstration

  13. Thank You

More Related