Revision 5fd6b605
ID | 5fd6b605a74e12ca63b2c189de91560e40b7a634 |
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: Dimitris Aragiorgis <dimara@grnet.gr>
Files
- added
- modified
- copied
- renamed
- deleted