-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rfc7854 compliance and bug fixes (#3)
* Changing Readme Add new Stat types * Update peer header * Adds: - Support for 'A' flag in Per-Peer header - Support for Route Mirroring message type * Add bitstring to requirements.txt * Fixes two bugs: - Initiation and Termination messages. These two message types don't have per peer header hence we need to pass the raw_body as their argument, instead of raw_body[42:] - When BGP capabilities include the use of 4 byte ASNs, regular ASN_PATH type 2 attribute is used for Updates. This commit includes a temporary fix to avoid an AS_PATH attributes decoding error when the routers use 4 bytes ASNs. The code seems to use asn4=False by default and makes no attempt to change that based on the Peer_up notification message. I just changed to True for now we but need to find a way to use shared state in the connection to detect the use of 4Byte ASN capability and then pass the correct flag to Update.parse(asn4=True) * Fix PEP8 formatting * Don't add autogenerated files
- Loading branch information
1 parent
4d38bad
commit 6736f82
Showing
6 changed files
with
122 additions
and
25 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,4 +57,5 @@ docs/_build/ | |
target/ | ||
|
||
/.idea | ||
etc/openbmp/openbmp.ini | ||
etc/openbmp/openbmp.ini | ||
.DS_Store |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ netaddr>=0.7.12 | |
pbr==1.6 | ||
oslo.config>=2.1.0 | ||
Twisted==15.0.0 | ||
bitstring==3.1.5 |
This file contains 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
This file contains 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
This file contains 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