Powercycles a node.

    @type node: string
    @param node: Node name
    @type force: bool
    @param force: Whether to force the operation
    @rtype: string
    @return: job id

def PowercycleNode(r, node, force=False):
    """
    Powercycles a node.

    @type node: string
    @param node: Node name
    @type force: bool
    @param force: Whether to force the operation
    @rtype: string
    @return: job id
    """

    query = {
        "force": force,
    }

    return r.request("post", "/2/nodes/%s/powercycle" % node, query=query)