Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
An open-source solution for network automation leveraged by Netbox, Ansibleand RESTCONF
University West, Department of Engineering Science.
University West, Department of Engineering Science.
2022 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
En open-source lösning för nätverksautomation genom användning av NetBox, Ansible och RESTCON (Swedish)
Abstract [sv]

Efterfrågan av centraliserad hantering och automation av nätverksenheter möts med ett flertal verktyg och lösningar. Vissa av dem är proprietära, vilket innebär att behöva betala premiumpriser för specifik hårdvara och relaterade tjänster inte är ovanligt.

Syftet med projektet är att skapa en open-source lösning för konfiguration av nätverk genom att utveckla ett Python skript som interagerar med verktygen NetBox, Ansible och protokollet RESTCONF, vilka redan används i fältet för diverse uppgifter och ändamål.

Metodiken som används i projektet består av tre huvudfaser: informationsinsamling, design och implementering, testning och utvärdering. Arbetsflödet kan sammanfattas i denna sekvens: Inhämta kunskap → Skapa flödesscheman → Skapa pseudokod → Påbörja kodning → Testa skript.

Resultatet av projektet är en lösning som uppnår nätverksautomatisering genom kombinerad användning av ovan nämnda verktyg. Även om det är kraftigt begränsat i användningstillämpning kan det fungera som en första iteration med ett DevOps-perspektiv.

När en användare gör en ändring av en nätverksenhet i NetBox GUI, genom att antingen uppdatera hostname, skapa/uppdatera/ta bort ett interface eller tilldela/ta bort en IP-adress på ett interface, kommer enheten att konfigureras för att återspegla ändringen och spara den nya konfigurationen.Det utvecklade skriptet släpps som open-source för att göra det tillgängligt för vidareutveckling eller implementering.

Abstract [en]

The demand for centralized management and automation of network devices is met with several tools and solutions. Some of them are brand specific, as such having to pay premium prizes for certain hardware and services is not uncommon.

The purpose of this project is to create an open-source solution for network configurationby making a python script that interacts with the tools NetBox, Ansible and the RESTCONF protocol. Which are already used in the field for various tasks and steps.

The methodology consists of three major phases: information gathering, design and implementation, testing and evaluation, which can be summarized in this sequence: Gain knowledge → Create flowcharts → Create pseudo code → Commence coding → Test script.

The result of the project is a solution achieving network automation by combined usage of aforementioned tools. Although severely limited in use case it can serve as a first iteration as part of a DevOps approach.

When a user makes a change to a networking device in the NetBox GUI, by either updating the hostname, create/update/delete an interface or assign/remove an IP-address to an interface, the device will be configured to reflect the change and to save the new configuration.The developed script is released as open-source to make it available for further development or implementation.

Place, publisher, year, edition, pages
2022. , p. 28
Keywords [en]
Open-source, automation, network, NetBox, Ansible, RESTCONF, configuration
Keywords [sv]
Open-source, automation, nätverk, NetBox, Ansible, RESTCONF, konfiguration
National Category
Computer Engineering
Identifiers
URN: urn:nbn:se:hv:diva-18457Local ID: EXD500OAI: oai:DiVA.org:hv-18457DiVA, id: diva2:1666568
Subject / course
Computer engineering
Educational program
Nätverksteknik
Supervisors
Examiners
Available from: 2022-06-21 Created: 2022-06-09 Last updated: 2022-06-21Bibliographically approved

Open Access in DiVA

No full text in DiVA

By organisation
Department of Engineering Science
Computer Engineering

Search outside of DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric score

urn-nbn
Total: 248 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf