def create_node(args):
    ''' Create a node.
    '''
    node = query(method='servers', args=args, http_method='POST')

    action = query(
        method='servers',
        server_id=node['server']['id'],
        command='action',
        args={'action': 'poweron'},
        http_method='POST'
    )
    return node
Create a node.