7336a17 Add the version option to all Commands

20 files Authored by pviktori 11 years ago, Committed by mkosek 11 years ago,
    Add the version option to all Commands
    
    Several Commands were missing the 'version' option. Add it to those
    that were missing it.
    
    Do not remove the version option before calling commands. This means
    methods such as execute(), forward(), run() receive it.
    Several of these needed `**options` added to their signatures.
    Commands in the Cert plugin passed any unknown options to the underlying
    functions, these are changed to pass what's needed explicitly.
    Some commands in DNS and Batch plugins now pass version to commands
    they call.
    
    When the option is not given, fill it in automatically. (In a subsequent
    commit, a warning will be added in this case).
    
    Note that the public API did not change: all RPC calls already accepted
    a version option. There's no need for an API version bump (even though
    API.txt changes substantially).
    
    Design page: http://freeipa.org/page/V3/Messages
    Tickets:
      https://fedorahosted.org/freeipa/ticket/2732
      https://fedorahosted.org/freeipa/ticket/3294
    
        
file modified
+136 -68
file modified
+1 -1
file modified
+29 -22
file modified
+2 -2
file modified
+9 -9
file modified
+1 -1
file modified
+1 -1
file modified
+1 -0
file modified
+7 -5
file modified
+2 -2
file modified
+2 -2
file modified
+1 -1
file modified
+1 -1
file modified
+1 -1
file modified
+2 -2
tests/test_xmlrpc/test_cert_plugin.py tests/test_xmlrpc/test_cert.py
file renamed
file was renamed with no change to the file