Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[route]: fix via leaf in mpls-route #161

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions yang/iproute2-ip-route.yang
Original file line number Diff line number Diff line change
Expand Up @@ -340,13 +340,13 @@ module iproute2-ip-route {
"nexthop interface";
}
leaf via {
ipr2cgen:value-only;
ipr2cgen:arg-name "via inet";
ipr2cgen:oper-arg-name "gateway";
// TODO IPv6 support: oper also uses "host" arg name when via family is set to inet6
// while using gateway when family is set to inet
type inet:ip-address;
description
"via address";
"ipv4 nexthop address";
}
}
}
Expand Down