Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add module for Cisco IOS configuration manipulation #48859

Merged
merged 6 commits into from Aug 2, 2018

Conversation

mirceaulinic
Copy link
Contributor

What does this PR do?

Adds a new module for Cisco IOS style configuration manipulation, and use the functionality into the NAPALM module to have the features directly applied on the configuration(s) of the managed device.

Copy link
Contributor

@rallytime rallytime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have 2 small requests. Thank you for writing tests for this! 🎉

There's also a pylint warning.


# Import python stdlib
import difflib
from collections import OrderedDict
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should use the OrderedDicrt from salt.utils.odict.


# Import Python libs
import textwrap
from collections import OrderedDict
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment here. :)

@mirceaulinic
Copy link
Contributor Author

Wasn't aware of salt.utils.odict (or probably I forgot) - should be fixed via 062f161 @rallytime.

@rallytime
Copy link
Contributor

@mirceaulinic
Copy link
Contributor Author

Alright, seems like ca254fb fixed the lint.

@rallytime rallytime merged commit 93c5955 into saltstack:develop Aug 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants