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
1 |
Log in as the root user on the station where the NSP deployer host. |
2 |
Open a console window. |
3 |
Enter the following: # cd /opt/nsp/NSP-CN-DEP-release-ID/NSP-CN-release-ID/tools/wfm/bin ↵ |
4 |
Perform one of the following:
where path is the absolute path of the zip file that contains the custom actions to install |
5 |
To restart the Mistral pods, enter the following: # ./custom-actions.bash --restart ↵ |
6 |
Close the console window. End of steps |