Sample .view structure file
|Article:HOWTO36450|||||Created: 2010-11-08|||||Updated: 2013-11-07|||||Article URL http://www.symantec.com/docs/HOWTO36450|
When you add a business view, Enterprise Reporter creates a .view file to define the structure of your business view. You can add a business view using the Enterprise Reporter Console, or using the command line interface.
See About business views.
When you add a business view using the command line interface, you define a base name for the .view file based on the questions you want to answer about storage objects in your environment. The following shows a sample .view file using "GEOGRAPHY" as the base name.
; This definition file defines the overall structure of a business view. ; Section names are enclosed in square brackets ( [ ] ). ; Parameter values should not be quoted. Multi-line parameters are ; supported by ending each line with the backslash character. ; ; [Business View] section ; The Business View section defines the view name and description. ; A business view defines the logical structure used to organize ; objects into different business categories. ; ; This section has the following required parameters: ; Name - the name of the business view ; Description - a description for the business view ; [Business View] Name=Global Description=Assets organized by location globally. ; [Level] Sections ; ; The hierarchy defines a data dimension that allows the user to create ; drill-down reports. This hierarchy is defined by specifying a collection ; of one or more [Level] sections. ; ; Each level in the view hierarchy is defined by one of these sections. ; The level highest in the view is [Level1], the next level in the ; hierarchy is [Level2], etc. ; ; Each [Level] section has the following required parameters: ; Name - the name for the level ; Description - the description of the level ; [Level1] Name=Continent Description= Major land masses that contain one or more countries. [Level2] Name=Country Description=An defined expanse of sovereign land. [Level3] Name=State/Province Description=A geographic sub-region of a Country. [Level4] Name=City Description=A population center within a State or Province. [Level5] Name=Data Center Description=A single data center within a city. ; [Object Types] section ; ; Each business view can support one or more object types. The Object ; Types section has a single parameter, containing a comma separated ; list of supported object types. ; ; The support types are: ; Host - a host object identified by name, ip, or unique id ; Array - an array object identified by name, ip, or unique id ; Switch - a switch object identified by name or unique id ; App_Group - an application group object identified by name or ; unique id ; [Object Types] Types=Host
Article URL http://www.symantec.com/docs/HOWTO36450