Skip to content

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.

2 participants