[Xorp-hackers] TID?

Pavlin Radoslavov pavlin@icir.org
Sat, 05 Nov 2005 12:30:09 -0800


> XORP# create interfaces ?
> Possible completions:
>   <[Enter]>       Execute this command
>   TID             -- no help available --
>   interface       Configure a network interface
>   restore-original-config-on-shutdown Restore original configuration on shutdown
>   targetname      Set the target name
>   {               enter text on multiple lines
> XORP# create interfaces  
> 
> TID = transaction ID, right?
> but what is it doing there?
> testing stuff or can we actually something with it?

Yes, TID = transaction ID.

It is used internally by the rtrmgr to store intermediate state when
(re)configuring the network interfaces.
Given that it is needed only by the rtrmgr itself, there is no
reason it should be listed as a possible completion for the
"create", or "set" xorpsh commands. Furthermore, it shouldn't be
printed by the "show" or by the "save" commands.

To isolate that internal variable, we need to declare it in some
special way (e.g., by using some new template keyword like %hidden).
I just added a bugzilla entry for this:
http://www.xorp.org/bugzilla/show_bug.cgi?id=333

Pavlin