« Previous | Next » 

Revision 624934fb

ID624934fb82f28651a29a1f5eeab1f2c2e06fdd31

Added by Apollon Oikonomopoulos over 11 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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences