rosenhouse / connet

prototyping cf networking policy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

connet

to test manually

  1. push a couple test apps if you don't already have them:
(cd src/acceptance/example-apps/proxy && cf push test1 && cf push test2)
  1. launch the policy server
(cd src/policy-server && go run main.go -configFile <( echo '{ "listen_address": "127.0.0.1:5555" }' ))
  1. then in a separate terminal try out the cf cli plugin
go install cf-cli-plugin && CF_TRACE=true cf uninstall-plugin connet; cf install-plugin -f bin/cf-cli-plugin && cf plugins

cf net-allow test1 test2
cf net-list
cf net-disallow test1 test2
cf net-list

About

prototyping cf networking policy

License:Apache License 2.0


Languages

Language:Go 98.8%Language:Shell 1.2%