/*
* LGPL HEADER START
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of the
* License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see .
*
* LGPL HEADER END
*
* Copyright (c) 2015, James Simmons
*
* Copyright (c) 2016, Intel Corporation.
*/
#ifndef LIB_LND_CONFIG_API_H
#define LIB_LND_CONFIG_API_H
#include
#include "cyaml.h"
int
lustre_interface_show_net(struct cYAML *interfaces, unsigned int index,
bool detail, struct lnet_ioctl_config_data *data,
struct lnet_ioctl_net_config *net_config);
void
lustre_interface_parse(struct cYAML *lndparams, const char *dev_name,
struct lnet_ioctl_config_lnd_tunables *lnd_cfg);
#endif /* LIB_LND_CONFIG_API_H */