Command-Line Options

Table 6-1 describes the options of the command line for invoking the SCA Reporter application:

Table 6-1 Command-Line Options for SCA Reporter Application 

Option

Action by SCA Reporter

Comments

-report "report-name"

Generates a report using the specified name of a report instance.

Use this parameter when generating a report from an existing report instance.

-template "template-name"

Generates a report using the specified name of a report template.

Use this parameter when generating a report from a template.

-dbdriver "db-driver"

The driver for the database.

The same database that is configured in the SCA Reporter.

-dburl "db-url"

The URL of the database.

—

-dbuser "db-user"

The user of the database.

—

-dbpassword "db-password"

The password for the database.

—

-policysce "IP of SCE for policy data"

The IP address of the SCE platform whose service configuration data will be used in the report.

The IP address of the SCE platform that is configured in the SCA Reporter.

-params "param1=value1;..."

Parameters from the Properties view.

When a particular parameter is not listed, the default value is used.

-o "filename"

The name of the file to which to direct output.

If the file name exists, the original file is overwritten.

-format "fileformat"

Specifies whether to output the report as a chart or as a table. The fileformat parameter can take one of the following values:

—

-show

Shows the structure (including parameters) of a report or template instead of executing it.

—

-help

—

—

-list

Outputs a list of all template groups and report templates.

—

-hierarchy "mode; level; group-for sorted"

Defines the report hierarchy attributes:

  • mode—The mode of the hierarchy tree. This attribute can accept one of the following values:
    • services—service popularity mode
    • sorted—configured services tree mode
  • level—The default level at which the tree is expanded.
  • group-for sorted—The number of items to include in each group.

Note     This attribute is only relevant for sorted.

—



Copyright © 2002-2011, Cisco Systems, Inc. All rights reserved.