[pve-devel] API to get mac and vm id

Stefan Priebe - Profihost AG s.priebe at profihost.ag
Thu Sep 13 09:14:02 CEST 2012


Hi,

i don't care about assigning IPs to vms BUT:
- IP should be removed from assigned pool when VM is deleted
- I want to assign hostnames to automatically to VMs based on VM id
- i want to automatically create DNS entries into our DNS system based 
on hostname and IPs

So i'm not sure whether this helps the community or not.

Stefan
Am 13.09.2012 08:36, schrieb Alexandre DERUMIER:
> I don't know what exactly stefan want do do with perl.
>
> For me, I would like to be able to specify ip address for each vm interface in promox gui,
> then maybe this can configure an external dhcp server or other daemon which can do dhcp.
>
> I know that libvirt have this feature, but I really don't know how the implementation is done.
> http://libvirt.org/formatnetwork.html#elementsAddress
>
> ----- Mail original -----
>
> De: "Dietmar Maurer" <dietmar at proxmox.com>
> À: "Alexandre DERUMIER" <aderumier at odiso.com>, "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag>
> Cc: pve-devel at pve.proxmox.com
> Envoyé: Jeudi 13 Septembre 2012 06:35:22
> Objet: RE: [pve-devel] API to get mac and vm id
>
>>>> I would like to create a small tool which will act as a dhcp addon to
>> proxmox and simulate a dhcp server with perl.
>> Great ! I would like to have something like this too :)
>
> OK, can someone explain how to 'simulate a dhcp server with perl'?
> (Why not use 'dnsmasq' - or a real dhcp server)?
>


More information about the pve-devel mailing list