solidfire¶
The context we use to talk to the Solidfire API on the Machine.
In order to control an appliance that is booted into ElementOS, we need a place to run API commands against the machine. This context comes preloaded with Python and a copy of the Solidfire Python API packages, which allows you to script actions against the Solidfire API in either bash or python.
To use this context you need to have:
- The latest
docker-context
plugin installed from the catalog. - either
podman
ordocker
installed and able to be run from dr-provision - A copy of the latest
sfcli-context
container, available at https://s3-us-west-2.amazonaws.com/get.rebar.digital/misc/sfcli-context.
Once you have docker-context
installed on the dr-provision
endpoint, either docker
or podman
installed, and the
sfcli-context
container downloaded, you can upload the container
to dr-provision using the following drpcli command: drpcli files upload sfcli-context as contexts/docker-context/sfcli-context