« Previous | Next » 

Revision 1de1cf25

ID1de1cf25454ab076905ec292489f3fafe67b71e2
Parent eaa4c57c
Child 6c0a75db

Added by Apollon Oikonomopoulos almost 9 years ago

Introduce new module for IP pool management

Add new library module lib/network.py.
Introduce new class: AddressPool.

AddressPool implements all operations needed for managing IPs inside
the IP pool.

Given a Network config object (nobj), the class:

  • initializes the corresponding IP pool object via
    network.AddressPool.InitializeNetwork(nobj)
  • obtains the corresponding IP pool object via
    network.AddressPool(nobj)
  • manipulates IPs inside the pool

Signed-off-by: Apollon Oikonomopoulos <>
Signed-off-by: Dimitris Aragiorgis <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences