Revision 9a94cee3 lib/config.py

b/lib/config.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 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
......
1251 1251

  
1252 1252
    return result
1253 1253

  
1254
  @locking.ssynchronized(_config_lock, shared=1)
1255
  def GetInstanceCommunicationNetwork(self):
1256
    """Get cluster instance communication network
1257

  
1258
    @rtype: string
1259
    @return: instance communication network, which is the name of the
1260
             network used for instance communication
1261

  
1262
    """
1263
    return self._config_data.cluster.instance_communication_network
1264

  
1254 1265
  @locking.ssynchronized(_config_lock)
1255 1266
  def AddNodeGroup(self, group, ec_id, check_uuid=True):
1256 1267
    """Add a node group to the configuration.

Also available in: Unified diff