« Previous | Next » 

Revision b16a8310

IDb16a83104f47b8d023e0eb643a79d41f353bd2a5

Added by Dimitris Aragiorgis over 9 years ago

Modify LUGroupSetParams to support networks

Connect a network to a nodegroup and define its netparams
(mode and link):

  • Check if network already exists
  • Check if netparams are valid
  • Check all nodes in the group for existing bridges,
    if bridged mode requested
  • Check if already connected to the same nodegroup
  • Produce errors if any conflicting IPs found
  • Update the 'networks' slot in NodeGroup config object
    with the network UUID and netparams requested. E.g.
    nodegroup_uuid {
    networks {
    network_uuid: {mode: 'bridged', link: 'br100'}
    }
    }

Disconnect a network from a nodegroup:

  • Produce errors if any conflicting IPs are found
  • Remove corresponding entry in 'networks' slot of
    NodeGroup config object

Implement GetNetwork() config method

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences