« Previous | Next » 

Revision 72737a7f

Parent b9bddb6b
Child 93c4f7f1

Added by Iustin Pop over 15 years ago

Convert rpc module to RpcRunner

This big patch changes the call model used in internode-rpc from
standalong function calls in the rpc module to via a RpcRunner class,
that holds all the methods. This can be used in the future to enable
smarter processing in the RPC layer itself (some quick examples are not
setting the DiskID from cmdlib code, but only once in each rpc call,

There are a few RPC calls that are made outside of the LU code, and
these calls are left as staticmethods, so they can be used without a
class instance (which requires a ConfigWriter instance).

Reviewed-by: imsnah


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences