Overview
This page defines test cases for the NDSLabs command line utility (ndslabsctl).
Installation
- If using the ndslabs-startup/ndslabs-up script, the ndslabsctl is copied to your ~bin directory. A file ~/.ndslabsct.yaml is created in your home directory containing the API server address.
- If not using the ndslabs-up.sh script, you'll need to manually download the ndslabsctl from Github: https://github.com/nds-org/ndslabs/releases/tag/v1.0-alpha.
- If the API server is running under docker or Kubernetes, you will need to specify the server. This can be done on the commandline using the --server flag or by creating a .ndslabsctl.yaml file in your home directory. For example:
APISERVER=`kubectl describe svc ndslabs-apiserver | grep ^IP | awk '{print $2}'`
echo "server: http://$APISERVER:8083" > ~/.ndslabsctl.yaml
Preconditions
Help
Authentication/authorization
...