Revision e1b8653f lib/hypervisor/hv_base.py

b/lib/hypervisor/hv_base.py
100 100

  
101 101
  """
102 102
  PARAMETERS = {}
103
  ANCILLARY_FILES = []
103 104

  
104 105
  def __init__(self):
105 106
    pass
......
157 158
    """
158 159
    raise NotImplementedError
159 160

  
161
  @classmethod
162
  def GetAncillaryFiles(cls):
163
    """Return a list of ancillary files to be copied to all nodes as ancillary
164
    configuration files.
165

  
166
    @rtype: list of strings
167
    @return: list of absolute paths of files to ship cluster-wide
168

  
169
    """
170
    # By default we return a member variable, so that if an hypervisor has just
171
    # a static list of files it doesn't have to override this function.
172
    return cls.ANCILLARY_FILES
173

  
160 174
  def Verify(self):
161 175
    """Verify the hypervisor.
162 176

  

Also available in: Unified diff