diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2025-01-27 18:18:24 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2025-01-28 15:40:17 +0100 |
| commit | 3671ce36fdcc1b74972d188250397da4e3b19f6d (patch) | |
| tree | d0da324a414bdd754ef3a61aa3138d9f40816e17 /lib/zclient.c | |
| parent | 1d341d461e8549524f9054534fb20cec7b7c967d (diff) | |
staticd: fix botched staticd YANG for dst-src
The staticd YANG conversion completely f*cked up dst-src routes.
Stupidly enough, the correct thing is much simpler as seen by the amount
of deletes in this commit.
This does, unfortunately, involve a rather annoying YANG edge case with
what should reasonably be an optional leaf as part of a list key, which
is not possible. It uses `::/0` as unconditional filler instead, since
that is semantically correct.
The `test_yang_mgmt` topotest needed to be adjusted after this to add
`src-prefix='::/0'`.
Fixes: 88fa5104a04a ("staticd : Configuration northbound implementation")
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/zclient.c')
0 files changed, 0 insertions, 0 deletions
