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

StartShell.run to take this as None for non returning commands #680

Merged
merged 1 commit into from
Mar 22, 2017

Conversation

vnitinv
Copy link
Contributor

@vnitinv vnitinv commented Mar 15, 2017

For non returning calls (for example "monitor traffic interface fxp0") user can pass this as None for which the data will be calculated till timeout value.

    with StartShell(dev) as ss:
        print ss.run('cli -c "monitor traffic interface fxp0"', this=None, timeout=10)

@coveralls
Copy link

coveralls commented Mar 15, 2017

Coverage Status

Coverage increased (+0.0007%) to 98.66% when pulling c68901c on vnitinv:start_shell_fix into 83891e0 on Juniper:master.

@vnitinv vnitinv merged commit ef29fdb into Juniper:master Mar 22, 2017
@vnitinv vnitinv deleted the start_shell_fix branch February 18, 2019 05:26
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.

None yet

2 participants