SaltDns. Import. Report
(Salt v1.0.0)
The result of SaltDns.Import.plan/4: what an import would do and what it
left out, for a dry-run screen or API response.
ops- theSaltDns.Zones.apply_batch/3operationschanges- the record changes those operations cause (SaltDns.Zones.Diff)managed- dropped records Salt DNS manages:%{name, type, ttl, rdata, reason}withreason:system(SOA, DNSSEC) or:apex_nsunsupported- dropped types:%{name, type, ttl, count}rejected- records or rrsets refused, witherrors(SaltDns.Zones.Error)conflicts- the rejected rrsets that only a record set already in the zone blocks (a CNAME where the zone has other data at that name, or the other way round):%{name, type, ttl, count, delete: [%{name, type}]}. The operator can choose to replace those rrsets (:replaceon the next plan) and the whole import then applies in one batch.warnings- TTL adjustments:%{name, type, code, message}summary- the diff preview in rrset terms: how many rrsets the import adds, replaces (same name and type, other data or TTL), leaves unchanged, and - in:replacemode - removescounts-operationsis the number of write operations;read = managed + unsupported + rejected + accepted_records + duplicates(duplicates are repeated records, which a transfer client must ignore)
Summary
Types
@type t() :: %SaltDns.Import.Report{ changes: [SaltDns.Zones.Change.t()], conflicts: [map()], counts: map(), managed: [map()], mode: :merge | :replace, ops: [SaltDns.Zones.Plan.op()], rejected: [map()], summary: %{ add: non_neg_integer(), replace: non_neg_integer(), remove: non_neg_integer(), unchanged: non_neg_integer() }, unsupported: [map()], warnings: [map()], zone: String.t() | nil }