﻿ 	 
generatereports
Enables you to generate reports for the SUM session. These reports include Inventory, Firmware, Failed Dependency, Deploy preview, Installed components, and Combined reports. The output defaults to attributes values and the type of report to all available.

Syntax

smartupdate generatereports [--type inventory | firmware | installables | faileddep | installed | combined] [--output html | xml | csv] [--nodes [nodelist]] [--baselines [baselinelist]]

Parameters/Options/Flags/Strings/...

--type
If you specify the type parameter, it must be one of the following:
Inventory

Firmware

Installables

Faileddep

Installed

Combined

If you do not provide a type, all types possible are generated.
--output
xml
csv
html
If you do not provide an output type, all formats are produced.

--nodes [nodelist]
SUM generates a single report with details for all the nodes in the list. If you do not specify a list of nodes, all nodes in the current session are selected.

--baselines [baselinelist]
List of baselines to include in the reports. If you do not specify a list of baselines, all baselines in the current session are selected.

Windows usage

C:\>smartupdate generatereports /type inventory /nodes localhost

Linux usage

$ ./smartupdate generatereports --type faileddep –-nodes 10.7.85.0 10.7.85.128

Return codes
SUCCESS_NO_REBOOT
Windows: 0

Linux: 0

Text: The command was successful.

SUCCESS_REBOOT
Windows: 1

Linux: 1

Text: The command was successful but a reboot is required.

SUCCESS_NOT_REQUIRED
Windows: 3

Linux: 3

Text: The command completed successfully, but was not required or everything is already current.

FAILURE_GENERAL
Windows: -1

Linux: 255

Text: A general failure occurred. For details, see the logs.

FAILURE_BAD_PARM
Windows: -2

Linux: 254

Text: A bad input parameter was encountered. For details, see the logs.

FAILURE_COMPONENT_FAILED
Windows: -3

Linux: 253

Text: The installation of the component failed.

FAILURE_COMMAND_FAILED
Windows: -4

Linux: 252

Text: The command failed. For details, see the logs.

 	 	 