Feature #1013

Hooks on Network objects action

Added by Emmanuel Mathot over 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:11/29/2011
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & System
Target version:Release 3.8
Resolution:fixed Pull request:

Description

Provisioning hooks for networks objects actions would be very useful to trigger additional related network tasks:

- DHCP subnet file creation to be included in dhcpd.conf (similar to feature #892)
- DNS zone creation or update
- VLAN creation and deletion (already existing at VM level but useful at this level)
- According to the hypervisor, creation of the related "virtual network" (openvswitch, VMWare Virtual Switch, ...)
- firewall rules at network level (nat, forward, ...)

Associated revisions

Revision 43d552ae
Added by Ruben S. Montero almost 7 years ago

feature #1013: Abstraction of current Allocate and Remove hooks

Revision 7e027ab0
Added by Ruben S. Montero almost 7 years ago

feature #1013: Hook on drop method for PoolSQL

Revision 621f615a
Added by Ruben S. Montero almost 7 years ago

feature #1013: Simplify "on create" Hooks (now $ID are the same instead of $VMID, $HID,...). Add support for create/remove Virtual Network Hooks

Revision 29ad5368
Added by Ruben S. Montero almost 7 years ago

feature #1013: Abstract hook registration. Add hook support for images, users and groups.

Revision 24a83ca0
Added by Ruben S. Montero almost 7 years ago

feature #1013: Updated the oned.conf file with hook information

Revision 953b1c89
Added by Ruben S. Montero almost 7 years ago

feature #1013: Fix create and delete hooks for users and groups

Revision 57915486
Added by Ruben S. Montero almost 7 years ago

feature #1013: Added missing file

History

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

  • Target version deleted (Release 3.2 - Beta1)

#2 Updated by Ruben S. Montero over 7 years ago

  • Tracker changed from Feature to Request

#3 Updated by Emmanuel Mathot about 7 years ago

Could this feature be reconsider for next release. Basically a hook needed only at creation / deletion of a virtual network.

#4 Updated by Emmanuel Mathot almost 7 years ago

Any news on this request?

#5 Updated by Ruben S. Montero almost 7 years ago

  • Tracker changed from Request to Feature
  • Status changed from New to Assigned
  • Assignee set to Ruben S. Montero
  • Target version set to Release 3.8

This issue is to implement hooks on network allocation and deletion. The other functionality described in this issue can be implemented (and in part is already implemented) with the network drivers

#6 Updated by Ruben S. Montero almost 7 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

Ready in master for 3.8. Documentation is also updated

Also available in: Atom PDF