facebook/time

Calnex firmware update doesn't work with final release tarballs

PDeanCalnex opened this issue · 2 comments

The Calnex firmware file string is slightly different for final releases.

The previously released versions of firmware have been engineering releases.
sentinel_fw_v2.17.0.0.6988-20220406.tar

Final releases have the structure.
sentinel_fw_R17.0.0.tar

Sending these files gets the response
time="2022-11-21T14:36:41Z" level=fatal msg="Malformed version: sentinel_fw_r17.0.0"

Yep this is due to a regexp.

Discussed offline - we will keep this regexp.