Revision c79198a0 lib/server/noded.py

b/lib/server/noded.py
697 697
    """Activate the master IP on this node.
698 698

  
699 699
    """
700
    return backend.ActivateMasterIp(params[0], params[1], params[2], params[3])
700
    master_params = objects.MasterNetworkParameters.FromDict(params[0])
701
    return backend.ActivateMasterIp(master_params)
701 702

  
702 703
  @staticmethod
703 704
  def perspective_node_deactivate_master_ip(params):
704 705
    """Deactivate the master IP on this node.
705 706

  
706 707
    """
707
    return backend.DeactivateMasterIp(params[0], params[1], params[2],
708
                                      params[3])
708
    master_params = objects.MasterNetworkParameters.FromDict(params[0])
709
    return backend.DeactivateMasterIp(master_params)
709 710

  
710 711
  @staticmethod
711 712
  def perspective_node_stop_master(params):

Also available in: Unified diff