Script cluster_merge
Tool to merge two or more clusters together.
  The clusters have to run the same version of Ganeti!
    | 
       
     | 
        MergerData 
      Container class to hold data used for merger.
     | 
  
    | 
       
     | 
        Merger 
      Handling the merge.
     | 
  
    | 
       
     | 
      
        
          Flatten(unflatten_list) 
      Flattens a list. | 
          
            
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
      
     | 
  
    | 
       
     | 
      
      
     | 
  
Imports:
  logging,
  os,
  optparse,
  shutil,
  sys,
  tempfile,
  cli,
  config,
  constants,
  errors,
  ssh,
  utils
| 
  
  
   Flattens a list. 
  
    - Parameters:
 
    
        unflatten_list - A list of unflatten list objects. 
      
    - Returns:
 
        - A flatten list
 
   
 | 
 
| 
  
  
   Setting up logging infrastructure. 
  
    - Parameters:
 
    
        options - Parsed command line options 
      
   
 | 
 
  PAUSE_PERIOD_OPT
  
  
   
  
    - Value:
 
      
cli.cli_option("-p", "--watcher-pause-period", default= 1800, action=  
"store", type= "int", dest= "pause_period", help= ("Amount of time in  
seconds watcher" " should be suspended from running"))
 |   
 
   
 |