How do I install custom Mistral actions for NSP Workflows?

Purpose

Perform this procedure to install custom Mistral actions created by Nokia Professional Services.

Note: Installation of self-developed actions is currently restricted to lab use only.

Before you start, the zip file containing the custom actions must be saved in a directory accessible to the root user. The zip file must follow Python directory packaging rules. The subdirectories in the zip file must be called actions and expressions.

Note: The Mistral pods must be restarted for the custom actions to be applied in NSP Workflows. The restart will affect NSP Workflows operation.

Note: release-ID in a file path has the following format:

R.r.p-rel.version

where

R.r.p is the NSP release, in the form MAJOR.minor.patch

version is a numeric value

Steps
 

Log in as the root user on the station where the NSP deployer host.


Open a console window.


Enter the following:

cd /opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/tools/wfm/bin ↵


Perform one of the following:

  1. To copy the custom actions to the NSP without restarting the pods, enter the following:

    ./custom-actions.bash --install path

  2. To copy the custom actions to the NSP and restart the pods immediately, enter the following:

    ./custom-actions.bash --install path --restart ↵

where path is the absolute path of the zip file that contains the custom actions to install


To restart the Mistral pods, enter the following:

./custom-actions.bash --restart ↵


Close the console window.

End of steps