1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-06 13:17:42 +03:00
Commit Graph

2 Commits

Author SHA1 Message Date
Guillaume Oberlé
1772a358f5 feature #4446: Extends IPAMRequest to include driver formatting.
Implements IPAM AddressRange (callbacks still missing).

Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-18 21:42:24 +02:00
Guillaume Oberlé
f8615d6e5c Feature #4446: Redesign of AddressRange class to include multiple
implementations. When managing leases 4 abstract methos have been added
to the interface:
  - from_vattr, to notify/request a new network from IPAM
  - allocate_addr, to set an address as used
  - get_addr, to request a free address
  - free_addr, to set an address as unused

This commits also includes an AddressRange implementation based on
OpenNebula's internal IPAM

Signed-off-by: Ruben S. Montero <rsmontero@opennebula.org>
2016-08-17 19:22:53 +02:00