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

Feature: configure ip_version #359

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

pdesgarets
Copy link

@pdesgarets pdesgarets commented Mar 10, 2018

Fixes #302
Adds ip_version option (4 or 6) to define what IP should be used to ssh into the instance.

Possible important change : it does not use the first network defined in the config at all costs, but checks every network from the config to see if one contains an IP of the desired version, even if it is not the first ranked.

Some "real use" tests should be performed before merging. Done, seems to work fine

I added some unit tests, they might not cover every possible scenario.

@coveralls
Copy link

coveralls commented Mar 10, 2018

Coverage Status

Coverage decreased (-0.06%) to 87.677% when pulling 73d7bb2 on illuin-tech:feat/master/ip_version into 4ee2d59 on ggiamarchi:master.

@pdesgarets pdesgarets changed the title Feature: configure ip_version WIP Feature: configure ip_version Mar 10, 2018
@pdesgarets
Copy link
Author

pdesgarets commented Mar 10, 2018

Renamed to WIP
To-do :

  • use version returned by the API instead of guessing it

@pdesgarets pdesgarets changed the title WIP Feature: configure ip_version Feature: configure ip_version Mar 12, 2018
@pdesgarets pdesgarets force-pushed the feat/master/ip_version branch from 73d7bb2 to 101032b Compare February 19, 2020 18:01
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.

2 participants