Revision 982ed68e lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
214 | 214 |
This method is called before starting to execute the opcode, and it should |
215 | 215 |
update all the parameters of the opcode to their canonical form (e.g. a |
216 | 216 |
short node name must be fully expanded after this method has successfully |
217 |
completed). This way locking, hooks, logging, ecc. can work correctly.
|
|
217 |
completed). This way locking, hooks, logging, etc. can work correctly.
|
|
218 | 218 |
|
219 | 219 |
LUs which implement this method must also populate the self.needed_locks |
220 | 220 |
member, as a dict with lock levels as keys, and a list of needed lock names |
Also available in: Unified diff