[Users] Static IP for VMs

Itamar Heim iheim at redhat.com
Thu May 10 02:07:38 EDT 2012


On 05/10/2012 04:26 AM, Shu Ming wrote:
> On 2012-5-10 2:08, Itamar Heim wrote:
>> On 05/09/2012 04:43 PM, Shu Ming wrote:
>>>
>>>
>>> On 2012-5-9 18:03, Itamar Heim wrote:
>>>> On 05/09/2012 12:03 PM, Rahul Upadhyaya wrote:
>>>>> Hi folks,
>>>>>
>>>>> Is there a way to assign a static IP while provisioning a new VM?
>>>>> I do not want to individually go to the console to specify the
>>>>> Static IP
>>>>> address. Is there any means for specifying that from the management
>>>>> UI/ovirt-python-binding to do the same ?
>>>>> --
>>>>
>>>> not yet. ovirt still doesn't handle ip assignments.
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>> Can we create a IP pool in engine and make VDSM to request the IP. Then
>>> VDSM assign the IP to guest agent to do the network setup.
>>>
>>>
>>
>> not yet.
>> engine only deals today with mac address pools, which you can use dhcp
>> to assign.
>>
> If we don't have such features today, I would like to initiate a new
> project page about this. The basic idea is:
> I) Engine should have a pool of IPs. Engine also can assign a specific
> IP to the VM or assign a random IP in the pool to the VM
> II) ovirt agent in guest should request the IP from VDSM. And VDSM proxy
> its request to engine.
> III)After ovirt agent get the IP, it can configure the system in one time.
>

I'm not sure ovirt-agent should take care of that.
i think it should be fine if the guest uses dhcp, but get the allocated IP.
Gary - can you please share how quantum solves this?
(since guest interface in ec2 is ip based, i assume the guest already 
got the ip address via dhcp, so ip allocation is not one of the things i 
expect the guest agent to own)



More information about the Users mailing list