Skip to content
Snippets Groups Projects
Commit 8e5f43b1 authored by Dimitris Aragiorgis's avatar Dimitris Aragiorgis
Browse files

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: default avatarDimitris Aragiorgis <dimara@grnet.gr>
parent f4f36cf3
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment