The airline’s initial automation use case focused on network access control (NAC), including protection from unauthorized external devices obtaining an IP address and connecting to Southwest’s network. Its network team used Ansible Automation Platform to build and test configurations for a variety of NAC use cases, then deploy them to all switches.
More recently, Southwest used Ansible Automation Platform to help deploy airport networks at the speed of demand. Because Southwest uses at least 10 switch models, each with multiple firmware versions, completing updates manually was complex and time consuming. A standardized, preconfigured network setup now provides 90% of the components at each airport. An Ansible Playbook sets up the core switch and router functions before Southwest’s network engineers configure airport-specific requirements. For updates, a playbook automatically determines the correct software version the switch model needs, then downloads the firmware, performs validation, and completes the update.
Not only does this approach ensure that the airline’s networks are more reliable, it also saves significant time. At least 30 minutes was needed to configure a single device, depending on the size of the airport. With automated setup, the end-to-end process takes about 20 minutes.
Southwest’s playbooks are written using Ansible Roles to organize tasks, templates, files, and variables. They follow the YAML approach for directory layout, use Jinja2 templating to format text, and integrate with GitLab to establish a single source of truth.
Saving time while improving scalability
Southwest has saved significant time with its new automation approach based on Ansible Automation Platform. In its NAC use case, network engineers previously needed 8-12 months to build, test, and deploy configurations to all switches. Now, by using automation they only need 6 weeks to complete the same tasks.
When manually updating the airline’s Cisco IOS networking software, network engineers could typically only modify 10 devices during the overnight maintenance window. Now, one of the airline’s biggest playbooks manages these upgrades, and they can be completed on at least 100 devices during the same window.
Mitigating risk of outages
Ansible Automation Platform has also played a pivotal role in helping Southwest’s network engineers avoid configuration drift when setting up new switches. Before automation, an engineer would rely on configuration documentation to set up the switch. But if another engineer had updated a switch of the same type without reflecting the updates in the documentation, configuration drift would occur.
Network engineers now use playbooks, accessed via a Southwest Airline’s web portal, to configure new switches. The standardized configurations remove the potential for human error that can cause drift, which can result in network outages.
Before, if essential systems were to go down, engineers wouldn’t be able to manually check all devices, the firewall, and the Domain Name System (DNS) quickly enough to avoid a major outage. Now, Ansible Automation Platform launches 100 playbooks concurrently to access all of the information needed to identify any network issues and their location, helping Southwest resolve this type of downtime in less time.
Unburdening engineers to innovate and expand use cases
With automation now running previously manual, time-consuming processes, Southwest’s networking engineers can focus on larger, more complex projects—including optimizing Southwest’s routing environment—and spend more time innovating.
To build on its success using automation, the airline is considering other areas where Ansible Automation Platform can be used, such as firewalls and a software-defined wide-area network (WAN). But its end goal is to implement an Infrastructure as Code (IaC) model, with a GitLab source. Using this approach, network engineers would make changes once in GitLab, then listeners would check where updates are needed, schedule the changes, and implement and validate them within the maintenance window—a hands-off approach that could expand to all network devices, platforms, and environments.
“We want to get more of our engineers into the automation mindset,” said Tapia. “[Automation coding assistant (formerly Red Hat Ansible Lightspeed)] can help them understand how to structure a playbook. I’m also planning to use it to onboard network devices from a new vendor or if we expand into the cloud. It would give me a framework for the new playbooks,” he added.
Read the full Southwest Airlines customer success story.