« Previous | Next » 

Revision a2d72fa8

IDa2d72fa8aac7faaa4c69189a95e6577e6a26800e

Added by Dimitris Aragiorgis almost 12 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