-
Notifications
You must be signed in to change notification settings - Fork 377
feat: Add ansible-inventory credential support for save command #2925
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
base: main
Are you sure you want to change the base?
feat: Add ansible-inventory credential support for save command #2925
Conversation
- Create inventory_parser.go to parse ansible-inventory.yml - Modify save command to load per-node/per-kind credentials - Use dynamic approach: skip only non-network node kinds - Credentials loaded in-memory, not persisted to topology - Supports host-level and group-level credential fallback Closes srl-labs#2924
|
Ansible inventory example: nokia_srsim:
|
|
can be tested with other username than admin which should have administrative rights: |
| netconfKinds := []string{ | ||
| "nokia_sros", "vr-sros", "nokia_srsim", // Nokia SROS variants | ||
| "nokia_srlinux", "srl", // Nokia SRL (for consistency, though uses local CLI) | ||
| "c8000", // Cisco 8000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Those are not conform with the schema and should not use deprecated kinds
Uh oh!
There was an error while loading. Please reload this page.