diff options
author | Donald Sharp <donaldsharp72@gmail.com> | 2023-05-12 02:31:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-12 02:31:46 +0200 |
commit | 907183cb354888268fe66184646ae7153e819278 (patch) | |
tree | 0aa9e73bb94c5438a39283d22b9e1c0b515b5c07 /yang | |
parent | Merge pull request #13490 from Jafaral/fix-ospf-asbr-test (diff) | |
parent | ripd: Do not overrun with more ECMP paths than Zebra supports (diff) | |
download | frr-907183cb354888268fe66184646ae7153e819278.tar.xz frr-907183cb354888268fe66184646ae7153e819278.zip |
Merge pull request #13430 from opensourcerouting/feature/rip_allow-ecmp_limit
ripd: Implement allow-ecmp X command
Diffstat (limited to 'yang')
-rw-r--r-- | yang/example/ripd.json | 2 | ||||
-rw-r--r-- | yang/example/ripd.xml | 2 | ||||
-rw-r--r-- | yang/frr-ripd.yang | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/yang/example/ripd.json b/yang/example/ripd.json index 00040622e..799f46a6d 100644 --- a/yang/example/ripd.json +++ b/yang/example/ripd.json @@ -23,7 +23,7 @@ "instance": [ { "vrf": "default", - "allow-ecmp": "true", + "allow-ecmp": 1, "distance": { "source": [ { diff --git a/yang/example/ripd.xml b/yang/example/ripd.xml index 2feddde2d..dad83619c 100644 --- a/yang/example/ripd.xml +++ b/yang/example/ripd.xml @@ -19,7 +19,7 @@ <ripd xmlns="http://frrouting.org/yang/ripd"> <instance> <vrf>default</vrf> - <allow-ecmp>true</allow-ecmp> + <allow-ecmp>1</allow-ecmp> <static-route>10.0.1.0/24</static-route> <distance> <source> diff --git a/yang/frr-ripd.yang b/yang/frr-ripd.yang index a4bf50d95..5f85a4cab 100644 --- a/yang/frr-ripd.yang +++ b/yang/frr-ripd.yang @@ -119,8 +119,8 @@ module frr-ripd { "VRF name."; } leaf allow-ecmp { - type boolean; - default "false"; + type uint8; + default 0; description "Allow equal-cost multi-path."; } |