Skip to content

Conversation

@johanek
Copy link

@johanek johanek commented Mar 11, 2024

Hello,

Sometimes it's desirable to have CLI style output for get_config - I want it to be able to use nautobot golden config to manage consistency checks and device remediation.

I couldn't find a way for the Aruba API to return the config in this format. So this change adds an optional argument use_cli to get the configs via a SSH session instead. By default the existing behaviour of reporting the JSON output is kept.

I felt this would be the simplest way to get the functionality I needed with minimal changes to current behaviour, but I'm open to suggestions for improvement,

Thanks!

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.

1 participant