Show
Ignore:
Timestamp:
05/12/07 17:20:22 (4 years ago)
Author:
daedalus
Message:

* Fixed major error reporting problems with ZAPI interface.
* Refactored the results passing from Provisioners to Changes.
* Verified the usefulness of full ZAPI control and results parsing. :)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/etc/netapp-create-volume.change-template.xml

    r29 r37  
    1212    </command> 
    1313 
    14     <condition>cmdoutput.find("No volume named '%(volname)s' exists.") >= 0</condition> 
     14    <condition>results.cmdoutput.find("No volume named '%(volname)s' exists.") >= 0</condition> 
    1515 
    1616  </preimpl> 
     
    2121    </command> 
    2222 
    23     <condition>cmdoutput.find("Creation of volume") >= 0</condition> 
    24     <condition>cmdoutput.find("has completed") >= 0</condition> 
     23    <condition>results.cmdoutput.find("Creation of volume") >= 0</condition> 
     24    <condition>results.cmdoutput.find("has completed") >= 0</condition> 
    2525 
    2626  </impl> 
     
    3636    </command> 
    3737 
    38     <condition>cmdoutput.find("Volume '%(volname)s' destroyed") >= 0</condition> 
     38    <condition>results.cmdoutput.find("Volume '%(volname)s' destroyed") >= 0</condition> 
    3939 
    4040  </backout>