IBM / lmctl

Cloud Pak for Network Automation (CP4NA) (previously ALM/TNCO) command line tool
Apache License 2.0
4 stars 19 forks source link

Add commands in LMCTL to retry, rollback and cancel intent process. #163

Closed maheshlokhande1 closed 1 year ago

maheshlokhande1 commented 1 year ago

An intent process invoked by lmctl can subsequently be canceled, retried, or rolled back via the CP4NA GUI or its APIs. To support the rollback case, lmctl supports the processState, of the intent processes invoked by lmctl, being Rolling Back (as a transient state) or Rolled Back (as a terminal state).

cancel, retry or rollback can also be invoked using the following lmctl commands respectively, where the ID value is the processId value of the intent process.

lmctl rollback process [OPTIONS] ID lmctl rollback process [OPTIONS] ID lmctl rollback process [OPTIONS] ID

dvaccarosenna commented 1 year ago

Fixed by #164