-
Notifications
You must be signed in to change notification settings - Fork 348
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
T5559: Add static neighbor-proxy feature #2240
Conversation
What about:
|
What about to summarize all under:
Then we will have a common root node for the feature for both address families. Does this also work for VRFs? |
@c-po Done!
check
Not sure about VRF, it was a request from the task |
89e9a7c
to
32f073b
Compare
</constraint> | ||
</properties> | ||
<children> | ||
<leafNode name="interface"> |
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.
We could use an include for the interface here
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!
if 'arp' in config: | ||
for neighbor, neighbor_conf in config['arp'].items(): | ||
if 'interface' not in neighbor_conf: | ||
raise ConfigError(f'neighbor-proxy arp {neighbor} interface required but not set.') |
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.
Could you please reword the error message: „ARP neighbor-proxy for „IP“ requires an interface to be set!“
For both IPv4 and IPv6
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.
The reason that I use it
neighbor-proxy arp {neighbor} interface
It is the path of configuration that is not valid. It is clear where in the configuration you should add interface
.
But sure, I can
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!
Ability to set ip neigbhor proxy set protocols static neighbor-proxy arp 192.0.2.1 interface 'eth0' set protocols static neighbor-proxy arp 192.0.2.2 interface 'eth0' set protocols static neighbor-proxy nd 2001:db8::1 interface 'eth1'
@Mergifyio backport sagitta |
✅ Backports have been created
|
Change Summary
Ability to set neighbor proxy ARP/NDP for specific hosts
Types of changes
Related Task(s)
Component(s) name
proxy-arp, proxy-ndp
Proposed changes
How to test
VyOS configuration:
Check:
Checklist: