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

Added fix to handle mode telnet #411

Merged
merged 34 commits into from
May 13, 2024

Conversation

chidanandpujar
Copy link
Collaborator

What does this PR do?

To handle mode= telnet and port = 23

isinstance(dev, Device): returns False for device handle with mode=telnet and port=23,
added another check to if dev is not None and proceed with execution

What issues does this PR fix or reference?

Ansible issue
Juniper/ansible-junos-stdlib#535

Previous Behavior

Remove this section if not relevant
"msg": "Uncaught exception - please report: not all arguments converted during string formatting"

Tests written?

Yes/No
Need update in inventory
local_connection_testcases ansible_host=x.x.x.x ansible_user=xyz ansible_pass=xyz ansible_port=23 mode=telnet ansible_connection=local ansible_command_timeout=300

@dineshbaburam91 dineshbaburam91 self-requested a review May 9, 2024 11:20
@dineshbaburam91 dineshbaburam91 merged commit 5198af3 into Juniper:master May 13, 2024
4 checks passed
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