Development of programmable networks with python for OSPFv2 routing configuration
DOI:
https://doi.org/10.59169/pentaciencias.v8i4.1931Keywords:
network automation; OSPFv2; Python; Spine-Leaf; network provisioningAbstract
The time and configuration incidents associated with manual routing provisioning motivated this study. The objective was to develop and evaluate a Python-based controller to automate Open Shortest Path First version 2 provisioning in a Spine-Leaf topology. Development combined Scrum and NetDevOps principles, while evaluation followed a quantitative comparative experimental design. The controller integrated device discovery, a dynamic inventory, link identification, configuration deployment, and automated validation. In an emulated environment with five Cisco Routers, twenty manual and twenty automated runs were performed, restoring the same initial conditions before each trial. Mean deployment time decreased from 486.00 to 8.17 seconds (98.32%), whereas total provisioning time decreased from 486.00 to 89.15 seconds (81.66%). Manual runs recorded 53 incidents, compared with none in automated runs. Both methods ultimately achieved operational routing. These results indicate that automation reduced provisioning times and configuration incidents under the evaluated conditions.
Downloads
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
Adewa, A., Anyah, V., Olufemi, O. D., Oladejo, A. O., & Olaifa, T. (2025). The impact of intent-based networking on network configuration management and security. Global Journal of Engineering and Technology Advances, 22(1), 063-068. https://doi.org/10.30574/gjeta.2025.22.1.0012
Anerousis, N., Chemouil, P., Lazar, A. A., Mihai, N., & Weinstein, S. B. (2021). The origin and evolution of open programmable networks and SDN. IEEE Communications Surveys & Tutorials, 23(3), 1956-1971. https://doi.org/10.1109/COMST.2021.3060582
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
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
Miswar, N., Herman, H., & Riadi, I. (2023). Comparing the performance of ospf and ospf-mpls routing protocol in forwarding tcp and udp packet. Jurnal Teknik Informatika (Jutif), 4(5), 1237-1247. https://doi.org/10.52436/1.jutif.2023.4.5.1456
Osei-Wusu, F., Asiedu, W., Asamoah, K. F., Muntaka, S. A., Yeboah, D., & Sarfo, E. A. (2025). Automating network programmability and backup on cisco devices using python and netmiko library: A case study of komfo anokye teaching hospital LAN. Journal of Computing Research and Innovation, 10(1), 227-242. https://doi.org/10.24191/jcrinn.v10i1.488
Ren, Y., Wang, Z., Sharma, P. K., Alqahtani, F., Tolba, A., & Wang, J. (2025). Zero trust networks: Evolution and application from concept to practice. Computers, Materials & Continua, 82(2), 1593-1613. https://doi.org/10.32604/cmc.2025.059170
Sassa, A. C., Almeida, I. A. D., Pereira, T. N. F., & Oliveira, M. S. D. (2023). Scrum: A systematic literature review. International Journal of Advanced Computer Science and Applications, 14(4). https://doi.org/10.14569/IJACSA.2023.0140420
Schwaber, K., & Sutherland, J. (2020). La guía de scrum: La guía definitiva de scrum: Las reglas del juego (p. 16) [Guía]. Scrum.org y Scrum Inc. https://scrumguides.org/docs/scrumguide/v2020/2020-Scrum-Guide-Spanish-Latin-South-American.pdf
Shah, J. A., & Dubaria, D. (2019). NetDevOps: A new era towards networking & DevOps. 2019 IEEE 10th Annual Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON), 0775-0779. https://doi.org/10.1109/UEMCON47517.2019.8992969
Tao, J., Yuan, R., Liu, Q., & Xia, Q. (2021). Research and implementation of a network based on SDN and multi area OSPF protocol. 2021 IEEE 9th International Conference on Information, Communication and Networks (ICICN), 134-138. https://doi.org/10.1109/ICICN52636.2021.9673836
Viuche, S. N., Estupiñán Cuesta, E. P., & Martínez Quintero, J. C. (2025). Comparative performance analysis of software-defined networking vs conventional IP networks using IGP protocols. Bulletin of Electrical Engineering and Informatics, 14(3), 1779-1793. https://doi.org/10.11591/eei.v14i3.9063
Yulán, L., Pazmiño, J. C., & Saavedra, M. (2024). Configuración de una red LAN utilizando python scripting para generar redes definidas por software (SDN). Revista Científica Élite, 6(2), 1-11. https://doi.org/10.69603/itsqmet.vol6.n2.2024.87
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Revista Científica Arbitrada Multidisciplinaria PENTACIENCIAS - ISSN 2806-5794.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

