file rearrangement

This commit is contained in:
Olof hagsand 2016-02-26 16:05:34 +01:00
parent 9bd941ab76
commit 5a45eca301
124 changed files with 235 additions and 6706 deletions

View file

@ -138,3 +138,12 @@ Check for inconsistencies in the XML trees and if they fail, make an clicon_err(
clicon_err(OE_PLUGIN, 0, "Route %s lacks ipv4 addr", name);
return -1;
The validation or commit will then be aborted.
Q: How do you use netconf?
--------------------------
As an alternative to cli configuration, you can use netconf
directly. Easiesty is to just pipe netconf commands to the
clicon_netconf application.
Example:
echo "<rpc><get-config><source><candidate/></source><configuration/></get-config></rpc>]]>]]>" | clicon_netconf -f /usr/local/etc/routing.conf

View file

@ -1,27 +1,22 @@
#
# CVS Version: $Id: Makefile.in,v 1.23 2013/09/11 18:35:14 olof Exp $
#
# Copyright (C) 2009-2016 Olof Hagsand and Benny Holmgren
#
# This file is part of CLICON.
# This file is part of CLIXON.
#
# CLICON is free software; you can redistribute it and/or modify
# CLIXON is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# CLICON is distributed in the hope that it will be useful,
# CLIXON 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with CLICON; see the file COPYING. If not, see
# along with CLIXON; see the file LICENSE. If not, see
# <http://www.gnu.org/licenses/>.
#
#
# This makefile contains conditionals that dont work with bsd make
prefix = @prefix@
datarootdir = @datarootdir@
docdir = @docdir@