Environment
- Python version: 3.9.18
- pyntc version: 2.0.0
Expected Behavior
After running a command
# install add file flash:cat9k_iosxe.17.12.04.SPA.bin activate commit prompt-level none
and getting this output
FAILED: There is not enough free disk available to perform this operation on switch 1. At least 1276287 KB of free disk is required
error should be reported and process should be interrupted.
Observed Behavior
Instead of early failing, it is waiting for the device reboot until timeout expires.
Steps to Reproduce
- Run
IOSDevice::install_os with install_mode as True in a device with not enough free disk available.
- Check that commands
show version is being executed in a loop until timeout expires.