Author: Janos Tarjanyi
It is a Python script, to execute multiple commands on Avaya Communication Manager, and write output data into the CSV file for later processing. It is ideal tool to repeat a command many times which not available as import in Avaya Site Administration Tool (eg. list usage)
- As input arguments need to define the followings:
- host
- Username
- Password
- Input file
- Output file
For all available option use "ossi_tool -h"
Usage example:
- $ ossi_tool 192.168.10.10 sampleuser -ppassword -i commands.csv -o outputfile.csv
- $ ossi_tool 192.168.10.10 sampleuser -ppassword -c 'list node-name all'
In most Linux distribution the Python 2.7 is installed.
- Ossi_tool can be easily installed by pip, it takes care about other dependecies.
- Check python version
- Install pip
- $ sudo easy_install-2.7 pip
Install ossi_tool
- $ sudo pip install ossi_tool
ossi_tool is ready to use ;)
Because the ossi tool use pexpect wich is not compatible with Windows Powershell SSH client, Linux Subsystem (WLS) should be used on Windows. You can chose many linux disctribution as subsystem. How_to_install_WLS
- When the WLS is ready to use all other step same like Linux usage.
- Check python version
- Install pip
- $ sudo easy_install-2.7 pip
Install ossi_tool
- $ sudo pip install ossi_tool
ossi_tool is ready to use ;)
- display
- list
- mon
Note: ossi_tool focuses those commands which are not scriptable by Avaya Site Administration. With SAT export/import many change type commands can be achived so it will not be part of the ossi_tool. If you have idea what command should include drop me an E-mail to discuss it.
Check the project GitHub page
If you have new Idea, or just one to help me to test feel free to join my Discord server