Skip to content

Overriding comms_prompt_pattern of generic driver #100

Answered by lucasmarcel
lucasmarcel asked this question in Q&A
Discussion options

You must be logged in to vote

The problem was caused by the 'connection_options/scrapli/extras' dictionary not being merged but instead replaced by the last one defined. So only the options defined as part of defaults.yaml were actually present in my case. The comms_promt_pattern was in the groups.yaml file and therefore ignored. I moved it to defaults.yaml and now the prompt is recognized and everything works as expected.

I understand that this is by design but never ran into it before.
Thanks for your help.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@lucasmarcel
Comment options

@carlmontanari
Comment options

@lucasmarcel
Comment options

@carlmontanari
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by lucasmarcel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants