Skip to content

GNS3 installation, device configuration and network automation with Nornir.

Notifications You must be signed in to change notification settings

shrutikaponde/gns3-examples

Repository files navigation

GNS3 Guide

  1. Install GNS3 on Remote server (Azure, AWS)
  2. Install GNS3 on Local machine (Linux)
  3. Create GNS3 Topology
  4. Create GNS3 Cisco Topology
  5. Connect local machine to GNS3(Telnet)
  6. Connect local machine to GNS3(SSH) (in progress)

Nornir

Install

  1. Install nornir into virtual environment

    python -m venv .nornir-venv
    source .nornir-venv/bin/activate
    pip install nornir nornir_utils
    

Nornir With Napalm

  1. Install nornir_napalm plugin

    pip install nornir_napalm nornir_jinja2
    
  2. Access GNS3 devices using Nornir and Napalm

    • napalm_cli - Call napalm's cli method
    • napalm_configure - Call napalm's configure method. It also allows committing/discarding configurations. (In progress)
    • napalm_get - Call napalm's get_* methods
    • napalm_ping - Call napalm's ping method
    • napalm_validate - Call napalm's validate method

Nornir With Napalm

  1. Install nornir_netmiko plugin

    pip install nornir_netmiko
    
  2. Access GNS3 devices using Nornir and Netmiko (Coming Soon)

Useful References