DHCP scopes store a host-name conflict policy #187
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
lantea-one/ninlil#187
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
See #186.
DhcpScopeEntity(src/dotnet/src/Ninlil.Dhcp.Data.Abstractions/Entity/DhcpScopeEntity.cs) has no such field.What changes
DhcpHostNameConflictPolicyEnum { Refuse = 0, AppendSuffix = 1 }insrc/dotnet/src/Ninlil.Dhcp.Data.Abstractions/Enum/(next toDhcpScopeKindEnum), with a summary per member.DhcpScopeEntity.HostNameConflictPolicy, defaultRefuse, and its configuration insrc/dotnet/src/Ninlil.Dns.Data.EntityFrameworkCore/Configuration/(stored as the provider's usual enum form, default 0 for existing rows).AddDhcpScopeHostNameConflictPolicy), converted withsrc/script/development/file-scoped-namespaces.sh.AutoMap()picks the property up; a document without it reads asRefuse. Check whether an older build fails on the extra element (MongoClassMapRegistrar.cs,IgnoreExtraElements) or on value 1; add aMongoSchemaSteps.Knownstep if it would misread.Ninlil.Dns.Server.Backup/Catalog/BackupEntityCatalog.cs) carries the new column without a change.Acceptance
src/dotnet/tests/Ninlil.Dns.Data.Integration.Tests: a scope saved withAppendSuffixreads back with it on every engine (SQLite without Docker, the restRequiresDocker); fails first.Refuseafter the migration (SQLite test on a migrated database with a row inserted before).src/dotnet/tests/Ninlil.Dhcp.Data.EntityFrameworkCore.Testspasses. Build 0 warnings.Source
#186.