|
1 | 1 | # Manage Templates
|
2 |
| -The Templates work for managing the template info used for Merlin. It will save the template info, including Name, Inventory, Credential, type, owner, and description. The credential and type info will be changed according to the Inventory type. Now Merlin supports four types of templates same as the inventory host types. |
3 |
| -Go to Merlin GUI, **Connections -> Templates**, user will turn to the Templates page. |
| 2 | +The Templates manage the template info used for Merlin. It will save the template info including `Name`, `Inventory`, `Credential`, `type`, `owner`, and `description`. The credential and type info will be changed according to the inventory type. Merlin supports four types of templates which are the same as the inventory host types. |
| 3 | + |
| 4 | +Go to Merlin GUI and select **Connections -> Templates** to go to the Templates page. |
4 | 5 |
|
5 | 6 | <img src="../../images/guides/Templates.png" width = "800" height = "500" alt="Templates" align=center />
|
6 | 7 |
|
7 |
| -For the Admin side, all templates will be shown, but the run action only works on own templates, for the user side, all own templates will be shown, it includes Name, Inventory, Credential, Type, Owner, Created Time, and Updated Time by default. Users also could customize the columns by clicking the icon at the right top of the table. |
8 |
| -- **Add Template** |
9 |
| -Click the Add button, add the Template name, and select an inventory, the template type is the same type as inventory, the credential will be filter to the same type. According to the inventory type, the other required fields will be difference. |
10 |
| -Use Power VC as example, user must enter the vm info which used in this template, or the +Add button will keep disabled. |
| 8 | +An admin will see all templates, but the `Run` button will only work on templates which they own. A user will only see templates which they own. It will display the `Name`, `Inventory`, `Credential`, `Type`, `Owner`, `Created Time`, and `Updated Time` by default. Users can also customize the columns by clicking the icon at the top right of the table. |
| 9 | + |
| 10 | +- **Add Template** - Click the `+ Add` button and enter the `Name` and select an inventory. The `type` will be automatically populated to be the same as the inventory type. The listed credentials to select from will also be filtered to match the same type. After the type is set, the required fields will updated. For example, if `IBM PowerVC` is the set type, users must enter the vm info which is used in this template or the `+ Add` button will be disabled. Specify all the necessary fields and click the `+ Add` button so then the new template record will be imported to the Templates table. |
| 11 | + |
| 12 | + <img src="../../images/guides/PvcTemplate.png" width = "600" height = "400" alt="Add Templates" align=center /> |
| 13 | + |
| 14 | +- **Delete Templates** - The `Delete` button is disabled by default. Selecting items in the credential table will highlight them and also enable the `Delete` button. Click the `Delete` button and click `Yes` to the confirmation to delete all selected items. |
11 | 15 |
|
12 |
| -<img src="../../images/guides/PvcTemplate.png" width = "600" height = "400" alt="Add Templates" align=center /> |
| 16 | +- **Edit Template** - The `Edit` button is disabled by default. Selecting one item in the template table will highlight it and also enable the `Edit` button. Click the `Edit` button to see the template info. All fields may edited except the `owner`. |
13 | 17 |
|
14 |
| -Fill all necessary fields, the +Add button will be able to click, click the +Add, the new template info will be imported to Templates table. |
15 |
| -- **Delete Templates** |
16 |
| - The delete button is disabled by default, select items in the Templates table, the selected items will change to highlight and the delete button change to available status, click the delete button, and click yes to confirm that will delete all selected items. |
17 |
| -- **Edit Template** |
18 |
| - The Edit button is disabled by default, select one item in the Templates table, the selected item will change to highlight and the Edit button change to available status, click the Edit button, the template info will be shown, all fields can be edited except the owner. |
19 |
| -- **Run Template** |
20 |
| -The Run is disabled by default, select one item in the Templates table, the selected item will change to highlight, and the run button change to available status. According to the different templates type, the action will be different. |
21 |
| -For the Power VC template, Merlin supports the Provision actions, that will help the user to deploy a new IBM VM, the user should make sure all the hardware configurations have been set up on the Power VC side. |
| 18 | +- **Run Template** - The `Run` button is disabled by default. Selecting one item in the template table will highlight it and also enable the `Run` button. According to the different templates type, the available actions will be different. For a Power VC template, Merlin supports the Provision actions which will help the user to deploy a new IBM VM. The user should make sure all the hardware configurations have been set up on the Power VC side. |
22 | 19 |
|
23 |
| -<img src="../../images/guides/PvcAction.png" width = "600" height = "200" alt="Power VC Templates Action" align=center /> |
| 20 | + <img src="../../images/guides/PvcAction.png" width = "600" height = "200" alt="Power VC Templates Action" align=center /> |
24 | 21 |
|
25 |
| -For the IBM i server template, Merlin supports Enable Ansible environment, Validate the dependent PTFs, Install Certificate, Enable IBM i developer environment, and Enable ARCAD environment. |
| 22 | + For the IBM i server template, Merlin supports `Enable Ansible environment`, `Validate the dependent PTFs`, `Install Certificate`, `Enable IBM i developer environment`, `Enable IBM i Debug Service`, and `Enable ARCAD environment`. |
26 | 23 |
|
27 |
| -<img src="../../images/guides/IAction.png" width = "600" height = "200" alt="IBM i Templates Action" align=center /> |
| 24 | + <img src="../../images/guides/IAction.png" width = "600" height = "200" alt="IBM i Templates Action" align=center /> |
28 | 25 |
|
29 |
| -- **Refresh Templates** |
30 |
| -Click the refresh button, the Merlin GUI will get a refresh so that to get the latest Templates info. |
| 26 | +- **Refresh Templates** - Click the `Refresh` button for the Merlin GUI to retrieve the latest template info. |
0 commit comments