Closed evgenoir closed 8 months ago
What's you need is Filldown I think, like this: Value Filldown vrf (.+) Value address (.+)
Start ^\s*vrf context ${vrf} -> Record V
V ^\saddress-family ${address} ^\svrf context ${vrf} -> Record V
Closing on the assumption the suggested fix resolved the issue - reopen if that's not the case?
I am trying to use textfsm to parse the config like this:
NOTE: Any indented line below "vrf context" may be missing!
I've parsed a lot of different kinds of configurations using textfsm, but this configuration has stumped me. The problem here that there is no separator beetween 'vrf context' parts of configuration and textfsm doesn't support state transition with Contrinue action. Is there a some way to overcome this limitation in textfsm?