| Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
Tool to upgrade the configuration file.
This code handles only the types supported by simplejson. As an example, 'set' is a 'list'.
Note:
        this has lots of duplicate content with cfgupgrade. 
        Ideally, it should be merged.
      
    
  | 
|||
| 
        Error Generic exception  | 
  |||
    
  | 
|||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
    
  | 
|||
        options = None
     | 
  |||
        args = None
     | 
  |||
        NoDefault = object()
     | 
  |||
        INST_HV_CHG = {'hvm_pae': constants.HV_PAE, 'vnc_bind_address'
     | 
  |||
        INST_BE_CHG = {'vcpus': constants.BE_VCPUS, 'memory': constant
     | 
  |||
        F_SERIAL = 'serial_no'
     | 
  |||
Imports: os, sys, optparse, logging, errno, constants, serializer, utils, cli
    
  | 
|||
  
 Generate an unique DRBD secret. This is a copy from ConfigWriter.  | 
    
  | 
|||
  INST_HV_CHG
  | 
  INST_BE_CHG
  | 
| Trees | Indices | Help | 
        
  | 
  
|---|
| Generated by Epydoc 3.0.1 on Mon Dec 20 13:26:37 2010 | http://epydoc.sourceforge.net |