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

adds tcp_ping plugin #13

Merged
merged 6 commits into from
Dec 31, 2021
Merged

Conversation

wvandeun
Copy link
Contributor

@wvandeun wvandeun commented Sep 21, 2021

adds tcp_ping plugin
closes nornir-automation/nornir#520

@dbarrosop
Copy link
Contributor

Very nice!

@dbarrosop
Copy link
Contributor

Test seems to be failing though, looks like localhost:22 is open while you expected it to be closed (inventory sets the ip of the fake devices to localhost)

@wvandeun
Copy link
Contributor Author

wvandeun commented Sep 22, 2021 via email

@dbarrosop
Copy link
Contributor

Github actions supports docker-compose so we could potentially start a few linux containers with openssh and use them for testing. We used to do that actually:

nornir-automation/nornir@45c30a7

@wvandeun
Copy link
Contributor Author

wvandeun commented Sep 23, 2021 via email

@wvandeun wvandeun marked this pull request as draft September 27, 2021 06:18
@dbarrosop dbarrosop marked this pull request as ready for review September 28, 2021 05:38
- adds start_dev_env and stop_dev_env makefile targets
- adds docker-compose file
- modifies jupyter makefile target to run on host instead of docker container
- add docker-jupyter makefile target to run jupyter notebook server in
  docker container
@wvandeun
Copy link
Contributor Author

This one should be good now.

There's a few changes:

  • added a docker-compose file to introduce the stupid_ssh_container
  • added makefile targets to start/stop stupid_ssh_container
  • modified jupyter makefile target to run jupyter notebook server on host
  • added jupyter makefile target to run notebook in container
  • added start_dev_env action in CI to start stupid_ssh_container
  • updated snok/install-poetry to v1.2.1

@dbarrosop
Copy link
Contributor

A thousand apologies, i have no clue how I missed this PR for so long... Rebasing and merging. Sorry again for missing this :(

@dbarrosop dbarrosop merged commit b865fbf into nornir-automation:master Dec 31, 2021
@wvandeun wvandeun deleted the feature_tcp_ping branch January 5, 2022 13:47
@wvandeun
Copy link
Contributor Author

wvandeun commented Jan 5, 2022

Awesome! No need to apologize :)

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.

adapt tcp_ping plugin to nornir 3.0.0
2 participants