mirror_frr/yang/subdir.am
Quentin Young 21a22f4cd2 yang: add vrrp yang model
Adapted from OpenConfig. Changes:
- Interface tracking commented out (unsupported)
- Preemption delay commented out (unsupported)
- Accept_Mode default changed to 'true'

Also linted and stylized.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-12-09 14:39:18 -05:00

51 lines
1.2 KiB
Plaintext

SUFFIXES += .yang .yang.c .yin .yin.c
EXTRA_DIST += yang/embedmodel.py
.yang.yang.c:
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/yang/embedmodel.py $^ $@
.yin.yin.c:
$(AM_V_GEN)$(PYTHON) $(top_srcdir)/yang/embedmodel.py $^ $@
# use .yang.c files like this:
#
# ripd_ripd_SOURCES = \
# ...
# nodist_ripd_ripd_SOURCES = \
# yang/frr-ripd.yang.c \
# # end
#
# Note that putting the .yang.c file into a static library.a will NOT work
# because the entire file is "optimized out" since it does not contain any
# global symbols :(. Just put it in the daemon. Dynamic libraries.so work
# without problems, as seen in libfrr.
dist_yangmodels_DATA += yang/frr-module-translator.yang
dist_yangmodels_DATA += yang/frr-test-module.yang
dist_yangmodels_DATA += yang/frr-interface.yang
dist_yangmodels_DATA += yang/frr-route-types.yang
dist_yangmodels_DATA += yang/ietf/ietf-routing-types.yang
if BFDD
dist_yangmodels_DATA += yang/frr-bfdd.yang
endif
if EIGRPD
dist_yangmodels_DATA += yang/frr-eigrpd.yang
endif
if RIPD
dist_yangmodels_DATA += yang/frr-ripd.yang
endif
if RIPNGD
dist_yangmodels_DATA += yang/frr-ripngd.yang
endif
if ISISD
dist_yangmodels_DATA += yang/frr-isisd.yang
endif
if VRRPD
dist_yangmodels_DATA += yang/frr-vrrpd.yang
endif