David K. Bainbridge | ebf38d9 | 2020-02-10 10:46:31 -0800 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | set -x | ||||
David Bainbridge | b909352 | 2020-04-15 14:32:44 -0700 | [diff] [blame^] | 3 | BBSIM=$(kubectl get --all-namespaces -l app=bbsim svc -o json | jq -r '.items[] | .metadata.name + "." + .metadata.namespace + ".svc:50060"' | head -1) |
4 | exec voltctl device enable "$(voltctl device create -t openolt -H "$BBSIM")" |