]> git.proxmox.com Git - mirror_frr.git/commit
yang, ripd: add 'frr-ripd.yang' and associated stub callbacks
authorRenato Westphal <renato@opensourcerouting.org>
Wed, 9 May 2018 04:34:57 +0000 (01:34 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Sat, 27 Oct 2018 18:16:12 +0000 (16:16 -0200)
commit707656ec85360602d849fbbe7fe54c717194f4d5
tree8393290ee162977eb3e9f53b84dd5b21c69c085f
parent8f90d89ba93a63dba121f0678ed2506b4ae530be
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>
12 files changed:
ripd/rip_cli.c [new file with mode: 0644]
ripd/rip_cli.h [new file with mode: 0644]
ripd/rip_main.c
ripd/rip_northbound.c [new file with mode: 0644]
ripd/ripd.h
ripd/subdir.am
yang/confd/confd.frr-ripd.yang [new file with mode: 0644]
yang/example/ripd.json [new file with mode: 0644]
yang/example/ripd.xml [new file with mode: 0644]
yang/frr-ripd.yang [new file with mode: 0644]
yang/frr-route-types.yang [new file with mode: 0644]
yang/subdir.am