Closed ArxBloemJo closed 3 months ago
Connection : DefaultL2LGroup
Strings are not supported in the template. It's show a string because this is a dynamic cryptomap and connection peer is not a static ip
There are a couple of things. First there is missing the connection type
section at the top. Was this command executed with something more than just show vpn-sessiondb detail l2l
?
Oops i did not paste the whole output of the command (issue edited). Yes i use only the show vpn-sessiondb detail l2l command. I tested it locally if i change the template value CONNECTION: Currently """Value Filldown CONNECTION (\d+.\d+.\d+.\d+)""" TO """Value Filldown CONNECTION (.+?)"""
So it can accept everything on that value then i works and no error is raised.
@ArxBloemJo @jvanderaa
Could use \S+
so that CONNECTION
capture group doesn't inadvertently match white space.
The example above doesn't include Session Type which is required so this output won't parse as is.
@ArxBloemJo Would you please respond back so we can gather more information to fix the ASA template?
ISSUE TYPE
TEMPLATE USING
SAMPLE COMMAND OUTPUT
SUMMARY
EXPECTED RESULTS
Currently parsed data
ACTUAL RESULTS