Value ROUTERBOARD (\S+)
Value BOARD_NAME (.+)
Value HARDWARE_MODEL (.+)
Value REVISION (.+)
Value SERIAL_NUMBER (\S+)
Value FIRMWARE_TYPE (\S+)
Value FACTORY_FIRMWARE ([\d.]+)
Value CURRENT_FIRMWARE ([\d.]+)
Value UPGRADE_FIRMWARE ([\d.]+)

Start
  ^\s*;;;.* -> Next
  ^\s*routerboard:\s${ROUTERBOARD}
  ^\s*board-name:\s${BOARD_NAME}
  ^\s*model:\s${HARDWARE_MODEL}
  ^\s*revision:\s${REVISION}
  ^\s*serial-number:\s${SERIAL_NUMBER}
  ^\s*firmware-type:\s${FIRMWARE_TYPE}
  ^\s*factory-firmware:\s${FACTORY_FIRMWARE}
  ^\s*current-firmware:\s${CURRENT_FIRMWARE}
  ^\s*upgrade-firmware:\s${UPGRADE_FIRMWARE}
  ^\s*(?:\d{2}:){2}\d{2}\s+echo:\s*.*$$ -> Next
  ^. -> Error
