-
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
qfix: Dont exclude subnets from routes #1368
Conversation
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
9670784
to
a9a6f10
Compare
Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com>
bbb24d8
to
b91e051
Compare
var o, b = route.GetPrefixIPNet().Mask.Size() | ||
if o != b { | ||
continue | ||
} |
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.
This seems to only compare the mask sizes between routes... I don't quite follow how this precludes us from including a Connection's routes/srcAddr/dstAddr in the exclude_prefixes for Refresh requests.
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.
as I can see srcAddr/dstAddr is already supported we only without a reason exclude a whole subnet from routes. This patch prevents excluding a subnet from 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.
That will work for now. But we need to be more specific in in the medium term because the routes from other vWires should be included :)
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1368 Commit: d4d43ae Author: Denis Tingaikin Date: 2022-10-12 19:11:51 +0300 Message: - qfix: Dont exclude subnets from routes (#1368) * dont exclude subnets from routes Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> * fix linter Signed-off-by: denis-tingaikin <denis.tingajkin@xored.com> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Signed-off-by: denis-tingaikin denis.tingajkin@xored.com
Description
We shouldn't exclude whole subnets on refresh
Issue link
How Has This Been Tested?
Types of changes