-
Notifications
You must be signed in to change notification settings - Fork 36
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 singlepointipam #1093
Add singlepointipam #1093
Conversation
Signed-off-by: Laszlo Kiraly <laszlo.kiraly@est.tech>
@glazychev-art Could you please review this when you will have time? Thanks. |
if dstSet { | ||
return &connectionInfo{ | ||
ipPool: sipam.ipPools[i], | ||
srcAddr: srcAddr.String() + sipam.masks[i], |
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.
do we also need non /32 mask for srcAddr?
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.
It is meant to be used for external communication also. The client pod which getting this address should be connected to a router and should belong to wider subnet, for example /24.
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1093 Commit: 113a36b Author: Laszlo Kiraly Date: 2021-11-08 22:04:42 +0100 Message: - Add singlepointipam (#1093) Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Signed-off-by: Laszlo Kiraly laszlo.kiraly@est.tech
Description
singlepointipam provides an IPAM server chain element. The server provides IPv4/IPv6 addresses from a given address range and updates the IP context with a new destination address, but the source address is generated once.
Issue link
#951
How Has This Been Tested?
Types of changes