libnetconf
0.10.0-146_trunk
NETCONF Library
|
Functions to connect NETCONF server to a NETCONF client (Call Home). More...
Go to the source code of this file.
Functions | |
struct nc_session * | nc_callhome_accept (const char *username, const struct nc_cpblts *cpblts, int *timeout) |
Accept incoming Call Home connection and create NETCONF session on it. More... | |
int | nc_callhome_connect (struct nc_mngmt_server *host_list, uint8_t reconnect_secs, uint8_t reconnect_count, const char *server_path, char *const argv[], int *com_socket) |
Connect NETCONF server to a management center (NETCONF client) using Call Home mechanism. More... | |
int | nc_callhome_listen (unsigned int port) |
Start listening on client side for incoming Call Home connection. More... | |
int | nc_callhome_listen_stop (void) |
Stop listening on client side for incoming Call Home connection. More... | |
struct nc_mngmt_server * | nc_callhome_mngmt_server_add (struct nc_mngmt_server *list, const char *host, const char *port) |
Add a new management server specification to the end of a list. More... | |
int | nc_callhome_mngmt_server_free (struct nc_mngmt_server *list) |
Free a management server description structure(s). The function doesn't free only the item refered by given pointer, but the complete list of management servers is freed. More... | |
struct nc_mngmt_server * | nc_callhome_mngmt_server_getactive (struct nc_mngmt_server *list) |
Searches for the item from the list, which was marked and used by the last call to nc_callhome_connect() to a successfully establish Call Home connection. More... | |
int | nc_callhome_mngmt_server_rm (struct nc_mngmt_server *list, struct nc_mngmt_server *remove) |
Remove the specified management server description from the list. More... | |
Functions to connect NETCONF server to a NETCONF client (Call Home).
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
ALTERNATIVELY, provided that this notice is retained in full, this product may be distributed under the terms of the GNU General Public License (GPL) version 2 or later, in which case the provisions of the GPL apply INSTEAD OF those given above.
This software is provided ``as is, and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the company or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.