+ Create grouping for Path Id
+ Make Path Id default value 0
Change-Id: I85ad9df929da144ff4b16e9042b21d83202c03c9
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
leaf prefix {
type inet:ipv4-prefix;
}
- leaf path-id {
- type bgp-msg:path-id;
- }
+ uses bgp-msg:path-id-grouping;
}
grouping ipv6-prefix {
typedef path-id {
type uint32;
+ default 0;
description
"Identifier of a single path. The identifier does not
carry any semantic meaning beyond uniquely identifying
a path.";
}
+ grouping path-id-grouping {
+ leaf path-id {
+ type path-id;
+ }
+ }
+
grouping originator-id {
leaf originator {
type inet:ipv4-address;