Skip to content

Chaning promt (comms_prompt_pattern) per command or config_sets #130

Discussion options

You must be logged in to vote

I assume this should have been in scrapli_community since it doesn't seem netconf related? but maybe im wrong there?

if this is something that would be common for all huawei vrp devices -- as in 72 is the char limit for many/most huawei vrp devices -- then this would be something that would be good to get merged into scrapli_community, so yes a pr would be welcomed.

if it is a more one-off type of thing where you have a sort of non-standard then you can modify this behavior on your own (without modifying the source code) similar to:

>>> from scrapli import Scrapli
>>> from scrapli_community.huawei.vrp.huawei_vrp import DEFAULT_PRIVILEGE_LEVELS
>>> from copy import deepcopy
>>> updated_pri…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by cuong-nguyenduy
Comment options

You must be logged in to vote
1 reply
@carlmontanari
Comment options

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