summaryrefslogtreecommitdiffstats
path: root/yang/frr-route-types.yang (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: Introduce Local Host Routes to FRRDonald Sharp2023-11-011-25/+31
| | | | | | | | | | | | | | | | | | Create Local routes in FRR: S 0.0.0.0/0 [1/0] via 192.168.119.1, enp39s0, weight 1, 00:03:46 K>* 0.0.0.0/0 [0/100] via 192.168.119.1, enp39s0, 00:03:51 O 192.168.119.0/24 [110/100] is directly connected, enp39s0, weight 1, 00:03:46 C>* 192.168.119.0/24 is directly connected, enp39s0, 00:03:51 L>* 192.168.119.224/32 is directly connected, enp39s0, 00:03:51 O 192.168.119.229/32 [110/100] via 0.0.0.0, enp39s0 inactive, weight 1, 00:03:46 C>* 192.168.119.229/32 is directly connected, enp39s0, 00:03:46 Create ability to redistribute local routes. Modify tests to support this change. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
* yang: add SPDX License IDsDavid Lamparter2023-02-091-0/+1
| | | | | | | YANG files get to keep their license boilerplate in addition to the SPDX header, since they are likely to be copied around individually. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* yang: Fix the ipv6 multicast pattern in frr-route-typesMobashshera Rasool2022-03-081-3/+1
| | | | | | | | The pattern defined for ipv6-multicast-group-prefix is wrong. This is leading to mismatch for all the valid ipv6 multicast addresses. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
* yang: move multicast prefix type definitionRafael Zalamena2021-05-211-0/+35
| | | | | | | Move the multicast prefix type to a common YANG model so other models can use it. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* yang: update bgp module afi-safi parametersChirag Shah2020-10-261-0/+6
| | | | | | add vnc-direct route-type. Signed-off-by: Chirag Shah <chirag@nvidia.com>
* yang: adopt the BSD-2-Clause license for our YANG modulesRenato Westphal2020-05-051-1/+26
| | | | Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
* Merge pull request #5183 from opensourcerouting/zebra-route-map-nbQuentin Young2020-03-311-0/+8
|\ | | | | yang/zebra: migrate route map to northbound
| * yang: unionize IPv4/IPv6 route typesRafael Zalamena2020-03-251-113/+3
| | | | | | | | | | | | | | Use a union to join the route types declaration instead of copying/pasting them. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
| * yang: zebra route map fixes based on feedbackRafael Zalamena2020-03-231-0/+12
| | | | | | | | | | | | | | Fix copy & paste on YANG description and add new route types that appeared. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
| * yang: add all route types enumerationRafael Zalamena2020-03-231-0/+106
| | | | | | | | | | | | | | This new type will be used by zebra route map match command which is IP version agnostic. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
* | *: use the current project name (FRRouting)Lou Berger2020-03-251-1/+1
|/ | | | Signed-off-by: Lou Berger <lberger@labn.net>
* yang, ripd: add 'frr-ripd.yang' and associated stub callbacksRenato Westphal2018-10-271-0/+109
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>