-
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
Add ability to test dplane_fpm_nl.c file #15369
Conversation
9ff4f83
to
a9b0c01
Compare
7859716
to
8c7b126
Compare
12f4e88
to
51e8805
Compare
FRRbot's failure is because black and checkpatch disagree with each other. Frankly I prefer blacks output so I'm leaving it alone. |
6ee3d1d
to
eab21bd
Compare
from lib.topolog import logger | ||
|
||
|
||
pytestmark = [pytest.mark.sharpd] |
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.
Shouldn't we add another mark for FPM? tests/topotests/pytest.ini
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.
added
1990ec1
to
bc85aaa
Compare
@@ -102,6 +102,14 @@ Description: FRRouting suite - BGP RPKI support (rtrlib) | |||
number. | |||
Build-Profiles: <!pkg.frr.nortrlib> | |||
|
|||
Package: frr-test-tools |
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.
Wouldn't be good for RPM too?
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.
I spent 2 seconds looking at it and decided I have no idea how to do this in rpm land. If someone needs this as part of the rpm stuff, then they can add it. I feel it is ok for this approach because of the low usage of rpms
3dfd7e8
to
f5208d7
Compare
f5208d7
to
8589f16
Compare
checkpatch.pl wants you to use ARRAY_SIZE in a kernel header file. We don't have access to this kernel header file for normal compilation. I'm just going to remove it. Signed-off-by: Donald Sharp <[email protected]>
Add a tiny fpm_listener program to allow FRR to test the fpm. Signed-off-by: Donald Sharp <[email protected]>
Add a command to get the status of the dplane_fpm_nl module. Signed-off-by: Donald Sharp <[email protected]>
Signed-off-by: Donald Sharp <[email protected]>
Add the ability to run a fpm listener to the testing system. This is nothing more just allowing the test system to bring it up. Signed-off-by: Donald Sharp <[email protected]>
Ensure that the fpm module connects to the specified listener and then ensure that 10k routes from sharpd are installed into the system and then are removed. Signed-off-by: Donald Sharp <[email protected]>
Signed-off-by: Donald Sharp <[email protected]>
This package will hold test tools that are built and useful for developers of FRR but not useful for everyday usage of FRR. This is separted out because these are useful enough to have in their own package. Signed-off-by: Donald Sharp <[email protected]>
8589f16
to
0beabd7
Compare
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.
Looks all good now. Thanks
Add the ability to test the fpm module dplane_fpm_nl.c.
This includes a new daemon that needs to be added to the system from:
[email protected]:donaldsharp/fpm-stub.git