export_config_compare_result

Exports the comparison result to a file.

Format

emcli export_config_compare_result  
      -compare_check_name="<check_name>" 
      -filename="<path_to_zip_file>"
      [-result_format="<S|L>"] 
      [-content="<D|A>"] 

[ ]  indicates that the parameter is optional.

Options

  • compare_check_name

    Name of the comparison check.

  • filename

    Output zip file with the absolute path.

  • result_format

    Providing "S" exports the results in side-by-side format. Providing "L" exports the results in list format. Default value is "S".

  • content

    Exports only differences if the value is "D". Exports all results if the value is "A". Default value is "D".

Examples

Example 1

The following example exports the results of comparison check with name "test check" to the file "TestReport.zip". Exports differences only, in side-by-side format.

emcli export_config_compare_result 
      -compare_check_name="test check" 
      -filename="/tmp/TestReport.zip"

Example 2

The following example exports the results of comparison check with name "test check" to the file "TestReport.zip" . Exports differences only, in list format.

emcli export_config_compare_result 
      -compare_check_name="test check" 
      -filename="/tmp/TestReport.zip" 
      -result_format="L"