Skip to content

mohamedhafez87/network-automation

 
 

Repository files navigation

Network Automation for Nokia SROS

There are many tutorials on the web dedicated to network automation, therefore I decided to write another one. Ok, not really... This is not a tutorial, as I don't want to go into the details about installation of some missing python libs or similar basics. I would like to show you though, the basics of network automation in relation to Nokia SROS. Both config generation as well as pushing the config to the router with Ansible. For network engineers it is difficult to get familiar with topics like Python, Ansible, Jinja2 and some others. Unfortunately, network automation requires conquering those aspects all together and that is main reason of presenting this combine knowledge.

If you don't know where to start or you are missing some pieces of the puzzle called network automation, you may find resources below really useful.

Basic interface config generation for Nokia SROS router with Jinja2, Python script and meta data file with router variables stored in YAML format.

Config generation for Nokia SROS router with Jinja2, Python script and meta data file with router variables stored in YAML format. (or multiple files to generated multiple router configs)

Intro. Before starting with Ansible, short explanation how to use Python to connect to the devices, get some info from the devices or push config to the devices. Napalm SROSDriver usage.

How to write Ansible playbooks that use custom modules.

Basics about inventory file.

Running playbook against Nokia routers.

Template module in Ansible. How to generate Nokia router config based on YAML file, Jinja2 template and Ansible.

Generating config files on localhost and sending it to the routers in single Ansible playbook.

Card auto-provisioning for Nokia SROS based on SYSLOG messages, Napalm-logs and Stackstorm.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%