Skip to content

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

License

Notifications You must be signed in to change notification settings

gambtho/cf_will_it_connect_plugin

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published