def BuildHooksEnv(self):
    return {
      "GROUP_NAME": self.op.group_name,
      "NEW_ALLOC_POLICY": self.op.alloc_policy,
      }
Build hooks env.
dataset/ETHPy150Open ganeti/ganeti/lib/cmdlib/group.py/LUGroupSetParams.BuildHooksEnv