TobiEiss / go-textfsm

golang textfsm
MIT License
16 stars 4 forks source link

Value options causes MISSINGARGUMENT parser error #5

Open Ali-aqrabawi opened 5 years ago

Ali-aqrabawi commented 5 years ago

parseVal should accept value options like Required, List, Filldown and Fillup

template example:

Value Required INTF (\S+)
Value IPADDR (\S+)
Value STATUS (down|up)
Value PROTO (up|down)

Start
  ^${INTF}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record

reference

Ali-aqrabawi commented 5 years ago

i will create sub-issues for this one for each option to submit a pr for every option separatly.

TobiEiss commented 5 years ago

Thank you. I add this on my roadmap

Ali-aqrabawi commented 5 years ago

great work, Thanks, are you going to work on them all together in one pr? if not i would like to work on List, if you don't mind please assign it to me.