Skip to content
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

dhcp: migrate leases to be scope scoped instead of global #1304

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

give highest priority to clientIP address

412313a
Select commit
Loading
Failed to load commit list.
Open

dhcp: migrate leases to be scope scoped instead of global #1304

give highest priority to clientIP address
412313a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Nov 25, 2024 in 1s

48.11% of diff hit (target 61.15%)

View this Pull Request on Codecov

48.11% of diff hit (target 61.15%)

Annotations

Check warning on line 13 in cmd/cli/cli_health.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/cli/cli_health.go#L13

Added line #L13 was not covered by tests

Check warning on line 44 in pkg/extconfig/log.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/extconfig/log.go#L43-L44

Added lines #L43 - L44 were not covered by tests

Check warning on line 30 in pkg/instance/api_instance.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/instance/api_instance.go#L29-L30

Added lines #L29 - L30 were not covered by tests

Check warning on line 54 in pkg/roles/dhcp/api_leases.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/api_leases.go#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 174 in pkg/roles/dhcp/api_leases.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/api_leases.go#L164-L174

Added lines #L164 - L174 were not covered by tests

Check warning on line 180 in pkg/roles/dhcp/api_leases.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/api_leases.go#L176-L180

Added lines #L176 - L180 were not covered by tests

Check warning on line 195 in pkg/roles/dhcp/api_leases.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/api_leases.go#L182-L195

Added lines #L182 - L195 were not covered by tests

Check warning on line 197 in pkg/roles/dhcp/api_leases.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/api_leases.go#L197

Added line #L197 was not covered by tests

Check warning on line 86 in pkg/roles/dhcp/api_scopes.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/api_scopes.go#L85-L86

Added lines #L85 - L86 were not covered by tests

Check warning on line 22 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L15-L22

Added lines #L15 - L22 were not covered by tests

Check warning on line 30 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L24-L30

Added lines #L24 - L30 were not covered by tests

Check warning on line 39 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L32-L39

Added lines #L32 - L39 were not covered by tests

Check warning on line 59 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L44-L59

Added lines #L44 - L59 were not covered by tests

Check warning on line 67 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L61-L67

Added lines #L61 - L67 were not covered by tests

Check warning on line 71 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L69-L71

Added lines #L69 - L71 were not covered by tests

Check warning on line 89 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L77-L89

Added lines #L77 - L89 were not covered by tests

Check warning on line 119 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L91-L119

Added lines #L91 - L119 were not covered by tests

Check warning on line 121 in pkg/roles/dhcp/role_migrations.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/role_migrations.go#L121

Added line #L121 was not covered by tests

Check warning on line 25 in pkg/roles/dhcp/scope_selector.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/scope_selector.go#L22-L25

Added lines #L22 - L25 were not covered by tests

Check warning on line 175 in pkg/roles/dhcp/scopes.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/scopes.go#L175

Added line #L175 was not covered by tests

Check warning on line 182 in pkg/roles/dhcp/scopes.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/scopes.go#L181-L182

Added lines #L181 - L182 were not covered by tests

Check warning on line 199 in pkg/roles/dhcp/scopes.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/scopes.go#L195-L199

Added lines #L195 - L199 were not covered by tests

Check warning on line 224 in pkg/roles/dhcp/scopes.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/scopes.go#L221-L224

Added lines #L221 - L224 were not covered by tests

Check warning on line 27 in pkg/roles/dhcp/scopes_watch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/scopes_watch.go#L26-L27

Added lines #L26 - L27 were not covered by tests

Check warning on line 33 in pkg/roles/dhcp/scopes_watch.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/roles/dhcp/scopes_watch.go#L33

Added line #L33 was not covered by tests