You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by 冯建建 <fe...@gmail.com> on 2012/12/12 03:49:36 UTC

回复:cloudstack 3.0 调用API 创建

以NFS为例,它的url格式就是nfs://nfs主机IP/路径,其他的主存储协议类似,只要符合CloudStack的格式约定即可




------------------ 原始邮件 ------------------
发件人: "Wayne Wei"<wa...@gmail.com>;
发送时间: 2012年12月12日(星期三) 上午10:46
收件人: "cloudstack-users-cn"<cl...@incubator.apache.org>; 

主题: cloudstack 3.0 调用API 创建



我想使用API创建primary storage

看到下面的API,想问一下*the URL of the storage pool是啥?另外这个创建过程没有* Protocol 或者
Type选项,不能设置?


loudStack v3.0 Root Admin API Reference createStoragePool

Creates a storage pool.
  Request parameters  *Parameter Name*DescriptionRequired  *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*

Re: 回复:cloudstack 3.0 调用API 创建

Posted by Wayne Wei <wa...@gmail.com>.
非常感谢你的快速恢复。

在 2012年12月12日 上午10:49,冯建建 <fe...@gmail.com>写道:

> 以NFS为例,它的url格式就是nfs://nfs主机IP/路径,其他的主存储协议类似,只要符合CloudStack的格式约定即可
>
>
>
>
> ------------------ 原始邮件 ------------------
> 发件人: "Wayne Wei"<wa...@gmail.com>;
> 发送时间: 2012年12月12日(星期三) 上午10:46
> 收件人: "cloudstack-users-cn"<cl...@incubator.apache.org>;
>
> 主题: cloudstack 3.0 调用API 创建
>
>
>
> 我想使用API创建primary storage
>
> 看到下面的API,想问一下*the URL of the storage pool是啥?另外这个创建过程没有* Protocol 或者
> Type选项,不能设置?
>
>
> loudStack v3.0 Root Admin API Reference createStoragePool
>
> Creates a storage pool.
>   Request parameters  *Parameter Name*DescriptionRequired  *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*