Hook script for networking
|Assignee:||Javi Fontan||% Done:|
|Category:||Core & System|
|Target version:||Release 1.4|
It would be really nice if OpenNebula could call a hook script of some sort every time it hands out a network lease with at least the following arguments:
- MAC address
- IP address
That way, I can automatically add the relevant information to my dhcp server (mac address->(ip,hostname) mapping). This saves us from having to put the MAC->ip address mapping script in every image and also lets us automatically send the designated hostname via dhcp.
#1 Updated by Ruben S. Montero over 12 years ago
- Status changed from New to Closed
- Resolution set to duplicate
Something very similar to this is currently in our roadmap, see #15. It is a general approach to hook in different OpenNebula events. The idea is that you can perform custom configuration operations, both in the front-end and in the worker-node where the VM is being deploy. As you say this is very useful to configure network, for example if you want to isolate the LANs through ebtables.
I'll mark this as duplicate and move the discussion (the arguments for the hook specially) to #15