-
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
Generate random kernel interface names #1590
Generate random kernel interface names #1590
Conversation
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
a038a20
to
ec17f46
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1590 +/- ##
=======================================
Coverage ? 67.35%
=======================================
Files ? 262
Lines ? 12450
Branches ? 0
=======================================
Hits ? 8386
Misses ? 3540
Partials ? 524 ☔ View full report in Codecov by Sentry. |
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.
In general, LGTM
Please add more info for folks in the comments about algorithm guarantees. Also, let's do cover warnings from the codecov job.
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
…k@main PR link: networkservicemesh/sdk#1590 Commit: f5e9a5c Author: Nikita Skrynnik Date: 2024-03-21 16:48:16 +0700 Message: - Generate random kernel interface names (#1590) * Generate kernel interface name Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix linter issues + move the generator to tools folder Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * cleanup + fix some tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * rerun CI Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments + add more code coverage with tests Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix golang linter issues Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> * fix review comments Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com> --------- Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
Description
Generate random kernel interface names of a form
nsm############
where#
is a random character.Issue link
#1589
How Has This Been Tested?
Types of changes