Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This command is used to view and validate models in KPI Management.

display

Use kpimodel display to view a model.

...

OptionDescription

[-f, --file <filename>]

An absolute path to the file that contains service model.

[-v, --view <view type>]The view type. The only type that is currently available is tree.

help

Use kpimodel help to retrieve a description of a subcommand.

Code Block
mz>> kpimodel help <subcommand>

validate

Use kpimodel validate to ensure the integrity of the service model. 
Code Block
languagetext
mz>> kpimodel validate --file <filename>


Info
titleExample - Validating a model


Code Block
mz>> kpimodel validate --file /home/mz/kpi/servicemodels/model1.json



OptionDescription
[-f, --file <filename>]The file that contains service model.

Return Codes

Listed below are the different return codes for the kpimodel command: 

CodeDescription

0

Will be returned if the command is successful.

1

Will be returned if the argument count is incorrect or argument(s) are invalid or if the validation of the service model fails.


...