Revision 0b38cf6e lib/cmdlib.py

b/lib/cmdlib.py
56 56
    - redefine HPATH and HTYPE
57 57
    - optionally redefine their run requirements:
58 58
        REQ_MASTER: the LU needs to run on the master node
59
        REQ_WSSTORE: the LU needs a writable SimpleStore
60 59
        REQ_BGL: the LU needs to hold the Big Ganeti Lock exclusively
61 60

  
62 61
  Note that all commands require root permissions.
......
66 65
  HTYPE = None
67 66
  _OP_REQP = []
68 67
  REQ_MASTER = True
69
  REQ_WSSTORE = False
70 68
  REQ_BGL = True
71 69

  
72
  def __init__(self, processor, op, context, sstore):
70
  def __init__(self, processor, op, context):
73 71
    """Constructor for LogicalUnit.
74 72

  
75 73
    This needs to be overriden in derived classes in order to check op
......
79 77
    self.proc = processor
80 78
    self.op = op
81 79
    self.cfg = context.cfg
82
    self.sstore = sstore
83 80
    self.context = context
84 81
    # Dicts used to declare locking needs to mcpu
85 82
    self.needed_locks = None

Also available in: Unified diff