Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/425.fixed
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed check connectivity failing on Sync Network Data job.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def netmiko_send_commands(task: Task, command_getter_yaml_data: Dict, command_ge
host=task.host, result=f"{task.host.name} has missing definitions in command_mapper YAML file.", failed=True
)
if nautobot_job.connectivity_test:
if not tcp_ping(task.host.hostname, task.host.port):
if not tcp_ping(task.host.hostname, task.host.port if task.host.port else 22):
return Result(
host=task.host, result=f"{task.host.name} failed connectivity check via tcp_ping.", failed=True
)
Expand Down
Loading