You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IPAM service should be idempotent, so if we have allocated some IP addresses for the request and request type (p2p,
subnet) hasn't changed, and allocated addresses are still not excluded by the excluded prefixes, we should return the
same addresses for the same connection.
Current Behavior
When NSE1 is replaced with NSE2 with another CIDR, NSE2 with polity ipam policy adds (not replaces) new ip addrs in ipcontext for: src_ip_addrs, dst_ip_addrs, src_routes:prefix, dst_routes:prefix
In the result client contains old ip addr in interface(expected), but also get routes configured and working connection for the addr form the new NSE's CIDR
Note: the issue has been reproduced with dual-stack NSE2 and 2 clients, but looks like it is not required to have 2 clients and just having new ipv4 CIDR on NSE2 and 1 client with default point2point IPAM will be required to reproduce the issue.
Expected Behavior
From point2point ipam Readme:
Current Behavior
When NSE1 is replaced with NSE2 with another CIDR, NSE2 with polity ipam policy adds (not replaces) new ip addrs in ipcontext for: src_ip_addrs, dst_ip_addrs, src_routes:prefix, dst_routes:prefix
In the result client contains old ip addr in interface(expected), but also get routes configured and working connection for the addr form the new NSE's CIDR
Steps to Reproduce
NSE1 config:
NSE2 config:
Note: the issue has been reproduced with dual-stack NSE2 and 2 clients, but looks like it is not required to have 2 clients and just having new ipv4 CIDR on NSE2 and 1 client with default point2point IPAM will be required to reproduce the issue.
Unexpected to have route from NSE2 CIDR since client doesn't have interface for it and it is not expected. But it is also can be pinged successfully.
Context
Failure Logs
point2point.zip
The text was updated successfully, but these errors were encountered: