-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Question: salt-sproxy support returners ? #259
Comments
Hi @network-shark - yes, returners are supported (for instance, see this line |
I'm not sure if I understand your question . This is how I do it. What I did is . Created a returner in _returners one_liner.py What I want to do is using the returner as a last resort to grep some value from the device config. salt-sproxy --sync-all 'myhost' mycustommodule.myfucntion --return one_liner -ltrace
This raises the failure from my first post. I added some debug lines to ios.py
returns
|
Fix the napalm function , with this approach . returner is working. Thoughts on this ? I could create a PR on the napalm project. NEW :
OLD
|
Hello @mirceaulinic ,
does salt-sproxy support using --return mycustom returner ?
I'm trying to use net.cli inside my returner , but from the logs I think the connection is already lost and then the execution of the command fails.
The text was updated successfully, but these errors were encountered: