yang: Fix pyang errors in frr-bgp-filter.yang - #20746
Merged
Merged
Conversation
Fix pyang errors in frr-bgp-filter.yang Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Greptile OverviewGreptile SummaryThis PR updates
These changes are documentation/metadata-only within the YANG model and do not alter list keys, types, or augment paths, so the effective schema should remain the same while removing the reported Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Author as PR Author
participant YANG as yang/frr-bgp-filter.yang
participant Pyang as pyang (RFC 8407 checks)
Author->>YANG: Add missing reference/description substatements
Pyang->>YANG: Validate revision has reference
Pyang->>YANG: Validate augment/leaf/leaf-list have description
Pyang-->>Author: Errors cleared (RFC 8407 compliance)
|
Member
|
@Mergifyio backport dev/10.6 |
Jafaral
approved these changes
Feb 10, 2026
β Backports have been createdDetails
|
donaldsharp
added a commit
that referenced
this pull request
Feb 10, 2026
yang: Fix pyang errors in frr-bgp-filter.yang (backport #20746)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix pyang errors in frr-bgp-filter.yang
frr-bgp-filter.yang:22: error: RFC 8407: 4.8: statement "revision" must have a "reference" substatement
frr-bgp-filter.yang:74: error: RFC 8407: 4.14: statement "augment" must have a "description" substatement
frr-bgp-filter.yang:79: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:87: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:91: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:141: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:149: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:153: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:215: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:223: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:227: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:271: error: RFC 8407: 4.14: statement "leaf-list" must have a "description" substatement
frr-bgp-filter.yang:279: error: RFC 8407: 4.14: statement "leaf-list" must have a "description" substatement
frr-bgp-filter.yang:313: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement
frr-bgp-filter.yang:317: error: RFC 8407: 4.14: statement "leaf" must have a "description" substatement