Nokia & Classic Variant #73
-
I've got some Nokia SROS devices that don't have the MD-CLI enabled. It looks like I need to define the "classic" variant as the regex seems to match the prompt but when I set the send_command also stops working and fails to find the prompt. hosts.yaml
groups.yaml
Code & error
For what it's worth the router prompt is "*A:PEC-PRIV-20# " and the regex from https://github.com/scrapli/scrapli_community/blob/master/scrapli_community/nokia/sros/nokia_sros.py is "pattern=r"^*?[abcd]:[\w]+#\s?$"" Since the prompt pattern seems to match I'm guessing the issue is I'm not defining this properly in my groups file which is why I'm asking here vs the scrapli_community option. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Could you snag logging please? Example here. I dont know much about Nokia things so logs will probably be the only way I can help! Carl |
Beta Was this translation helpful? Give feedback.
-
Here ya go.
|
Beta Was this translation helpful? Give feedback.
Could you snag logging please? Example here. I dont know much about Nokia things so logs will probably be the only way I can help!
Carl