Hi,
I've looked for a comprehensive documentation about scripting in Cirrus without having good results.
The issue i'm looking for is to find a way to interact with a command executed on a device, its output, cirrus "matching engine" and dynamic variables assignment.
For example, the goal is to test ISDN link setup and i would like to do this with Cirrus:
0. Login on first device of a group
1. Find $backupped = "interface serial $number" with command $BackupCommand = "backup interface $InterfaceBackup" configured in.
1.1 IF the match result in point 1. is empty, report.
2. Verify status of $InterfaceBackup.
3. IF the status of $InterfaceBackup = DOWN, Enter config mode, enter interface $backupped, delete $BackupCommand to setup the call, exit config mode.
3.1. Waiting and verify the the status of $InterfaceBackup.
3.1.1. IF point 3 is UP, execute extended ping to verify IP connectivity.
4. Report results of points 2, 3.1 and 3.1.1 .
5. Enter config mode, enter interface $backupped and reinsert $BackupCommand.
7. Verify the status of $InterfaceBackup.
8. Exit and repeat proces for next device
Is it possible to complete these tasks with Cirrus or do i've to use other way?
Many many thanks for any advice.
Pierluigi