-
Notifications
You must be signed in to change notification settings - Fork 5
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
LCP: enable by default route-no-paths #1
Conversation
b5457f1
to
f680364
Compare
interface-definitions/vpp.xml.in
Outdated
<properties> | ||
<help>Route no paths</help> | ||
<help>Disable route no paths option</help> |
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 can't find the docs for that option in the VPP manual and from this help string, I'd never be able to guess what the option actually does.
Do you think it's possible to make it more descriptive?
If you point me at the docs, I can also think about it, once I know what it does. :)
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 can't find the docs for that option in the VPP manual and from this help string, I'd never be able to guess what the option actually does.
It was added from the patch
The most suitable option learn-kernel-routes < enable|disable >
What do you think about it?
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.
learn-kernel-routes
sounds good to me! Although we made an agreement long ago that we do not create nodes with arguments like true/false
, enable/disable
, etc.
If you think the most sensible default is to have the dataplane learn kernel routes, then we should have a valueless node like disable-learning-kernel-routes
(or similar, e.g., ignore-kernel-routes
).
If you think the default should be not to learn then, we should add a valueless node learn-kernel-routes
.
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.
Done!
set vpp settings lcp ignore-kernel-routes
f680364
to
1659d7b
Compare
Change Summary
LCP: enable by default route-no-paths
Types of changes
Related Task(s)
Related PR(s)
Proposed changes
How to test
SMOKETEST
Checklist: