summaryrefslogtreecommitdiff
path: root/yang/subdir.am
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2018-05-09 01:34:57 -0300
committerRenato Westphal <renato@opensourcerouting.org>2018-10-27 16:16:12 -0200
commit707656ec85360602d849fbbe7fe54c717194f4d5 (patch)
tree8393290ee162977eb3e9f53b84dd5b21c69c085f /yang/subdir.am
parent8f90d89ba93a63dba121f0678ed2506b4ae530be (diff)
yang, ripd: add 'frr-ripd.yang' and associated stub callbacks
Introduce frr-ripd.yang, which defines a model for managing the FRR ripd daemon. Also add frr-route-types.yang which defines typedefs for FRR route types. Update the 'frr_yang_module_info' array of ripd with the new 'frr-ripd' module. Add two new files (rip_cli.[ch]) which should contain all ripd commands converted to the new northbound model. Centralizing all commands in a single place will facilitate the process of moving the CLI to a separate program in the future. Add automatically generated stub callbacks in rip_northbound.c. These callbacks will be implemented gradually in the following commits. Add example JSON/XML ripd configurations in yang/examples/. Add the confd.frr-ripd.yang YANG module with annotations specific to the ConfD daemon. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'yang/subdir.am')
-rw-r--r--yang/subdir.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/yang/subdir.am b/yang/subdir.am
index 8e9f83c3e5..d68a341a9f 100644
--- a/yang/subdir.am
+++ b/yang/subdir.am
@@ -1,2 +1,7 @@
dist_yangmodels_DATA += yang/frr-module-translator.yang
dist_yangmodels_DATA += yang/frr-interface.yang
+dist_yangmodels_DATA += yang/frr-route-types.yang
+
+if RIPD
+dist_yangmodels_DATA += yang/frr-ripd.yang
+endif