|
Ran
|
Files
26
|
Run time
1s
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/wikimedia/PyBal/commit/cac4528c0">Adapt NaiveBGPPeering to support UPDATE message overflow Add {MPReachNLRI,MPUnreachNLRI}.addSomePrefixes to fit as many prefixes into these attributes as will fit within maxLen. Adapt BGPUpdateMessage add methods to addSomeWithdrawals, and addSomeNLRI to fit as many prefixes or attributes as will fit the (remainder) of the BGP UPDATE packet, BGPMessage.freeSpace(). BGPUpdateMessage.addAttributes is retained; it adds all attributes or throws an exception if it doesn't fit. BGP.sendMessage() is added to send a previously crafted BGPMessage instance. BGP.encodeSomePrefixes() is added to fit as many prefixes into a bytearray as will fit within maxLen. NaiveBGPPeering._sendUpdates() and support methods have been rewritten to support UPDATE message overflows. Change-Id: I</a><a class="double-link" href="https://github.com/wikimedia/PyBal/commit/29177f9f5">29177f9f5</a>
1825 of 3310 relevant lines covered (55.14%)
0.55 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|