Command Central 10.15 | Using the Command Line Interface | Stacks and Layers Commands | sagcc get stacks layers products compare
 
sagcc get stacks layers products compare
Compares the products that belong to a layer.
Syntax
*Command Central syntax:
sagcc get stacks stackName layers layerName
products compare [options]
*Not applicable to Platform Manager.
Arguments and Options
Argument or Option
Description
stackName
Required. The name of the stack for which you want to get information.
layerName
Required. The name of the layer for which you want to get information.
[options]
Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.
Usage Notes
The command returns the results of the comparison. The results show whether the release versions of the products in the layer match and also list the release version for each node alias.
Example
To compare all products included in the layer with name "layer01" in the stack with name "stack01", managed by the Command Central server with host name “rubicon” and port “8090”, using the password of the default user:
sagcc get stacks stack01 layers layer01 products compare --format xml
--server http://rubicon:8090/cce --username Administrator --password manage
The example command returns the information in XML format.