#!/bin/sh

openstack service create --name keystone --description "OpenStack Identity" identity
openstack endpoint create --region RegionOne identity public "http://$1:5000/v2.0"
openstack endpoint create --region RegionOne identity internal "http://$1:5000/v2.0"
openstack endpoint create --region RegionOne identity admin "http://$1:35357/v2.0"

#!/bin/sh
source /opt/local/bin/os-utils.sh

create_or_get_service keystone identity "OpenStack Identity"
create_or_get_endpoint identity public "http://$1:5000/v2.0"
create_or_get_endpoint identity internal "http://$1:5000/v2.0"
create_or_get_endpoint identity admin "http://$1:35357/v2.0"

Use utils to create keystone endpoint/service
Use utils to create keystone endpoint/service
