Applicable to Entuity v20.0 upwards. If you are using an earlier version of Entuity, please see this article.
To create a new step for a configuration management task
Introduction:
You can create, edit and delete steps for configuration management tasks on the Configuration Management page under the Steps tab.
These steps can then be applied to any number of custom configuration management tasks that you create, as well as duplicates of system configuration management tasks.
Entuity allows the saving of steps that have syntax errors, in part to allow you to save scripts as they are being developed. You can still run and schedule invalid tasks, but Entuity reports the syntax errors as run time errors in the task's history.
To create a new step for a configuration management task:
- In the Main Menu, click Administration and then click Configuration Management.
- Click the Steps tab, and then click New at the top of the page, or via the Overflow Menu or the right-click Context Menu.
- The New Step window will open.
- Enter the name and description for the step in the Name and Description fields respectively. From Entuity v21.0 P01 upwards, a step name cannot contain the following characters: |, /, \, ", *, <, >.
- Specify the Context of the step in the Context field. If "Device" or "Port" are selected then the step can be used with device tasks and port tasks respectively. If "None" is selected, the step can be used with both device and port tasks.
- Enter the Groovy script for the step in the Script field. You can also click the pop-out icon to open a larger text area in the center of the screen. Click Save at bottom of the pop-out window to save your changes and return to the New Step form, or click the X in the top right to return to the form without saving.
- For help and information on using Groovy scripts with Entuity configuration management, please see this article.
- Click OK to save the step, otherwise click Cancel.
To view steps:
- In the Main Menu, click Administration and then click Configuration Management, then click the Steps tab.
- Click the Steps tab. The table of steps lists all your custom and system steps, detailing the following information:
Column Name Column Description Name unique name (case insensitive comparison) on the selected server. Description optional description of the step. Category if the step is system or custom. Context if the step is device, port, or none. If the context is device or port, it can be used with device or port tasks respectively. If the the context is none, then it can be used with both device and port tasks. Tasks number of tasks that are using this step. Hover over the number to see a list of tasks that are using this step. Script the entire Groovy script. Last Edited (Entuity v21.0 P02 upwards) timestamp of the last edit to the step.
You can select a step and click View (at the top of the page, or via the Overflow Menu or right-click Context Menu) to open a form on the right that shows the details of the step, in a manner that allows you to more easily see its script.
The form opens on the right of the page:
You can click the popout icon to open the script in a popout window:
To edit a step:
You can only edit a custom step.
- Navigate to the Configuration Management page, and click the Steps tab.
- Select your preferred step and click Edit at the top of the page, or via the Overflow Menu or right-click Context Menu.
- The Edit Step form will open on the right of the page. Make your changes and click OK.
To delete a step:
You can only delete a custom step.
- Navigate to the Configuration Management page, and click the Steps tab.
- Select your preferred step and click Delete at the top of the page, or via the Overflow Menu or right-click Context Menu.
- A deletion confirmation message will appear. Click Yes.
Comments
0 comments
Please sign in to leave a comment.