Revision f346a7d9 qa/qa_config.py

b/qa/qa_config.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2007, 2011 Google Inc.
4
# Copyright (C) 2007, 2011, 2012 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
154 154
  return cfg.get(_INSTANCE_CHECK_KEY, None)
155 155

  
156 156

  
157
def GetInstanceNicMac(inst, default=None):
158
  """Returns MAC address for instance's network interface.
159

  
160
  """
161
  return inst.get("nic.mac/0", default)
162

  
163

  
157 164
def GetMasterNode():
158 165
  return cfg["nodes"][0]
159 166

  

Also available in: Unified diff