Skip to content

A BOSH Release for a simple BOSH CPI proxy that delegates all invocations to a remote CPI over SSH

License

Notifications You must be signed in to change notification settings

gstackio/bosh-shadow-cpi-release

Repository files navigation

BOSH Shadow CPI Release

This BOSH Release provides a shadow CPI to be deployed by a BOSH Director.

A shadow CPI is the local view of a remote CPI, that actually is located on another distant host.

A CPI is usually just an executable binary. The shadow CPI uses an SSH connection to transmit requests to the actual distant CPI and output responses back to the caller.

This was designed in order to allow BOSH to control a distant warden_cpi that has the requirement to reside on the exact same host as the Garden-runC backend it is using.

Contributing

How to test

When the shadow-cpi job is properly configured and deployed on a BOSH- managed node, then this call should return something:

/var/vcap/jobs/shadow-cpi/bin/cpi <<< '{ "method": "info", "arguments": [], "context": { "director_uuid": "39129ed5-ffb7-4eb9-9b6e-3ec49205e57c" } }'; echo

You should obtain something like this:

{"result":{"stemcell_formats":["warden-tar","general-tar"]},"error":null,"log":""}

About

A BOSH Release for a simple BOSH CPI proxy that delegates all invocations to a remote CPI over SSH

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages