diff options
author | Renato Westphal <renato@opensourcerouting.org> | 2018-05-09 06:34:57 +0200 |
---|---|---|
committer | Renato Westphal <renato@opensourcerouting.org> | 2018-10-27 20:16:12 +0200 |
commit | 8f90d89ba93a63dba121f0678ed2506b4ae530be (patch) | |
tree | 2aacfd2bfad40dc56b567fd898d0b02a59982f66 /lib/subdir.am | |
parent | yang, lib: add 'frr-interface.yang' and associated stub callbacks (diff) | |
download | frr-8f90d89ba93a63dba121f0678ed2506b4ae530be.tar.xz frr-8f90d89ba93a63dba121f0678ed2506b4ae530be.zip |
lib: retrofit interface commands to the new northbound model
The frr-interface YANG module models interfaces using a YANG list keyed
by the interface name and the interface VRF. Interfaces can't be keyed
only by their name since interface names might not be globally unique
when the netns VRF backend is in use. When using the VRF-Lite backend,
however, interface names *must* be globally unique. In this case, we need
to validate the uniqueness of interface names inside the appropriate
northbound callback since this constraint can't be expressed in the
YANG language. We must also ensure that only inactive interfaces can be
removed, among other things we need to validate in the northbound layer.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/subdir.am')
-rw-r--r-- | lib/subdir.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/subdir.am b/lib/subdir.am index 84d3901fd..356796fbb 100644 --- a/lib/subdir.am +++ b/lib/subdir.am @@ -112,6 +112,8 @@ lib_libfrr_la_LIBADD += -lsqlite3 lib_libfrr_la_SOURCES += lib/db.c endif +lib/if_clippy.c: $(CLIPPY_DEPS) +lib/if.lo: lib/if_clippy.c lib/plist_clippy.c: $(CLIPPY_DEPS) lib/plist.lo: lib/plist_clippy.c lib/nexthop_group_clippy.c: $(CLIPPY_DEPS) |