mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
This includes BGP VPLS NLRI and extended community. There is no CLI/API support yet. Also, VPLS AFI/SAFI is shared with RFC 6074 which says: > Both BGP-AD and VPLS-BGP [RFC4761] use the same AFI/SAFI. In order > for both BGP-AD and VPLS-BGP to co-exist, the NLRI length must be > used as a demultiplexer. > > The BGP-AD NLRI has an NLRI length of 12 bytes, containing only an > 8-byte RD and a 4-byte VSI-ID. VPLS-BGP [RFC4761] uses a 17-byte > NLRI length. Therefore, implementations of BGP-AD must ignore NLRI > that are greater than 12 bytes. This is not handled in this PR. The generic transitive experimental extended community types are shared with FlowSpec. The parsing is extended to handle VPLS as well, but not other L2 encapsulations. Fix #2590
What's this
This script is a spell checker for GoBGP's source codes.
Requirements
-
scspell3k: Spell checker for source code written in Python.
pip install scspell3k
How to use
Just run scspell.sh.
bash tools/spell-check/scspell.sh
Example of output:
# Format:
# path/to/file.go: <messages>
xxx/xxx.go: 'mispeld' not found in dictionary (from token 'Mispeld')
Adding new words to dictionary
If you want to add new words to the dictionary for this spell checker, please
insert words into tools/spell-check/dictionary.txt or
tools/spell-check/ignore.txt.