Feature #72

Hook script for networking

Added by Redmine Admin over 12 years ago. Updated over 12 years ago.

Status:ClosedStart date:
Priority:HighDue date:
Assignee:Javi Fontan% Done:

0%

Category:Core & System
Target version:Release 1.4
Resolution:duplicate Pull request:

Description

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
  • Name

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.

History

#1 Updated by Ruben S. Montero over 12 years ago

  • Status changed from New to Closed
  • Resolution set to duplicate

Hi,

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

Also available in: Atom PDF