No subject



Thu Oct 16 11:52:37 2003
Return-Path: xorp-cvs-admin@icir.org
Delivery-Date: Thu, 16 Oct 2003 11:53:05 -0700
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by tigger.icir.org (8.12.9p1/8.12.3) with ESMTP id h9GIr5ko014547
	for <atanu@tigger.icir.org>; Thu, 16 Oct 2003 11:53:05 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (fruitcake.ICSI.Berkeley.EDU [192.150.186.11])
	by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id h9GIr1H5078121;
	Thu, 16 Oct 2003 11:53:01 -0700 (PDT)
	(envelope-from xorp-cvs-admin@icir.org)
Received: from fruitcake.ICSI.Berkeley.EDU (localhost [127.0.0.1])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id h9GIr1eb023261;
	Thu, 16 Oct 2003 11:53:01 -0700 (PDT)
Received: from wyvern.icir.org (wyvern.icir.org [192.150.187.14])
	by fruitcake.ICSI.Berkeley.EDU (8.12.10/8.12.9) with ESMTP id h9GIqceb023229
	for <xorp-cvs@icsi.berkeley.edu>; Thu, 16 Oct 2003 11:52:38 -0700 (PDT)
Received: from possum.icir.org (possum.icir.org [192.150.187.67])
	by wyvern.icir.org (8.12.9p1/8.12.3) with ESMTP id h9GIqcH5078119;
	Thu, 16 Oct 2003 11:52:38 -0700 (PDT)
	(envelope-from pavlin@possum.icir.org)
Received: from possum.icir.org (localhost [127.0.0.1])
	by possum.icir.org (8.12.9p1/8.12.3) with ESMTP id h9GIqbIK008012;
	Thu, 16 Oct 2003 11:52:37 -0700 (PDT)
	(envelope-from pavlin@possum.icir.org)
Message-Id: <200310161852.h9GIqbIK008012@possum.icir.org>
To: pavlin@icir.org
cc: xorp-cvs@icir.org
Subject: Re: [Xorp-cvs] XORP cvs commit: xorp/utils/ Makefile.am Makefile.in xorp/utils/ xrl_wrappers_generator.sh 
In-Reply-To: Message from Pavlin Radoslavov <pavlin@icir.org> 
   of "Thu, 16 Oct 2003 11:46:56." <200310161846.h9GIkuFb007425@xorpc.icir.org> 
Date: Thu, 16 Oct 2003 11:52:37 -0700
From: Pavlin Radoslavov <pavlin@icir.org>
Sender: xorp-cvs-admin@icir.org
Errors-To: xorp-cvs-admin@icir.org
X-BeenThere: xorp-cvs@icir.org
X-Mailman-Version: 2.0
Precedence: bulk
List-Help: <mailto:xorp-cvs-request@icir.org?subject=help>
List-Post: <mailto:xorp-cvs@icir.org>
List-Subscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=subscribe>
List-Id: Mailing list for XORP CVS commit messages <xorp-cvs.icir.org>
List-Unsubscribe: <http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs>,
	<mailto:xorp-cvs-request@icir.org?subject=unsubscribe>

> CVSROOT:	/usr/local/share/doc/apache/cvs
> Module name:	xorp
> Repository:	xorp/utils/
> Changes by:	pavlin@xorpc.icir.org.	03/10/16 11:46:56
> 
> Modified files:
> 	xorp/utils/: Makefile.am Makefile.in 
> Added files:
> 	xorp/utils/: xrl_wrappers_generator.sh 
> 
> Log message:
> 	Add a script for auto-generation of XRL shell wrappers that
> 	can be used in shell scripts to call XRLs.
> 	
> 	Example:
> 	If the XRL to wrap is specified in one of the $XORP/xrl/targets/*.xrls
> 	files as:
> 	
> 	finder://fea/ifmgr/0.1/get_configured_mtu?ifname:txt->mtu:u32
> 	
> 	then the auto-generated wrapper will look like:
> 	
> 	fea_ifmgr_get_configured_mtu()
> 	{
> 	if [ $# -ne 1 ] ; then
> 	echo "Usage: fea_ifmgr_get_configured_mtu <ifname:txt>"
> 	exit 1
> 	fi
> 	
> 	XRL="finder://fea/ifmgr/0.1/get_configured_mtu?ifname:txt=$1"
> 	call_xrl_wrapper -p all "${XRL}"
> 	}

Sigh, the CVS to email handler completely messed-up the indentation
in the above example...
See the example at beginning of the original file itself regarding
what the correct indentation should look like.

Pavlin

> 	
> 	where call_xrl_wrapper is a shell function defined in
> 	$XORP/utils/xrl_shell_lib.sh
> 
> _______________________________________________
> Xorp-cvs mailing list
> Xorp-cvs@icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs

_______________________________________________
Xorp-cvs mailing list
Xorp-cvs@icir.org
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs