Skip to content
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 some test cases, and some ability to see what is going on in zebra #16878

Merged
merged 6 commits into from
Nov 26, 2024

Conversation

donaldsharp
Copy link
Member

No description provided.

@frrbot frrbot bot added tests Topotests, make check, etc zebra labels Sep 20, 2024
@donaldsharp
Copy link
Member Author

I changed all_protocol_startup locally and it runs fine. I'll need to investigate when I get a chance

Comment on lines +1725 to +1728
print("\n\n** Verifying some interface code")
print("************************************\n")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you use step() instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’m not interested in switching the test over to step.

@donaldsharp donaldsharp force-pushed the increased_test_cover branch 2 times, most recently from 1b01aed to b8494d5 Compare November 5, 2024 15:15
For interface config:
shutdown
mpls
multicast

These states were never being shown in output, let's show it.

Signed-off-by: Donald Sharp <[email protected]>
I noticed that there was some missed code coverage in zebra.
multicast [enable|disable]
and
show interface description vrf all

Add a bit to get it covered.

Signed-off-by: Donald Sharp <[email protected]>
The functions:
if_get_flags
if_flags_update
if_flags_mangle

are never invoked from a linux netlink build.  Put a #ifdef
around those functions so that they are not included on the
linux build as that they are not needed there.

Signed-off-by: Donald Sharp <[email protected]>
Noticed that we were not really attempting to even test
large swaths of our snmp infrastructure.  Let's load
up some very simple configs for those daemons that
FRR supports and ensure that SNMP is working to
some extent.

Signed-off-by: Donald Sharp <[email protected]>
These functions are not being used.  Let's just remove
them from our code base.

Signed-off-by: Donald Sharp <[email protected]>
@Jafaral Jafaral merged commit 5c1154b into FRRouting:master Nov 26, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants