Skip to content
  • Jose A. Lopes's avatar
    Connect new groups to the instance communication network · 39e27230
    Jose A. Lopes authored
    
    
    When a new group is added, if the instance communication network is
    enabled, then this group must also be connected to this network.
    
    * 'LUGroupAdd._AddInstanceCommunicationNetwork' connects the newly
      added group to the instance communication network by resorting to
      the 'OpNetworkConnect' opcode.
    
    * As a result of the previous change, the type of 'OpGroupAdd' changed
      and may optionally return a list of jobs.  Therefore, it is
      necessary to update the type of the opcode (in 'Ganeti.OpCodes') and
      the CLI for 'gnt-group add' must also be changed.
    
    Signed-off-by: default avatarJose A. Lopes <jabolopes@google.com>
    Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
    39e27230