[one-users] OCCI compute create

John Dewey john at dewey.ws
Wed Dec 22 16:59:25 PST 2010


Sorry for the mail, I figured it out.  You do not need to supply an IP address.

On Wed, Dec 22, 2010 at 2:43 PM, John Dewey <john at dewey.ws> wrote:
> I was looking at the documentation on creating a compute instance.
>
> http://www.opennebula.org/documentation:rel2.2:occiug
>
> It states the following XML should used:
>
>
>    <COMPUTE>
>        <NAME>MyCompute</NAME>
>        <INSTANCE_TYPE>small</INSTANCE_TYPE>
>        <DISK>
>            <STORAGE href="http://www.opennebula.org/storage/1"/>
>        </DISK>
>        ...
>        <NIC>
>            <NETWORK href="http://www.opennebula.org/network/0"/>
>            <IP>192.168.0.12</IP>
>        </NIC>
>        ...
>        <CONTEXT>
>            <HOSTNAME>MAINHOST</HOSTNAME>
>            <DATA>DATA1</DATA>
>        </CONTEXT>
>    </COMPUTE>
>
> However, I do not want to supply an IP.  I feel I should be able to
> simply supply the vnet id or name, and OpenNebula should obtain a
> lease from that vnet.
> Also the href tag attribute, is that necessary?  Should it be the URL
> to my OpenNebula instance?
>



More information about the Users mailing list