Value MODULE (\d+)
Value PORTS (\d+)
Value TYPE (\S+(\s+\S+)+)
Value MODEL (\S+)
Value STATUS (ok|active(\s+\*)?|(ha-)?standby|present|testing|initializing|powered-(dn|up))

Start
  ^Xbar\s+Ports\s+Module-Type\s+Model\s+Status -> Fail
  ^${MODULE}\s+${PORTS}\s+${TYPE}\s+${MODEL}\s+${STATUS} -> Record
  ^${MODULE}\s+${PORTS}\s+${TYPE}\s+${STATUS} -> Record

Fail
  ^.* -> NoRecord
