On Tue, Aug 25, 2015 at 12:47:44PM +0200, 'Bhimanavajjula Aditya' via 
ganeti-devel wrote:
> repair_command takes two strings as input cmd, and inp.
> This patch generalizes RunRestrictedCmd to RunCmd. RunCmd
> can now pass a string as stdin input to the command that
> will rull.
> 
> Signed-off-by: Bhimanavajjula Aditya <[email protected]>
> ---
>  lib/backend.py                     | 41 ++++++++++++-----
>  lib/pathutils.py                   |  4 ++
>  lib/rpc_defs.py                    |  4 ++
>  lib/server/noded.py                | 18 +++++++-
>  test/py/ganeti.backend_unittest.py | 90 
> +++++++++++++++++++-------------------
>  5 files changed, 99 insertions(+), 58 deletions(-)

LGTM

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to