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

Support for using the ServiceNet IP address for SSH connections #41

Merged
merged 3 commits into from
Sep 10, 2014

Conversation

steve-jansen
Copy link
Contributor

Adds an optional config setting :servicenet, which defaults to false.

When true, the driver will use the first private address of the
node instead of the first public address. The first private ip
address should always be the ServiceNet interface (10.184.0.0/13
or 10.208.0.0/12).

The ServiceNet interface may be preferable when running kitchen
on another Rackspace cloud server, like a Jenkins build server,
or for customers with VPN access to ServiceNet.

Using ServiceNet avoids bandwidth charges and may avoid changes
to the PublicNet/RackConnect firewall rules to allow
SSH connections to the kitchen test VMs from the public Internet.

The optional config setting `:servicenet` defaults to false.

When true, the setting will use the first private address of the
node instead of the first public address.  The first private ip
address should always be the ServiceNet interface (10.184.0.0/13
or 10.208.0.0/12).

The ServiceNet interface may be preferrable when running kitchen
on another Rackspace cloud server, like a Jenkins build server,
or for customers with VPN access to ServiceNet.

Using ServiceNet avoids bandwidth charges and may avoid changes
to the PublicNet/RackConnect firewall rules to allow
SSH connections to the kitchen test VMs from the public Internet.
@coveralls
Copy link

Coverage Status

Coverage increased (+4.66%) when pulling 024bb33 on steve-jansen:service-net into b42cd1d on test-kitchen:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage increased (+4.66%) when pulling 024bb33 on steve-jansen:service-net into b42cd1d on test-kitchen:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+4.66%) when pulling b8f2c8c on steve-jansen:service-net into b42cd1d on test-kitchen:master.

@steve-jansen steve-jansen changed the title Support for using the ServiceNet ip address for SSH connections Support for using the ServiceNet IP address for SSH connections Sep 10, 2014
@hartmantis
Copy link
Contributor

👍

hartmantis added a commit that referenced this pull request Sep 10, 2014
Support for using the ServiceNet IP address for SSH connections
@hartmantis hartmantis merged commit 094aa18 into test-kitchen:master Sep 10, 2014
@steve-jansen steve-jansen deleted the service-net branch September 10, 2014 20:33
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.

3 participants