« Previous | Next » 

Revision 6c0a75db

ID6c0a75db1859f5d114f5a5b381838a90955c3e9a

Added by Dimitris Aragiorgis over 11 years ago

Basic IP pool management logic

Implement LUs for corresponding opcodes: * LUNetworkAdd:
- Check for IP validity
- Reserves all necessary IPs
- Create new Network config object * LUNetworkRemove:
- Checks if connected to any nodegroup
- Remove a Network config object

Implement basic config methods: * LookupNetwork()
- Given the network name return the network UUID * AddNetwork()
- Add a new network to the config * RemoveNetwork()
- Remove a network from the config

Add new locking level: LEVEL_NETWORK

Add various useful config methods for retrieving network info.

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences