leaf as-number {
mandatory true;
- type int32;
+ type uint32;
}
}
}
case rib-impl {
when "/config:modules/config:module/config:type = 'rib-impl'";
- container bgp {
+ list bgp {
uses config:service-ref {
refine type {
mandatory true;
}
}
+ leaf local-as {
+ description "Our local AS number. Needed by best selection path attribute.";
+ type uint32;
+ mandatory true;
+ }
+
+ leaf bgp-id {
+ description "Our local BGP identifier. Needed by best selection path attribute.";
+ mandatory true;
+ type string;
+ }
+
leaf rib-id {
type rib:rib-id;
mandatory true;