Show
Ignore:
Timestamp:
25/11/07 20:50:23 (4 years ago)
Author:
daedalus
Message:

* Added 'authoritarian' mode, which allows you permit/deny each and every command

that will be issued to a remote device. Designed for testing new change scripts.

* Added a 'command_timeout' parameter to Command Provisioners, so you can override

the default command timeout of 300 seconds by setting an attribute in the config
file

* Added proper handling of the 'onfail: continue' idea. You can now specify that

if a change fails, and it is a pre-requisite for some other change, processing
will continue despite the failure.

* Added the onfail: retry feature. If a change fails, you can specify that it should

be retried. You can also set a max number of retries. The default is 3.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/etc/netapp-provision-demo.xml

    r24 r27  
    1515<provisioner 
    1616  name='netapp_provisioner' 
    17   type='MultiConnectingProvisioner'> 
     17  type='MultiConnectingProvisioner' 
     18  command_timeout='5'> 
    1819 
    1920  <command>ssh -i /home/daedalus/.ssh/configulator -o BatchMode=yes -o ServerAliveInterval=0 root@%(device.ipaddress)s "%(command.send)s"</command> 
     
    6061</iterator> 
    6162 
    62 <change name="create_root_volume_primary" type="CommandChange"> 
     63<change name="create_root_volume_primary" type="CommandChange" onfail='continue'> 
    6364 
    6465  <target>%(primary_filer)s</target> 
     
    99100</change> 
    100101 
    101 <change name="create_project_volume_primary" type="CommandChange" iterator="project_volumes"> 
     102<change name="create_project_volume_primary" type="CommandChange" iterator="project_volumes" 
     103  onfail='retry' max_retries='2'> 
    102104 
    103105  <prereq>create_root_volume_primary</prereq>