mreynolds / 389-ds-base

Forked from 389-ds-base 6 years ago
Clone

764acac Ticket 47625 - CI lib389: DirSrv not conform to the design

7 files Authored by tbordaz 6 years ago, Committed by William Brown 6 years ago,
    Ticket 47625 - CI lib389: DirSrv not conform to the design
    
    Bug Description:
    	Changes to make DirSrv class conform to the design  http://port389.org/wiki/Upstream_test_framework
    
    Fix Description:
    	The fix introduces several changes
    		- Define SERVER properties with "verb" that could be used in CLI
                      Those properties are used in 'args' dictionary to handle the instance (create/delete...)
    		- Split the previous lib389.DirSrv:__init__, __localinit__ and __initPart2 into
                      __init__/allocate/create/open
    		- Implements lib389.DirSrv:delete/close/start/stop/restart/list/exists
    		- Copy tools functions related to instance backup into instance class lib389.DirSrv
    			clearBackupFS/checkBackupFS/backupFS/restoreFS
    		- Add a new test module for DirSrv: dirsrv_test.py
    		- List returns the properties retrieve from the config files
                      (<prefix>/etc/sysconfig/dirsrv-* or $HOME/.dirsrv/dirsrv-*
    
    https://fedorahosted.org/389/ticket/47625
    
    Reviewed by: Rich Megginson (thanks)
    
    Platforms tested: F17
    
    Flag Day: no
    
    Doc impact: http://port389.org/wiki/Upstream_test_framework
    
        
file modified
+2 -1
file modified
+764 -54
file modified
+24 -13
file modified
+21 -29