Re: [Openstack] Get URL for Horizon from CLI?

2016-04-20 Thread Dean Troyer
On Wed, Apr 20, 2016 at 12:41 PM, Ken D'Ambrosio  wrote:

> So I'm trying to write up a user/tenant creation script, and then when
> it's done, I want to fire off an e-mail with relevant info to the new
> user.  One thing I'd like to send along is the URL for horizon for
> whichever cloud I've just created them accounts on... but I don't see how
> to get that from the CLI.
>

Usually, the dashboard URL is not available from any of the REST APIs.  It
is possible for a deployment to have a dashboard entry in the Service
Catalog, if so you can get that using OpenStackClient with this (assuming
the service type is 'dashbaord'):

  openstack catalog show dashboard

dt

-- 

Dean Troyer
dtro...@gmail.com
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] Get URL for Horizon from CLI?

2016-04-20 Thread Ken D'Ambrosio
So I'm trying to write up a user/tenant creation script, and then when 
it's done, I want to fire off an e-mail with relevant info to the new 
user.  One thing I'd like to send along is the URL for horizon for 
whichever cloud I've just created them accounts on... but I don't see 
how to get that from the CLI.


Is there a way?

Thanks,

-Ken

___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack