Design of an Automated System for Configuring and Monitoring Network Devices Using Python and Ansible in Virtual Environments

Authors

  • Marlon Sisalima Ulloa Universidad Técnica de Machala, Facultad de Ingeniería Civil, Carrera de Tecnologías de la Información, Machala, El Oro, Ecuador. ORCID iD https://orcid.org/0009-0004-9842-3948
  • Leyton Veintimilla Guzmán Universidad Técnica de Machala, Facultad de Ingeniería Civil, Carrera de Tecnologías de la Información, Machala, El Oro, Ecuador. ORCID iD https://orcid.org/0009-0008-2681-7496
  • Oscar Cárdenas Villavicencio Universidad Técnica de Machala, Facultad de Ingeniería Civil, Carrera de Tecnologías de la Información, Machala, El Oro, Ecuador. ORCID iD https://orcid.org/0000-0001-6570-8040
  • Rodrigo Morocho Román Universidad Técnica de Machala, Facultad de Ingeniería Civil, Carrera de Tecnologías de la Información, Machala, El Oro, Ecuador. ORCID iD https://orcid.org/0000-0003-0194-5033

DOI:

https://doi.org/10.33936/isrtic.v10i2.8666

Keywords:

network automation, Ansible, SNMP, Infrastructure as Code, network monitoring

Abstract

Manual administration of enterprise networks through command-line interfaces generates configuration errors, downtime, and an operational burden that compromises service continuity. This study developed and evaluated an automated system based on Python, Ansible, and FastAPI for network device configuration and monitoring, implemented and validated in a virtualized environment using EVE-NG. The prototype integrates Ansible playbooks for VRRP redundancy provisioning and a monitoring module based on SNMP and Syslog. Manual and automated procedures were compared through twenty repetitions per method, both for configuration and operational status queries. Results showed an 84.13% reduction in provisioning time and a 71.88% reduction in operational status retrieval time, a 100% success rate compared to 90% manual, and agreement within the defined tolerance margin in the SNMP data. These findings confirm the technical viability of the model as an open-source prototype with potential for small-scale scenarios, relevant for organizations with budget constraints, subject to further validation before commercial or production adoption.

Downloads

Download data is not yet available.

References

Abdellatif, M. M., Desouki, O., & AbdelRaheem, M. (2026). Performance analysis of network automation techniques for dense IP networks. Scientific Reports, 16(1), 9532. https://doi.org/10.1038/s41598-026-40975-9

Bruschetti, F. S., Guevara, J., Abeledo, M. C., & Priano, D. A. (2023). An Empirical Evaluation of Automated Configuration Tools for Software-Defined Networking: A Usability and Performance Perspective. Ingénierie des systèmes d information, 28(5), 1127-1134. https://doi.org/10.18280/isi.280502

Dalla Palma, S., Di Nucci, D., & Tamburri, D. A. (2020). AnsibleMetrics: A Python library for measuring Infrastructure-as-Code blueprints in Ansible. SoftwareX, 12, 100633. https://doi.org/10.1016/j.softx.2020.100633

Datta, A., Imran, A. T. M. A., & Biswas, C. (2023). Network Automation: Enhancing Operational Efficiency Across the Network Environment. ICRRD Quality Index Research Journal, 4(1). https://doi.org/10.53272/icrrd.v4i1.1

Dsilva, N., Karunakaran, V., Autenrieth, A., Elbers, J.-P., & Bauschert, T. (2025). Network Automation using NetDevOps in Optical Networks. 2025 International Conference on Optical Network Design and Modeling (ONDM), 1-3. https://doi.org/10.23919/ONDM65745.2025.11029370

El-Mokadem, E. S., Bataineh, B., El-Mokadem, S., M. Ahmed, A., & A. Torad, M. (2026). Design and evaluation of a Python-based network automation system for internet of things devices. Bulletin of Electrical Engineering and Informatics, 15(1), 237-252. https://doi.org/10.11591/eei.v15i1.9562

Espinel Villalobos, R. I., Ardila Triana, E., Zarate Ceballos, H., & Ortiz Triviño, J. E. (2021). Design and Implementation of Network Monitoring System for Campus Infrastructure Using Software Agents. Ingeniería e Investigación, 42(1), e87564. https://doi.org/10.15446/ing.investig.v42n1.87564

Han, G., Shao, H., Duan, R., Zhuang, C., & Xiang, Q. (2024). ConfigHub: A Network Configuration Sharing Platform. Proceedings of the SIGCOMM Workshop on Formal Methods Aided Network Operation, 33-38. https://doi.org/10.1145/3672199.3673885

Imoukhuede, A. B., Sheltami, T. R., Mahmoud, A. H., & Barnawi, A. Y. (2025). Optimization of network device hardening in a multivendor environment. Scientific Reports, 15(1), 15042. https://doi.org/10.1038/s41598-025-97894-4

Khumaidi, A. (2021). IMPLEMENTATION OF DEVOPS METHOD FOR AUTOMATION OF SERVER MANAGEMENT USING ANSIBLE. Jurnal Transformatika, 18(2), 199-209. https://doi.org/10.26623/transformatika.v18i2.2447

Kim, Y.-I., Park, S.-J., Jung, N.-J., Choi, M.-S., & Park, B.-S. (2016). Design and implementation of NMS using SNMP for AMI network device monitoring. 2016 IEEE International Conference on Power System Technology (POWERCON), 1-6. https://doi.org/10.1109/POWERCON.2016.7754021

Kokuryo, S., Kondo, M., & Mizuno, O. (2020). An Empirical Study of Utilization of Imperative Modules in Ansible. 2020 IEEE 20th International Conference on Software Quality, Reliability and Security (QRS), 442-449. https://doi.org/10.1109/QRS51102.2020.00063

Kumara, I., Garriga, M., Romeu, A. U., Di Nucci, D., Palomba, F., Tamburri, D. A., & Van Den Heuvel, W.-J. (2021). The do's and don'ts of infrastructure code: A systematic gray literature review. Information and Software Technology, 137, 106593. https://doi.org/10.1016/j.infsof.2021.106593

Marzuki, K., Husain, H., & Apriliana, Z. (2024). Automation of Software Defined Network (SDN) Configuration Management Based on Proxmox with Ansible. International Journal of Electronics and Communications Systems, 4(2), 87-97. https://doi.org/10.24042/ijecs.v4i2.23821

Marzuki, K., Kholid, M. I., Hariyadi, I. P., & Mardedi, L. Z. A. (2023). Automation of Open VSwitch-Based Virtual Network Configuration Using Ansible on Proxmox Virtual Environment. International Journal of Electronics and Communications Systems, 3(1), 11-20. https://doi.org/10.24042/ijecs.v3i1.16524

Mazin, A. M., Rahman, R. A., Kassim, M., & Mahmud, A. R. (2021). Performance Analysis on Network Automation Interaction with Network Devices Using Python. 2021 IEEE 11th IEEE Symposium on Computer Applications & Industrial Electronics (ISCAIE), 360-366. https://doi.org/10.1109/ISCAIE51753.2021.9431823

Mohammed Daffalla, E. (2023). Ansible: A Reliable Tool for Automation. Electrical and Computer Engineering Studies, 2. https://doi.org/10.58396/eces020104

Mohd Fuzi, M. F., Abdullah, K., Abd Halim, I. H., & Ruslan, R. (2021). Network Automation using Ansible for EIGRP Network. Journal of Computing Research and Innovation, 6(4), 59-69. https://doi.org/10.24191/jcrinn.v6i4.237

Muhammad, T., & Munir, M. (2023). Network Automation. European Journal of Technology, 7(3), 23-42. https://doi.org/10.47672/ejt.1547

Ponce Loor, Y. A., & Herrera Tapia, J. S. (2023). Evaluación del Rendimiento de una red IPv6 utilizando IPSec en Modo Túnel. Informática y Sistemas: Revista de Tecnologías de la Informática y las Comunicaciones, 7(2). https://doi.org/10.33936/isrtic.v7i2.5710

Prasetyo, L., Prihandi, I., Rifqi, M., & Budiarto, R. (2024). Implementation of automation configuration of enterprise networks as software defined network. Computer Science and Information Technologies, 5(2), 99-111. https://doi.org/10.11591/csit.v5i2.pp99-111

Sahoo, P., Pujar, S., Nalawade, G., Genhardt, R., Mandel, L., & Buratti, L. (2024). Ansible Lightspeed: A Code Generation Service for IT Automation. Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering, 2148-2158. https://doi.org/10.1145/3691620.3695277

Suresh Reddy Thati. (2025). Configuration and compliance automation in modern networks: A framework for enhanced security and operational efficiency. World Journal of Advanced Engineering Technology and Sciences, 15(2), 2513-2519. https://doi.org/10.30574/wjaets.2025.15.2.0613

Yaseen, N. (2025). From Counters to Telemetry: A Survey of Programmable Network-Wide Monitoring. Network, 5(3), 38. https://doi.org/10.3390/network5030038

Published

2026-11-10

Issue

Section

Research Articles

Similar Articles

> >> 

You may also start an advanced similarity search for this article.