summaryrefslogtreecommitdiff
path: root/lib/bitfield.h
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-09-18 10:55:55 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-09-18 14:35:10 -0300
commit6f4e5eddc0a5ce84fd0546bb8cb21c7530ff0693 (patch)
tree561cb1604ebcbe41598be9b6521523c396b9fa3f /lib/bitfield.h
parent6b5d6e2dbc885cd389bb694e7b83a76652b09bd5 (diff)
lib: add an exception in the northbound for operational data callbacks
During initialization, the northbound detects if any required callback is missing (fatal error) or if any unneeded callback is present (warning). There are three callbacks, however, that should require special handling: get_next(), get_keys() and lookup_entry(). These callbacks are normally unneeded for configuration lists. But, if a configuration list is augmented with new state nodes by another module, then the three callbacks mentioned above become required. In this case, never log a warning when these callbacks are implemented when they are not needed, since this depends on context (e.g. some daemons might augment "frr-interface" while others don't). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/bitfield.h')
0 files changed, 0 insertions, 0 deletions