blob: 1d85473bb2c3a9ee3f9ece3bbf94b48a46d568e6 [file] [log] [blame]
David K. Bainbridgeebf38d92020-02-10 10:46:31 -08001#!/usr/bin/env bash
2set -x
David Bainbridgeb9093522020-04-15 14:32:44 -07003BBSIM=$(kubectl get --all-namespaces -l app=bbsim svc -o json | jq -r '.items[] | .metadata.name + "." + .metadata.namespace + ".svc:50060"' | head -1)
4exec voltctl device enable "$(voltctl device create -t openolt -H "$BBSIM")"