This repository contains the demo Python code to perform operational activities on Nokia SR OS network routers and switches via NETCONF.
- Modify the
app/inventory.yaml
file to match your needs:
---
- hostname: 192.168.101.11
- Install the dependencies:
$ pip install -r requirements.txt
- Setup environment variables with credentails:
$ export AUTOMATION_USER="admin"
$ export AUTOMATION_PASS="admin"
- 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
Enroll to out training programs
(c) 2022, Karneliuk.com