[Xorp-hackers] FEA: Difference in _live_config v/s _pulled_config
Pavlin Radoslavov
pavlin at ICSI.Berkeley.EDU
Wed Mar 19 21:57:29 PDT 2008
Ben Greear <greearb at candelatech.com> wrote:
> It seems to me that these two have significant overlap in
> meaning and perhaps could be consolidated?
>
> Why do we have both of them?
Conceptually they are populated using different mechanisms, but
pragmatically they should contain same information.
The _live_config IfTree is populated/updated asynchronously by the
IfConfig Observer that tracks the kernel upcalls.
The _pulled_config is populated on demand (explicitly) by the
pull_config() method.
In other words, _live_config is a moving target, while
_pulled_config is a snapshot.
Regards,
Pavlin
More information about the Xorp-hackers
mailing list