Code Monkey home page Code Monkey logo

cisco_ios_upgrade's Introduction

cisco_ios_upgrade

This is a simple pack that allows users to transfer files from a folder inside /opt/stackstorm/files_repo/ to a cisco device and then easily perform an IOS upgrade or ROM MON upgrade on the device.

  1. First this is to install the pack using the command below, after that is complete you will need to create a folder called files_repo in the directory /opt/stackstorm/ to store ios images and rom mon packages.
make sure the virtual enviroment is python 3.
##CentOS
st2 pack install https://github.com/NetDevLazg/cisco_ios_upgrade.git --python3
##Ubuntu
st2 pack install https://github.com/NetDevLazg/cisco_ios_upgrade.git
  1. After you create the folder files_repo create two new folder inside and called them ios_repo and rom_mon_repo.

  2. Store ios images insides ios_repo and rom_mon packages inside rom_mon_repo.

Example of File path:

/opt/stackstorm/files_repo/
├── ios_repo
│   ├── csr1000v-universalk9.16.06.06.SPA.bin
│   └── csr1000v-universalk9.16.09.03.SPA.bin
└── rom_mon_repo
    └── isr4200_4300_rommon_1612_1r_SPA.pkg

2 directories, 3 files

  1. After the folder is created and the corresponding image is inside you can start to use the actions to transfer the images to the devices and then run the upgrade.

prerequisites

  1. Make sure the virtual enviroment has netmiko
  2. Make sure the cisco device has scp enable if not then run this command
ip scp server enable

cisco_ios_upgrade's People

Contributors

netdevlazg avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

techiewarrior

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.