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

Only one config action has to be supported, currently multiple config actions are supported #113

Closed
rsmekala opened this issue Apr 23, 2019 · 1 comment

Comments

@rsmekala
Copy link

Description of Issue/Question

Commands that have more than one config action specified should not be allowed.
Example: salt "vmx" junos.load salt://replace.conf replace=True update=True

The behavior is in sync with PyEZ that doesn't allow more than one config action value.
Link: https://github.com/Juniper/py-junos-eznc/blob/dabef6dc29af8017d5eb8ae4be70daa7a42b77d6/lib/jnpr/junos/utils/config.py#L384

I will raise a PR adding a check to salt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant