netdevops / hier_config

Hierarchical Configuration
MIT License
126 stars 24 forks source link

add support for other negations as "no" #72

Closed empi89 closed 4 years ago

empi89 commented 4 years ago

I am using a bunch of comware 5/comware 7 switches where negation is "undo" instead of "no". This PR adds a configuration parameter to change the negation prefix

empi89 commented 4 years ago

Thanks for your remark. I have changed the line in the PR.

jtdub commented 4 years ago

@empi89 -- Can you extend the integration tests to verify that negation will work properly?

empi89 commented 4 years ago

Could you please check if test is as you would expect it to be?