3 function start_inspector_sample {
4 pgrep -f "python inspector.py" && return 0
5 # TODO (r-mibu): make sample inspector use keystone v3 api
6 OS_AUTH_URL=${OS_AUTH_URL/v3/v2.0} \
7 python inspector.py "$INSPECTOR_PORT" > inspector.log 2>&1 &
10 function stop_inspector_sample {
11 pgrep -f "python inspector.py" || return 0
12 kill $(pgrep -f "python inspector.py")
15 function cleanup_inspector_sample {