Add an Action
This section provides steps to create an action.
- Go tohttps://Telcocloud serviceassurance-ui-IP.A typical URL for logging in to the user interface from the same system on whichVMware Telco Cloud Service Assuranceis installed is, https://10.x.x.x.
- Enter theusernameandpassword.
- ClickNext.
- Navigate to .
- On theActions Settingspage, from theAdddrop-down menu, selectActions.TheAdd Actionpage appears.
- UnderDescription, update the following parameters:
- Name: Provide a name for the action. Only letters, numbers, hyphens, and underscores are allowed.
- Description: Provide the description details to an action.
- Format: Select a format for an action. The supported values arePythonandLaunch URL.When you select Launch URL format, the Launch URL field appears. You must enter the URL and enter { to get the list of notification column attributes that you can select.

- Category: TheCategoryfield helps you to categorize tickets based on your need. Select the category type from the drop-down menu. You can also create a custom category.
- Under Code Preview, clickUploadand upload the Python action.For example, the Python action must contain code that does the following tasks:
- Connect to the mitigation service.
- The GET relevant data from the mitigation service endpoint.
- Examine the GET data and modify it as required.
- Update PUT/PATCH mitigation service endpoint with the new data that fixes the issue.For more information on user-defined action code , go to Sample User Defined Action.

- ClickCheck Parametersand verify the parameters for the actions.The Parameters allows you to make an action reusable. For example, you can specify different values to the Parameters in different Rule definitions.
- ClickSave.
After you create an action, they will be available to be used in a Remediation Rule and Escalation Rule. You can view the action from
Actions
page.