Skip to content

Commit 1f6b2c3

Browse files
authored
Merge pull request FRRouting#20797 from y-bharath14/srib-yang-V9
yang: Fix pyang errors in frr-bgp-types.yang
2 parents 11892e9 + a53181d commit 1f6b2c3

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

yang/frr-bgp-types.yang

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,27 @@ module frr-bgp-types {
4040
revision 2019-12-03 {
4141
description
4242
"Initial revision.";
43+
44+
reference
45+
"FRRouting";
4346
}
4447

4548
typedef plist-ref {
4649
type string;
50+
description
51+
"Reference to a plist.";
4752
}
4853

4954
typedef access-list-ref {
5055
type string;
56+
description
57+
"Reference to an access list.";
5158
}
5259

5360
typedef as-path-filter-ref {
5461
type string;
62+
description
63+
"Reference to an AS path filter, which specifies a filter for AS paths in BGP routing.";
5564
}
5665

5766
typedef bgp-instance-type {
@@ -72,6 +81,8 @@ module frr-bgp-types {
7281
"BGP instance view.";
7382
}
7483
}
84+
description
85+
"BGP instance type, which specifies the type of BGP instance.";
7586
}
7687

7788
typedef as-type {
@@ -92,6 +103,8 @@ module frr-bgp-types {
92103
"External BGP peer.";
93104
}
94105
}
106+
description
107+
"AS type, which specifies the type of AS or BGP peer.";
95108
}
96109

97110
typedef add-path-type {
@@ -112,6 +125,8 @@ module frr-bgp-types {
112125
"Add path feature is disabled.";
113126
}
114127
}
128+
description
129+
"Add path type, which specifies how paths are advertised to a neighbor.";
115130
}
116131

117132
typedef bfd-session-type {
@@ -132,6 +147,8 @@ module frr-bgp-types {
132147
"Not Configured.";
133148
}
134149
}
150+
description
151+
"BFD session type, which can be single-hop, multi-hop, or not-configured.";
135152
}
136153

137154
typedef direction {
@@ -147,5 +164,7 @@ module frr-bgp-types {
147164
"OUT, egress, Tx.";
148165
}
149166
}
167+
description
168+
"Direction of traffic flow, either ingress or egress.";
150169
}
151170
}

0 commit comments

Comments
 (0)