mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 21:10:28 +00:00
yang: fix BGP multicast prefix type
Fix many of the commands in the `address-family ipv4 multicast` to use the proper type to avoid wrong YANG model validation failures. Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
parent
e51da3f817
commit
684a5c8a6b
@ -11,10 +11,6 @@ module frr-bgp {
|
||||
prefix inet;
|
||||
}
|
||||
|
||||
import ietf-routing-types {
|
||||
prefix rt-types;
|
||||
}
|
||||
|
||||
import frr-interface {
|
||||
prefix frr-interface;
|
||||
}
|
||||
@ -23,6 +19,10 @@ module frr-bgp {
|
||||
prefix frr-bt;
|
||||
}
|
||||
|
||||
import frr-route-types {
|
||||
prefix frr-route-types;
|
||||
}
|
||||
|
||||
include "frr-bgp-common";
|
||||
|
||||
include "frr-bgp-common-structure";
|
||||
@ -405,7 +405,7 @@ module frr-bgp {
|
||||
description
|
||||
"A list of network routes.";
|
||||
leaf prefix {
|
||||
type rt-types:ipv4-multicast-group-address;
|
||||
type frr-route-types:ipv4-multicast-group-prefix;
|
||||
description
|
||||
"IPv4 multicast destination prefix.";
|
||||
}
|
||||
@ -425,7 +425,7 @@ module frr-bgp {
|
||||
description
|
||||
"A list of aggregated routes.";
|
||||
leaf prefix {
|
||||
type rt-types:ipv4-multicast-group-address;
|
||||
type frr-route-types:ipv4-multicast-group-prefix;
|
||||
description
|
||||
"IPv4 multicast destination prefix.";
|
||||
}
|
||||
@ -438,7 +438,7 @@ module frr-bgp {
|
||||
description
|
||||
"A list of routes with a particular admin distance.";
|
||||
leaf prefix {
|
||||
type rt-types:ipv4-multicast-group-address;
|
||||
type frr-route-types:ipv4-multicast-group-prefix;
|
||||
description
|
||||
"IPv4 multicast destination prefix.";
|
||||
}
|
||||
@ -459,7 +459,7 @@ module frr-bgp {
|
||||
description
|
||||
"A list of network routes.";
|
||||
leaf prefix {
|
||||
type rt-types:ipv6-multicast-group-address;
|
||||
type frr-route-types:ipv6-multicast-group-prefix;
|
||||
description
|
||||
"IPv6 multicast destination prefix.";
|
||||
}
|
||||
@ -479,7 +479,7 @@ module frr-bgp {
|
||||
description
|
||||
"A list of aggregated routes.";
|
||||
leaf prefix {
|
||||
type rt-types:ipv6-multicast-group-address;
|
||||
type frr-route-types:ipv6-multicast-group-prefix;
|
||||
description
|
||||
"IPv6 multicast destination prefix.";
|
||||
}
|
||||
@ -492,7 +492,7 @@ module frr-bgp {
|
||||
description
|
||||
"A list of routes with a particular admin distance.";
|
||||
leaf prefix {
|
||||
type rt-types:ipv6-multicast-group-address;
|
||||
type frr-route-types:ipv6-multicast-group-prefix;
|
||||
description
|
||||
"IPv6 multicast destination prefix.";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user