-
Notifications
You must be signed in to change notification settings - Fork 19
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
Create sdk-vpp chain element for creating loopback interface attached to the fib table #364
Comments
I would like to show my understanding of Chain (modification of this):
1. iptable 2. loopback 3. unnumbered
constitute Addition
|
One 'Additions' I'd suggest simply giving ipaddress.NewServer the Options pattern with an Option like: func WithLoadSwIfIndex(func(ctx context.Context, isClient bool) (value interface_types.InterfaceIndex, ok bool)) Option {...} Default to using the ifindex.Load function ... but then you can optionall override it with another Load. One thing to keep in mind though... do we want to keep resetting the IP on the loopback with each new connection (even if its the same value)? |
Also... how are you getting ipam for the dst IP for the loopback since you only need it once? |
I don't quite understand. Why do we need to reset IP address with new connection? |
#364 (comment) |
Depends on
#341
Context
networkservicemesh/cmd-nse-vl3-vpp#1
Description
We need to
The text was updated successfully, but these errors were encountered: