rlib2: Convert /2/modify to OpcodeResource
authorMichael Hanselmann <hansmi@google.com>
Thu, 8 Sep 2011 11:35:21 +0000 (13:35 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 9 Sep 2011 15:04:31 +0000 (17:04 +0200)
commit50c7d82ee6626b853bdd6e23533024f4e60c87c5
tree22b4dec314c41561cf977d8eb1352a4d56e192cc
parente02836d663e75162d0e4a623bd2f7cca5cbb065b
rlib2: Convert /2/modify to OpcodeResource

Also add unittests.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
lib/rapi/rlib2.py
test/ganeti.rapi.rlib2_unittest.py