#!/usr/bin/env bash
case "${1:-} ${2:-}" in
  "token issue") [ "${OS_PROJECT_NAME:-}" = "${CORRECT_PROJECT:-admin}" ] && exit 0 || exit 1 ;;
  "endpoint list") echo "keystone public https://10.12.4.50:5000/v3"; echo "keystone admin https://10.12.8.50:35357/v3" ;;
esac
exit 0
