You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mike Tutkowski <mi...@solidfire.com> on 2013/02/15 03:58:17 UTC

createStoragePool API Question

Hi,

I'm looking at the following API description:

http://incubator.apache.org/cloudstack/docs/api/apidocs-4.0.0/root_admin/createStoragePool.html

I was wondering why clusterid was not a required parameter.  I was under
the impression that Primary Storage (a storage pool) is always within a
cluster.

Can someone clarify this for me?

Thanks!

-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Re: createStoragePool API Question

Posted by Jessica Tomechak <je...@gmail.com>.
If so, please file a bug with Component set to Doc. Thanks!

Jessica T

On Thu, Feb 14, 2013 at 9:15 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> OK, thanks, Alex
>
> Then the docs here must be incorrect:
>
> *name**the name for the storage pool**true**url**the URL of the storage
> pool
> **true**zoneid**the Zone ID for the storage pool**true**clusterid**the
> cluster ID for the storage pool**false**details**the details for the
> storage pool**false**podid**the Pod ID for the storage
> pool**false**tags**the
> tags for the storage pool**false*
>
>
> On Thu, Feb 14, 2013 at 8:42 PM, Alex Huang <Al...@citrix.com> wrote:
>
> > According to the command itself it is required.  Look in
> > createstoragepoolcmd.java.
> >
> > --Alex
> >
> > > -----Original Message-----
> > > From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> > > Sent: Thursday, February 14, 2013 6:58 PM
> > > To: cloudstack-dev@incubator.apache.org
> > > Subject: createStoragePool API Question
> > >
> > > Hi,
> > >
> > > I'm looking at the following API description:
> > >
> > > http://incubator.apache.org/cloudstack/docs/api/apidocs-
> > > 4.0.0/root_admin/createStoragePool.html
> > >
> > > I was wondering why clusterid was not a required parameter.  I was
> under
> > > the impression that Primary Storage (a storage pool) is always within a
> > > cluster.
> > >
> > > Can someone clarify this for me?
> > >
> > > Thanks!
> > >
> > > --
> > > *Mike Tutkowski*
> > > *Senior CloudStack Developer, SolidFire Inc.*
> > > e: mike.tutkowski@solidfire.com
> > > o: 303.746.7302
> > > Advancing the way the world uses the
> > > cloud<http://solidfire.com/solution/overview/?video=play>
> > > *(tm)*
> >
>
>
>
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *™*
>

Re: createStoragePool API Question

Posted by Mike Tutkowski <mi...@solidfire.com>.
OK, thanks, Alex

Then the docs here must be incorrect:

*name**the name for the storage pool**true**url**the URL of the storage pool
**true**zoneid**the Zone ID for the storage pool**true**clusterid**the
cluster ID for the storage pool**false**details**the details for the
storage pool**false**podid**the Pod ID for the storage pool**false**tags**the
tags for the storage pool**false*


On Thu, Feb 14, 2013 at 8:42 PM, Alex Huang <Al...@citrix.com> wrote:

> According to the command itself it is required.  Look in
> createstoragepoolcmd.java.
>
> --Alex
>
> > -----Original Message-----
> > From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> > Sent: Thursday, February 14, 2013 6:58 PM
> > To: cloudstack-dev@incubator.apache.org
> > Subject: createStoragePool API Question
> >
> > Hi,
> >
> > I'm looking at the following API description:
> >
> > http://incubator.apache.org/cloudstack/docs/api/apidocs-
> > 4.0.0/root_admin/createStoragePool.html
> >
> > I was wondering why clusterid was not a required parameter.  I was under
> > the impression that Primary Storage (a storage pool) is always within a
> > cluster.
> >
> > Can someone clarify this for me?
> >
> > Thanks!
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkowski@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> > cloud<http://solidfire.com/solution/overview/?video=play>
> > *(tm)*
>



-- 
*Mike Tutkowski*
*Senior CloudStack Developer, SolidFire Inc.*
e: mike.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

RE: createStoragePool API Question

Posted by Alex Huang <Al...@citrix.com>.
According to the command itself it is required.  Look in createstoragepoolcmd.java.

--Alex

> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkowski@solidfire.com]
> Sent: Thursday, February 14, 2013 6:58 PM
> To: cloudstack-dev@incubator.apache.org
> Subject: createStoragePool API Question
> 
> Hi,
> 
> I'm looking at the following API description:
> 
> http://incubator.apache.org/cloudstack/docs/api/apidocs-
> 4.0.0/root_admin/createStoragePool.html
> 
> I was wondering why clusterid was not a required parameter.  I was under
> the impression that Primary Storage (a storage pool) is always within a
> cluster.
> 
> Can someone clarify this for me?
> 
> Thanks!
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkowski@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*