Value MODEL (\S+)
Value HW_VERSION (\S+)
Value SERIAL_NUMBER (\S+)
Value SYS_MAC (\S+)
Value IMAGE (\S+)
Value TOTAL_MEMORY (\d+)
Value FREE_MEMORY (\d+)
Value UPTIME (.+)

Start
  ^Arista\s+${MODEL}
  ^Hardware\s+version:(\s+${HW_VERSION})?
  ^Hardware\s+MAC\s+address:\s+\S+
  ^Serial\s+number:(\s+${SERIAL_NUMBER})?
  ^System\s+MAC\s+address:\s+${SYS_MAC}
  ^Software\s+image\s+version:\s+${IMAGE}
  ^Architecture:\s+\S+
  ^Internal\s+build\s+(version|ID):\s+\S+
  ^Image\s+(format\s+version|optimization):\s+\S+
  ^Kernel\s+version:\s+\S+
  ^Uptime:\s+${UPTIME}
  ^Total\s+memory:\s+${TOTAL_MEMORY}
  ^Free\s+memory:\s+${FREE_MEMORY} -> Record
  ^cEOS\s+tools\s+version:
  ^Kernel\s+version:
  ^. -> Error
