/cf_will_it_connect_plugin

Cloud Foundry CLI plugin to validate connectivity between a CF instance and a thing

Primary LanguageGoApache License 2.0Apache-2.0

cf willitconnect

wercker status

Cloud Foundry CLI plugin to validate connectivity between a CF instance and a thing

This plugin makes it even easier to use Willitconnect to validate if you can connect from CF to a thing.

This simplifies troubleshooting, but was also partly inspired by lmgtfy.com

##Usage

Default functionality assumes willitconnect is the route used for the willitconnect application running on your CF instance, and creates a socket connection to the specified port and host. If desired, you can specify an alternate route for willitconnect with the --route flag and/or specify a proxy for willitconnect to use. In addition, if the host you pass is a url, willitconnect will attempt an http connection

$ cf willitconnect -host=<host> -port=<port>
$ cf willitconnect <url>
$ cf willitconnect -host=<host> -port=<port> -proxyHost=<proxyHost> -proxyPort=<proxyPort>
$ cf willitconnect --route=<alternative wic route> --host=<host> -port=<port>

##install

$ cf install-plugin cf-willitconnect -r CF-Community

##Todo

  • Add detailed http status info