[Xorp-hackers] PARSE ERROR in configure file

Liang Qin lqin@sce.carleton.ca
Fri, 22 Oct 2004 13:33:05 -0400


I've tried:

interfaceName: eth1
interfaceName: "eth1"
interfaceName "eth1"


all got the same error.


here we have to match the variable name in template file and in the 
configure
file.


Atanu Ghosh wrote:

>Try:
>
>protocols {
>    ap {
>       interfaceName: eth1
>    }
>}
>
>	Atanu.
>
>  
>
>>>>>>"Liang" == Liang Qin <lqin@sce.carleton.ca> writes:
>>>>>>            
>>>>>>
>
>    Liang> Hi XORP users,
>    Liang> I add one parameter in protocol module ap's template file ap.tp:
>    Liang> interfaceName: txt = "eth2";
>
>    Liang> it works well so far. then I allow user to modify it in the configure
>    Liang> file config.boot
>    Liang> when using rtrmgr -b config.boot
>
>    Liang> protocols {
>    Liang> ap {
>    Liang> interfaceName eth1
>    Liang> }
>    Liang> }
>
>    Liang> but I got a PARSE ERROR: syntax error.
>
>    Liang> Thanks!
>
>    Liang> Liang Qin
>
>
>    Liang> _______________________________________________
>    Liang> Xorp-hackers mailing list
>    Liang> Xorp-hackers@icir.org
>    Liang> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>_______________________________________________
>Xorp-hackers mailing list
>Xorp-hackers@icir.org
>http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>
>  
>