source "$OPENRC"
which openstack 2>&1
if [ "$?" -eq "0" ]
then
  openstack endpoint list --long
else
  keystone endpoint-list
fi
