Patent ID: 8700611

Claim:
A method for managing datacenter resources using extensible tree views, comprising: receiving a plurality of specifications as inputs, wherein each specification includes a plurality of queries arranged in a hierarchy; for each specification received as an input, determining one or more target data sources for each query in the hierarchy of the corresponding specification; issuing the query to each target data source determined for the query, including adapting the query to a format that is acceptable to the target data source; receiving results of the query from the target data source; and submitting the results as a hierarchy compatible for displaying in a tree view in a graphical user interface (GUI) for an application program selected from a group consisting of application programs that manage virtual machines, application programs that manage virtual resources, and application programs that manage physical storage and the submitted results being compatible for being used as an intermediate representation that is input into a process that does involve displaying the tree view, wherein each operation of the method is executed by a microprocessor, the tree view comprises a root node that represents a location, a child node of the root node that represents a datacenter, a plurality of sub-child nodes of the child node that represent hosts, and a plurality of leaf nodes of each of the sub-child nodes that represent virtual machines, the tree view supports an expand operation which permits a user to see configuration information of a particular sub-child node, wherein the expand operation shows a tabbed interface with multiple tabs, wherein one of the multiple tabs includes hardware categories of the particular sub-child node and software categories of the particular sub-child node, wherein choosing a particular category allows the user to see one or more hardware or software items in the particular category, and choosing one of the hardware or software items in the particular category allows the user to see detailed information of the one of the hardware or software items, each of the plurality of queries maps to a particular branch in the tree view, for at least some of the plurality of queries, the adapting of the query to the format that is acceptable to the target data source includes combining data from a particular query in a particular one of the plurality of specifications with data from another query in another one of the plurality of specifications to generate an application program interface (API) call to the target data source, and the one or more target data sources include a Structured Query Language (SQL) database or an Extensible Markup Language (XML) database, and wherein at least one query to the SQL database is written in XML Query (XQuery) or XML Path Language (XPath).