diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2020-05-09 14:24:20 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2020-08-07 14:07:46 -0300 | 
| commit | 240b7826f6bc4dbcf9de7bbe94f08b9ce9ddffc5 (patch) | |
| tree | cfc722648fa3ec7177da1149cd94d81e58b5c59a /yang/frr-ripd.yang | |
| parent | cd211e2049e672d96dd1c549fcd259f68e0d57ea (diff) | |
build, yang: bump libyang minimum required version to 1.0.184
It's time to say good bye to libyang 0.16.105. The recently
released libyang 1.0.184 includes numerous bug fixes and performance
improvements that we need.
Despite the major version bump from 0.x to 1.x, the libyang API is
the same except for a single backward-incompatible change in the
user types interface (which we're currently not using). Hence no
code changes were necessary to adapt FRR to libyang 1.x.
This commit also reintroduces some leafrefs that needed to be
removed from our YANG modules due to a bug that was present on
libyang 0.16.105.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'yang/frr-ripd.yang')
| -rw-r--r-- | yang/frr-ripd.yang | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/yang/frr-ripd.yang b/yang/frr-ripd.yang index 4e5795b8f7..f5775ab968 100644 --- a/yang/frr-ripd.yang +++ b/yang/frr-ripd.yang @@ -143,7 +143,7 @@ module frr-ripd {            "Enable RIP on the specified IP network.";        }        leaf-list interface { -        type string; +        type frr-interface:interface-ref;          description            "Enable RIP on the specified interface.";        } @@ -204,14 +204,14 @@ module frr-ripd {        }        leaf-list passive-interface {          when "../passive-default = 'false'"; -        type string; +        type frr-interface:interface-ref;          description            "A list of interfaces where the sending of RIP packets             is disabled.";        }        leaf-list non-passive-interface {          when "../passive-default = 'true'"; -        type string; +        type frr-interface:interface-ref;          description            "A list of interfaces where the sending of RIP packets             is enabled.";  | 
