Skip to content

karneliuk-com/nokia-netconf-yang-operations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of Operational modules for NETCONF/YANG in Nokia SR OS

This repository contains the demo Python code to perform operational activities on Nokia SR OS network routers and switches via NETCONF.

Usage

  1. Modify the app/inventory.yaml file to match your needs:
---
- hostname: 192.168.101.11
  1. Install the dependencies:
$ pip install -r requirements.txt
  1. Setup environment variables with credentails:
$ export AUTOMATION_USER="admin"
$ export AUTOMATION_PASS="admin"
  1. Launch the app:
$ cd app
$ python main.py 
Device 192.168.101.11 supports ping via NETCONF
==================================================================================================================================
Reachability to 192.168.101.11
==================================================================================================================================
  statistics:
    packets:
      sent: 3
      received: 3
      loss: 0.0
    round-trip-time:
      minimum: 1445
      average: 2360
      maximum: 3879
      standard-deviation: 1081

Want to Know Network Automation

Enroll to out training programs

(c) 2022, Karneliuk.com

About

Operation of Nokia SR OS routers via NETCONF/YANG

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages