« Previous | Next » 

Revision cb8028f3

Parent 96eeb742
Child c777c5fc, cf048aea

Added by Jose A. Lopes over 9 years ago

Simplify 'GetMasterInfo' RPC

RPC 'GetMasterInfo' returns several fields, namely, 'master_netdev',
'master_ip', 'master_netmask', 'master_node', and 'primary_ip_family',
of which only the 'master_node' is actually used.

In this patch:
  • remove all the other fields and keep only the 'master_node' field.
  • rename RPCs, helper functions (e.g., 'master_info' to 'master_node_name')
  • simplify the the voting algorithm code

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Guido Trotter <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences