Right, but how do you specify which controller you want to list the models
for? The only way I can see is to manually `juju switch <controller>` then
re-login to the API and run the AllModels method. Is there a way (as an
administrator) to specify which controller you want to list the models for?

On Mon, Feb 29, 2016 at 8:46 PM, Ian Booth <[email protected]> wrote:

>
>
> On 01/03/16 11:25, Adam Stokes wrote:
> > On Mon, Feb 29, 2016 at 7:24 PM, Tim Penhey <[email protected]>
> > wrote:
> >
> >> On 01/03/16 03:48, Adam Stokes wrote:
> >>> Is there a way to list all models for a specific controller?
> >>
> >> Yes.
> >
> >
> > Mind pointing me to the api docs that has that capability?
> >
>
> https://godoc.org/github.com/juju/juju/api/controller#Client.AllModels
>
-- 
Juju mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to