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

Make wr mem or equivalent optional #12

Open
lykinsbd opened this issue Apr 13, 2020 · 1 comment
Open

Make wr mem or equivalent optional #12

lykinsbd opened this issue Apr 13, 2020 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lykinsbd
Copy link
Owner

Today, when Stockpiler backs up a network device, it saves the running configuration to startup (or whatever is the equivalent on a given platform).

We need to make this behavior optional.

@lykinsbd lykinsbd added enhancement New feature or request good first issue Good for newcomers labels Apr 13, 2020
@lykinsbd
Copy link
Owner Author

In https://github.com/lykinsbd/stockpiler/blob/master/stockpiler/tasks/stockpile/stockpile_cisco.py#L26 we would need to add an argument for "save_config" or similar, defaulting to True.

Then based on if that bool, we would make this chunk conditional:
https://github.com/lykinsbd/stockpiler/blob/master/stockpiler/tasks/stockpile/stockpile_cisco.py#L73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant