Sindbad~EG File Manager

Current Path : /opt/imh-python/lib/python3.9/site-packages/ntc_templates/templates/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/ntc_templates/templates/eltex_show_system_id.textfsm

Value UNIT (\d+)
Value MAC_ADDRESS ([a-zA-Z0-9]{2}(?::[a-zA-Z0-9]{2}){5})
Value HARDWARE_VERSION (\S+)
Value SERIAL_NUMBER (\S+)

Start
  ^\s*Unit\s+MAC\s+address\s+Hardware\s+version\s+Serial\s+number\s*$$ -> Firmware1
  ^\s*Serial\s+number\s*:\s*${SERIAL_NUMBER}\s*$$
  ^\s*$$
  ^. -> Error

Firmware1
  ^(\s*-+)*\s*$$
  ^\s*${UNIT}\s+${MAC_ADDRESS}\s+${HARDWARE_VERSION}\s+${SERIAL_NUMBER}\s*$$ -> Record
  ^\s*$$
  ^. -> Error

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists