Skip to content

Commit 0a3e71b

Browse files
authored
Merge pull request #22453 from y-bharath14/srib-yang-Ver18
yang: Fix pyang errors in frr-bgp-common-structure.yang
2 parents 01c5a4f + 1fb2665 commit 0a3e71b

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

yang/frr-bgp-common-structure.yang

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ submodule frr-bgp-common-structure {
6464
revision 2019-12-03 {
6565
description
6666
"Initial revision.";
67+
reference
68+
"FRRouting";
6769
}
6870

6971
grouping structure-neighbor-group-ebgp-multihop {
@@ -74,6 +76,8 @@ submodule frr-bgp-common-structure {
7476
description
7577
"EBGP multi-hop parameters for the BGP group.";
7678
choice hop-count-choice {
79+
description
80+
"Choice for EBGP multihop TTL configuration.";
7781
case default-hop-count {
7882
leaf enabled {
7983
type boolean;
@@ -108,7 +112,11 @@ submodule frr-bgp-common-structure {
108112
}
109113

110114
grouping neighbor-local-as-options {
115+
description
116+
"Configuration options for local AS number for BGP neighbors.";
111117
container local-as {
118+
description
119+
"Local AS number configuration parameters.";
112120
leaf local-as {
113121
type inet:as-number;
114122
description
@@ -137,7 +145,11 @@ submodule frr-bgp-common-structure {
137145
}
138146

139147
grouping neighbor-bfd-options {
148+
description
149+
"BFD options for BGP neighbors.";
140150
container bfd-options {
151+
description
152+
"BFD configuration parameters.";
141153
leaf enable {
142154
type boolean;
143155
default "false";
@@ -196,7 +208,11 @@ submodule frr-bgp-common-structure {
196208
}
197209

198210
grouping neighbor-remote-as {
211+
description
212+
"Configuration for remote AS number for BGP neighbors.";
199213
container neighbor-remote-as {
214+
description
215+
"Remote AS number configuration parameters.";
200216
leaf remote-as-type {
201217
type frr-bt:as-type;
202218
description
@@ -222,6 +238,8 @@ submodule frr-bgp-common-structure {
222238
description
223239
"Source of routing updates config.";
224240
choice source {
241+
description
242+
"Source type for routing updates.";
225243
case ip-based {
226244
leaf ip {
227245
type inet:ip-address;
@@ -272,6 +290,8 @@ submodule frr-bgp-common-structure {
272290
"AS_PATH manipulation parameters for the BGP neighbor or
273291
group.";
274292
choice allowas-in {
293+
description
294+
"Options for allowing own AS in AS_PATH.";
275295
case occurence-based {
276296
leaf allow-own-as {
277297
type uint8 {
@@ -381,11 +401,15 @@ submodule frr-bgp-common-structure {
381401
}
382402

383403
grouping structure-neighbor-prefix-limit {
404+
description
405+
"Configuration for prefix limits for BGP neighbors.";
384406
container prefix-limit {
385407
description
386408
"Parameters relating to the prefix limit for the AFI-SAFI.";
387409
list direction-list {
388410
key "direction";
411+
description
412+
"List of prefix limit directions.";
389413
leaf direction {
390414
type frr-bt:direction;
391415
description
@@ -409,7 +433,11 @@ submodule frr-bgp-common-structure {
409433

410434
container options {
411435
when "../direction = 'in'";
436+
description
437+
"Options for prefix limit handling.";
412438
choice options {
439+
description
440+
"Prefix limit options.";
413441
case warning {
414442
leaf warning-only {
415443
type boolean;
@@ -484,6 +512,8 @@ submodule frr-bgp-common-structure {
484512
}
485513

486514
grouping structure-neighbor-nexthop-self {
515+
description
516+
"Configuration for nexthop-self for BGP neighbors.";
487517
container nexthop-self {
488518
description
489519
"Parameters relating to the nexthop-self for the AFI-SAFI.";
@@ -506,6 +536,8 @@ submodule frr-bgp-common-structure {
506536
}
507537

508538
grouping structure-neighbor-private-as {
539+
description
540+
"Configuration for private AS handling for BGP neighbors.";
509541
container private-as {
510542
description
511543
"Parameters relating to the private-as for the AFI-SAFI.";
@@ -544,6 +576,8 @@ submodule frr-bgp-common-structure {
544576
}
545577

546578
grouping structure-neighbor-weight {
579+
description
580+
"Configuration for weight attribute for BGP neighbors.";
547581
container weight {
548582
description
549583
"Parameters relating to the weight for the AFI-SAFI.";
@@ -558,6 +592,8 @@ submodule frr-bgp-common-structure {
558592
}
559593

560594
grouping structure-neighbor-route-reflector {
595+
description
596+
"Configuration for route reflector for BGP neighbors.";
561597
container route-reflector {
562598
description
563599
"Parameters relating to the route-reflector for the AFI-SAFI.";
@@ -571,6 +607,8 @@ submodule frr-bgp-common-structure {
571607
}
572608

573609
grouping structure-neighbor-route-server {
610+
description
611+
"Configuration for route server for BGP neighbors.";
574612
container route-server {
575613
description
576614
"Parameters relating to the route-server for the AFI-SAFI.";
@@ -584,6 +622,8 @@ submodule frr-bgp-common-structure {
584622
}
585623

586624
grouping structure-neighbor-send-community {
625+
description
626+
"Configuration for sending community attributes for BGP neighbors.";
587627
container send-community {
588628
description
589629
"Parameters relating to the send-community for the AFI-SAFI.";
@@ -641,6 +681,8 @@ submodule frr-bgp-common-structure {
641681
description
642682
"BGP Graceful restart feature.";
643683
choice mode {
684+
description
685+
"Graceful restart mode selection.";
644686
case graceful-restart-mode {
645687
leaf enable {
646688
type boolean;
@@ -726,7 +768,11 @@ submodule frr-bgp-common-structure {
726768
"Structural grouping used to include orf
727769
configuration for both BGP neighbors and peer groups.";
728770
container orf-capability {
771+
description
772+
"Outbound Route Filtering capability configuration.";
729773
choice orf-update {
774+
description
775+
"ORF update direction options.";
730776
case send {
731777
leaf orf-send {
732778
type boolean;
@@ -762,6 +808,8 @@ submodule frr-bgp-common-structure {
762808
"Structural grouping used to include per neighbor timers
763809
configuration for both BGP neighbors and peer groups.";
764810
container timers {
811+
description
812+
"Timer configuration parameters.";
765813
leaf advertise-interval {
766814
type uint16 {
767815
range "0..600";

0 commit comments

Comments
 (0)