Automating the updating of whitelists for F5 devices
Scenario: Automatically updating the whitelists of F5 devices
Benefits
- Reduces the risk of human error and requires minimal or no manual intervention.
- Saves the time required to update the lists and increases efficiency.
- Reduces the workload for network personnel who can instead work on more strategic tasks.
Automation workflow
The process automation team creates a service in BMC Helix Digital Workplace and develops an automation workflow that simplifies the task of updating the whitelist. The workflow updates the F5 devices in a designated data center based on the customer's environment type, whether production or non-production.
A customer submits a BMC Helix Digital Workplace request with the following information:
- Company name and the customer environment details
- Whether they want to update the Restricted Egress IPs list, the ONBMC Restricted Hosts list, or both
- Values to be updated in a comma-separated value format
The request triggers a Jenkins job that updates the whitelist.
The following image shows the automated updation process:
The automated process performs the following actions:
- Creates a work order.
- Checks the type of environment, whether PROD or non-PROD.
- Accesses the customer's data center.
- Checks whether the customer's environment is a production or a non-production environment.
- If the environment is production, gets the list of production F5 devices related to the data center.
If the environment is non-production, gets the list of non-production F5 devices related to the data center. - For each F5 device, performs the following steps:
- If the request is to update restricted egress IPs, update the Data Group List (DGL) with the new restricted egress IPs.
If a DGL is unavailable, the process creates a DGL and then adds the restricted egress IPs. - If the request is to update restricted hosts, update the Restricted Hosts list with the new hosts.
- If the request is to update restricted egress IPs, update the Data Group List (DGL) with the new restricted egress IPs.
- Updates the work order, closes the request, and sends an email to the requester and the SaaS network team about the successful updation of the whitelist.
If the update process fails, notifies the requester and the SaaS network team about the failure, and creates a new work order for the Network team.
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*