Programming Implementation with Python for Network Device Configuration via NETCONF and YANG Data Model
Nowadays, the development of a network is very fast and quick but because of every network devices are still dependent on using configuration oriented from each of their vendors, it is making work harder for the management or provider. One of the solutions that can be offered to fix this problem i...
Saved in:
Main Author: | |
---|---|
Format: | Final Project |
Language: | Indonesia |
Online Access: | https://digilib.itb.ac.id/gdl/view/36725 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Institut Teknologi Bandung |
Language: | Indonesia |
Summary: | Nowadays, the development of a network is very fast and quick but because of every network devices
are still dependent on using configuration oriented from each of their vendors, it is making work harder for the
management or provider. One of the solutions that can be offered to fix this problem is network automation and
programmability by using the NETCONF protocol and YANG Data Model. Network Configuration Protocol
(NETCONF) defined by a simple mechanism where a network device can be managed, taken its config data,
and added new config data which has been manipulated before. Yet Another Next Generation (YANG) is a
modeling language based on a standard which can be used to model configurations and operational status,
remote procedure calls (RPC), and server and network devices notifications.
To ease the use of NETCONF Protocol via Python scripting, a Python library called ncclient is needed.
In simple, ncclient is a Python library which facilitates scripting and application development that is connected
with NETCONF Protocol. To ease the use of YANG Data Model, a tool called pyang is used. Pyang is a
Python-based YANG validator and converter. Generally, configuration programming done with combining data
models into a Python module which will be used to make a JSON from the configuration that will be applied.
After that, the JSON will be converted into XML which will be sent to the device via NETCONF Protocol. |
---|