PAWS Restart Service Via CSV

A customer has a large amount of CUCM/ CUC/ IMP nodes that they wanted to restart in bulk. This python program was created to do that. Utilzing the PAWS API on before listed cisco products.

Project Description

Python script takes IP address in a CSV file and iterates them in a loop to send them to a function that sends PWS XML post messages to the application via the requests library in python. Script was created in python 3.9.1 and needs the request library to be installed via pip install requests.
The CSV file is named connections.csv and has two fields. Site and IP. Site is not really used other than print statements in the script. IP is the more important fields.
Script was tested against CUCM and CUC nodes multiple version of 11.5

Most Importantly

Have fun.

View code on GitHub
  • Owner

  • Contributors

    +1Github contributor
  • Categories

  • Programming Languages

    Python
  • License

    MIT License

Code Exchange Community

Get help, share code, and collaborate with other developers in the Code Exchange community.View Community
Disclaimer:
Cisco provides Code Exchange for convenience and informational purposes only, with no support of any kind. This page contains information and links from third-party websites that are governed by their own separate terms. Reference to a project or contributor on this page does not imply any affiliation with or endorsement by Cisco.