Revision bc84ffa7
b/lib/client/gnt_cluster.py | ||
---|---|---|
145 | 145 |
primary_ip_version=primary_ip_version, |
146 | 146 |
prealloc_wipe_disks=opts.prealloc_wipe_disks, |
147 | 147 |
) |
148 |
op = opcodes.OpPostInitCluster()
|
|
148 |
op = opcodes.OpClusterPostInit()
|
|
149 | 149 |
SubmitOpCode(op, opts=opts) |
150 | 150 |
return 0 |
151 | 151 |
|
b/lib/cmdlib.py | ||
---|---|---|
1089 | 1089 |
" iallocator.") |
1090 | 1090 |
|
1091 | 1091 |
|
1092 |
class LUPostInitCluster(LogicalUnit):
|
|
1092 |
class LUClusterPostInit(LogicalUnit):
|
|
1093 | 1093 |
"""Logical unit for running hooks after cluster initialization. |
1094 | 1094 |
|
1095 | 1095 |
""" |
b/lib/opcodes.py | ||
---|---|---|
371 | 371 |
|
372 | 372 |
# cluster opcodes |
373 | 373 |
|
374 |
class OpPostInitCluster(OpCode):
|
|
374 |
class OpClusterPostInit(OpCode):
|
|
375 | 375 |
"""Post cluster initialization. |
376 | 376 |
|
377 | 377 |
This opcode does not touch the cluster at all. Its purpose is to run hooks |
Also available in: Unified diff