API-rajapintojen hyödyntäminen datan siirrossa Argus-järjestelmään
Pihlainen, Teemu (2023)
Pihlainen, Teemu
2023
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2023082825025
https://urn.fi/URN:NBN:fi:amk-2023082825025
Tiivistelmä
Application Programming Interface (API) -rajapinnoilla tarkoitetaan eri sovellusten välille määriteltyjä sääntöjä, joita noudattamalla sovellukset pystyvät keskustelemaan keskenään. API-rajapinnoilla voidaan siirtää dataa tehokkaasti sovelluksesta toiseen, minkä takia työssä tutkitaan API-rajapintojen hyödyntämistä datan siirrossa Google Drive -pilvitallennustilasta Argus-verkonhallintajärjestelmään.
Työn tavoite oli automatisoida Remote Ingress Switching (RIS) -datan tiedonsiirtoa Argus-verkonhallintajärjestelmään suunnittelemalla ohjelma, joka lukee RIS-dataa Google Drivesta ja lähettää datan Argukseen HDM155 RIS -kontrollerille API-rajapintoja käyttäen. RIS-datalla tarkoitetaan Hybrid Fibre Coaxial (HFC) -verkon radiotaajuus (RF) -vahvistimiin kiinnitettävien RIS-moduulien dataa, joka sisältää tietoja isäntälaitteestaan ja on useimmiten Comma Separated Values (CSV) -tiedostomuodossa.
Työn tuloksena oli Python-ohjelma, joka siirtää RIS-dataa Google Drivesta Argukseen HDM155 RIS -kontrollerille käyttämällä Google Driven ja Arguksen API-rajapintoja.
Ohjelmaa voitaisiin jatkossa kehittää määrittelemällä tarkempi ja laajempi virheiden paikannus. Sen lisäksi ohjelmasta saataisiin helppokäyttöisempi tekemällä Python-tiedostosta executable (exe) -tiedosto tai siirtämällä ohjelma esimerkiksi virtuaalitietokoneelle, jossa ohjelma ei olisi riippuvainen käyttäjän tietokoneelle asennetuista Python-moduuleista ja -kirjastoista. Application Programming Interfaces (APIs) are interfaces between applications that act as a set of rules that allow the applications to communicate with one another. APIs make it possible to efficiently transfer data between two applications, which is why the subject of this thesis is to research the possibilities of APIs when transferring data from Google Drive cloud storage to Argus Network Management System.
The objective of this thesis is to automate Remote Ingress Switching (RIS) data transfer to Argus Network Management System by designing a program that reads RIS data from Google Drive and posts it to Argus Network Management System, more specifically to an HDM155 RIS controller, utilizing APIs. RIS data is the data from RIS modules that are attached to Radio Frequency (RF) amplifiers in Hybrid Fibre Coaxial (HFC) network. RIS data is mostly in a Comma Separated Values (CSV) file format that contains information of the host device the RIS module is attached to.
The result of this thesis was a Python program that transfers RIS data from Google Drive to an HDM155 RIS controller by utilizing Google Drive API and Argus API.
For future reference, the program could be developed to include a stricter error handling. For ease of use it could also be beneficial to convert the raw script file into an executable file format or migrating the program to a virtual machine. On a cloud platform, the program wouldn’t be dependent on the end user’s machine.
Työn tavoite oli automatisoida Remote Ingress Switching (RIS) -datan tiedonsiirtoa Argus-verkonhallintajärjestelmään suunnittelemalla ohjelma, joka lukee RIS-dataa Google Drivesta ja lähettää datan Argukseen HDM155 RIS -kontrollerille API-rajapintoja käyttäen. RIS-datalla tarkoitetaan Hybrid Fibre Coaxial (HFC) -verkon radiotaajuus (RF) -vahvistimiin kiinnitettävien RIS-moduulien dataa, joka sisältää tietoja isäntälaitteestaan ja on useimmiten Comma Separated Values (CSV) -tiedostomuodossa.
Työn tuloksena oli Python-ohjelma, joka siirtää RIS-dataa Google Drivesta Argukseen HDM155 RIS -kontrollerille käyttämällä Google Driven ja Arguksen API-rajapintoja.
Ohjelmaa voitaisiin jatkossa kehittää määrittelemällä tarkempi ja laajempi virheiden paikannus. Sen lisäksi ohjelmasta saataisiin helppokäyttöisempi tekemällä Python-tiedostosta executable (exe) -tiedosto tai siirtämällä ohjelma esimerkiksi virtuaalitietokoneelle, jossa ohjelma ei olisi riippuvainen käyttäjän tietokoneelle asennetuista Python-moduuleista ja -kirjastoista.
The objective of this thesis is to automate Remote Ingress Switching (RIS) data transfer to Argus Network Management System by designing a program that reads RIS data from Google Drive and posts it to Argus Network Management System, more specifically to an HDM155 RIS controller, utilizing APIs. RIS data is the data from RIS modules that are attached to Radio Frequency (RF) amplifiers in Hybrid Fibre Coaxial (HFC) network. RIS data is mostly in a Comma Separated Values (CSV) file format that contains information of the host device the RIS module is attached to.
The result of this thesis was a Python program that transfers RIS data from Google Drive to an HDM155 RIS controller by utilizing Google Drive API and Argus API.
For future reference, the program could be developed to include a stricter error handling. For ease of use it could also be beneficial to convert the raw script file into an executable file format or migrating the program to a virtual machine. On a cloud platform, the program wouldn’t be dependent on the end user’s machine.