++ openstack service list -f csv --quote none ++ grep ',heat,orchestration$' ++ sed -e s/,heat,orchestration//g + OS_SERVICE_ID=4a58f5b16ce74b5c8312f509ee94fc43 ++ openstack endpoint list -f csv --quote none ++ awk -F , '{ print $1 }' ++ grep '^[a-z0-9]*,RegionOne,heat,orchestration,True,public,' + OS_ENDPOINT_ID= ++ echo ++ wc -w + '[' 0 -gt 1 ']' + [[ -n '' ]] + OS_ENDPOINT_UPDATE=True + [[ True == \T\r\u\e ]] ++ openstack endpoint create -f value -c id --region=RegionOne 4a58f5b16ce74b5c8312f509ee94fc43 public 'https://orchestration.199-204-45-210.nip.io/v1/%(project_id)s' + OS_ENDPOINT_ID=3c745bd59e3e4351903b9182b9c924ba + openstack endpoint show 3c745bd59e3e4351903b9182b9c924ba +--------------+---------------------------------------------------------------+ | Field | Value | +--------------+---------------------------------------------------------------+ | enabled | True | | id | 3c745bd59e3e4351903b9182b9c924ba | | interface | public | | region | RegionOne | | region_id | RegionOne | | service_id | 4a58f5b16ce74b5c8312f509ee94fc43 | | service_name | heat | | service_type | orchestration | | url | https://orchestration.199-204-45-210.nip.io/v1/%(project_id)s | +--------------+---------------------------------------------------------------+