Revision 33be7576

b/lib/cmdlib.py
5587 5587
      "candidate_pool_size": cluster.candidate_pool_size,
5588 5588
      "master_netdev": cluster.master_netdev,
5589 5589
      "master_netmask": cluster.master_netmask,
5590
      "use_external_mip_script": cluster.use_external_mip_script,
5590 5591
      "volume_group_name": cluster.volume_group_name,
5591 5592
      "drbd_usermode_helper": cluster.drbd_usermode_helper,
5592 5593
      "file_storage_dir": cluster.file_storage_dir,
b/lib/config.py
897 897
    return self._config_data.cluster.master_netmask
898 898

  
899 899
  @locking.ssynchronized(_config_lock, shared=1)
900
  def GetUseExternalMipScript(self):
901
    """Get flag representing whether to use the external master IP setup script.
902

  
903
    """
904
    return self._config_data.cluster.use_external_mip_script
905

  
906
  @locking.ssynchronized(_config_lock, shared=1)
900 907
  def GetFileStorageDir(self):
901 908
    """Get the file storage dir for this cluster.
902 909

  
b/lib/objects.py
1095 1095
    "master_ip",
1096 1096
    "master_netdev",
1097 1097
    "master_netmask",
1098
    "use_external_mip_script",
1098 1099
    "cluster_name",
1099 1100
    "file_storage_dir",
1100 1101
    "shared_file_storage_dir",
......
1205 1206
    if self.shared_file_storage_dir is None:
1206 1207
      self.shared_file_storage_dir = ""
1207 1208

  
1209
    if self.use_external_mip_script is None:
1210
      self.use_external_mip_script = False
1211

  
1208 1212
  def ToDict(self):
1209 1213
    """Custom function for cluster.
1210 1214

  

Also available in: Unified diff