-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fd stuff #4392
Fd stuff #4392
Conversation
donaldsharp
commented
May 24, 2019
- Remove SO_MARK socket option as that it was undocumented and could interfere with people's usages of rules
- Update documentation in a bunch of spots
- Update What is displayed to the end user to allow for easier debugging.
The 'show thread cpu' command referenced a 'b' option. Which is not parsed at all in the parse_filter function. As such I do not know what this was referencing as that it has been removed. Update the help strings to reflect this reality. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Upon startup FRR reads in the MAX_FDS variable from it's control files via the getrlimit call. We then setup code to limit the poll data structure size to that value. The OS also limits our FD's to that value because that is what is set. Provide a methodology that a interested end user can figure this data out. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Place in the code the ability for end operators to know how to modify MAX_FDS so that they can run large scale operations. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Add some very basic 'show thread cpu' and 'show thread poll' documentation to our system. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
When issuing a `show bgp neighbor...` command display to the end user the FD used for communication. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
The SO_MARK socket option was being used pre vrf to allow for the separation of the front panel -vs- the management port. This was facilitated by a ip rule. Since this is undocumented anywhere in our system( other than old commits see ed40466 ). We should remove this because this will cause interference with people using rules and are not aware of this offshoot of functionality. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
💚 Basic BGPD CI results: SUCCESS, 0 tests failedResults table
For details, please contact louberger |
Continuous Integration Result: SUCCESSFULCongratulations, this patch passed basic tests Tested-by: NetDEF / OpenSourceRouting.org CI System CI System Testrun URL: https://ci1.netdef.org/browse/FRR-FRRPULLREQ-7822/ This is a comment from an automated CI system. CLANG Static Analyzer Summary
No Changes in Static Analysis warnings compared to base11 Static Analyzer issues remaining.See details at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
@@ -83,6 +71,13 @@ This file has several parts. Here is an example: | |||
|
|||
Breaking this file down: | |||
|
|||
:: | |||
|
|||
bgpd=yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Three spaces pls. Also, for future reference you can write blocks like this as:
Breaking this file down::
bgpd = yes
This is syntax sugar, Sphinx will render the ::
as a single :
and treat the indented block as a code block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Took the liberty of adding that space character and merging.
btw, for future reference, shell doesn't accept spaces around the =
😆