def Exec(self, feedback_fn):
    group_obj = objects.NodeGroup(name=self.op.group_name, members=[],
                                  uuid=self.group_uuid,
                                  alloc_policy=self.op.alloc_policy,
                                  ndparams=self.op.ndparams,
                                  diskparams=self.new_diskparams,
                                  ipolicy=self.op.ipolicy,
                                  hv_state_static=self.new_hv_state,
                                  disk_state_static=self.new_disk_state)

    self.cfg.AddNodeGroup(group_obj, self.proc.GetECId(), check_uuid=False)

    network_name = self.cfg.GetClusterInfo().instance_communication_network
    if network_name:
      return self._ConnectInstanceCommunicationNetwork(self.cfg,
                                                       self.group_uuid,
                                                       network_name)
Enable the named service to start at boot
dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/group.py/LUGroupAdd.Exec--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/debian_service.py/enable