Results and Error Messages in node-upgrade

When the node-upgrade command is run with valid arguments and parameters, the program will return exit status 0 and the following results and error messages may be returned for each node listed.

Result Causes
SUCCESS Node upgrade succeeded
FileNotFoundError No upgrade file found matching provided device family or version
UpgradeError Device already has same or higher firmware version

Network connection lost
IncompatibleFirmwareError Firmware file provided does not match the product family

In addition, the following exit statuses may be returned.

Exit Status Description
0 Command exited normally
1 Invalid parameter
2 Unknown argument