Revision 90d8d4d1

b/lib/rpc_defs.py
501 501
    ("hypervisor", None, "Hypervisor type"),
502 502
    ("hvparams", None, "Hypervisor parameters"),
503 503
    ], None, None, "Tries to powercycle a node"),
504
  ("node_configure_ovs", SINGLE, None, constants.RPC_TMO_NORMAL, [
505
    ("ovs_name", None, "Name of the OpenvSwitch to create"),
506
    ("ovs_link", None, "Link of the OpenvSwitch to the outside"),
507
    ], None, None, "This will create and setup the OpenvSwitch"),
504 508
  ]
505 509

  
506 510
_MISC_CALLS = [
b/lib/server/noded.py
831 831
    (hypervisor_type, hvparams) = params
832 832
    return backend.PowercycleNode(hypervisor_type, hvparams)
833 833

  
834
  @staticmethod
835
  def perspective_node_configure_ovs(params):
836
    """Sets up OpenvSwitch on the node.
837

  
838
    """
839
    (ovs_name, ovs_link) = params
840
    return backend.ConfigureOVS(ovs_name, ovs_link)
841

  
834 842
  # cluster --------------------------
835 843

  
836 844
  @staticmethod

Also available in: Unified diff