Camphor Networks Platform API
/var/lib/camphor/camphor_api/camphor_api_test_run

You can run this sample camphor client code with the following shell script. Above script basically executes the following steps, which you can customize according to your environment.

export CAMPHOR_PASSWORD="${CAMPHOR_PASSWORD:-Camphor123}"

export SSHPASS="${SSHPASS:-$CAMPHOR_PASSWORD}"

export DEST_DIR="${DEST_DIR:-$PWD}"

cd ${DEST_DIR}

[[ ! -d .venv ]] && python3 -m venv .venv

source .venv/bin/activate

pip3 install -Ur /var/lib/camphor/camphor_api/requirements.txt

PYTHONPATH=/var/lib/camphor python3 -m pytest camphor_api_test.py

Camphor Configuration Schema