91 Commits

Author SHA1 Message Date
Ross McFarland 47fd435bb7 Merge branch 'main' into ensure-trailing-dots-fix 2024-04-29 14:35:10 -07:00
William Gauthier b15e04380d Use the TTL value of the first ordered FQDN 2024-04-28 21:33:42 +02:00
Ross McFarland 6991786cc5 Fix for EnsureTrailingDots reverting value types back to strings 2024-04-26 16:01:42 -07:00
William Gauthier a948b8233e AutoArpa: Add an optional inherit_ttl option 2024-04-26 17:07:58 +02:00
Ross McFarland 16a6bb4f8a Remove duplicative sort and add a more robust test. 2024-04-18 08:08:00 -07:00
Ross McFarland a84ad6fe44 Fix auto arpa formatting 2024-04-18 08:06:06 -07:00
William Gauthier aa85f7e533 Added suggestions from comments 2024-04-18 16:46:52 +02:00
William Gauthier f26b7c1a43 Make things unique in populate instead of process_source_zone 2024-04-17 22:39:27 +02:00
William Gauthier 79b2a25684 Add a priority option to AutoArpa 2024-04-17 19:33:25 +02:00
Ross McFarland a48881beb4 pass at adding a processor that adds missing trailing dots 2024-03-07 12:50:59 -08:00
Nullreff 5d62a8c9ca Re-add allowlist and reject list for value filter 2024-01-23 23:53:37 -08:00
Nullreff 7a5512f601 Remove redundant code and use rdata_text 2024-01-15 06:02:48 -08:00
Nullreff e9d8b02365 Add filters for checking record values
Create two new filters, ValueAllowlistFilter and ValueRejectlistFilter
that allow checing the value(s) of records to include or exclude,
similar to the name filters that alread exist
2024-01-14 16:45:29 -08:00
Martin Frausing 68e1178ac7 Add list_zones to AutoArpa
- This makes it possible to use dynamic zone config with AutoArpa
- Document what gotchas that entails
- Add tests both with another source (for generating zones to populate) and without (no zones to populate)
2024-01-05 13:59:49 +01:00
Ross McFarland d85c925ebf Greatly simplify MetaProcessor and (more) thoroughly test it 2023-12-07 13:02:46 -08:00
Ross McFarland b8dab67d6a Fix bug in MetaProcessor up to date record check 2023-12-07 07:41:40 -08:00
Ross McFarland 5b6b53bca0 modify desired, not existing 2023-11-28 16:28:22 -08:00
Ross McFarland e612e2b885 Fix MetaProcessor/Manager.include_meta where include_provider 2023-11-28 16:00:23 -08:00
Ross McFarland 93a00f12a9 Add Processor.process_source_and_target_zones 2023-11-28 15:42:53 -08:00
Ross McFarland f776fc6e65 essentially ditch stacklevel/context for deprecation of config thigns (it's not useful) 2023-11-26 13:21:02 -08:00
Ross McFarland 4b73ea6bb4 Merge branch 'main' into formalize-deprecation 2023-11-26 13:14:06 -08:00
Ross McFarland e03adfceda Address datetime.utcnow deprecation in py 3.12 2023-11-22 18:31:52 -08:00
Ross McFarland 0332b34f72 deprecation.deprecated, use official mechinism for deprecations 2023-11-22 18:06:10 -08:00
Ross McFarland 7be540b86c Record.lenient property added similar to other common/standard _octodns data 2023-11-14 14:19:14 -08:00
Ross McFarland 344bc2de5f Remove stale script/sdist script 2023-11-12 15:45:43 -08:00
Ross McFarland 3e874c5a1d Merge branch 'main' into processor-filter-target-optional 2023-11-12 14:49:32 -08:00
Ross McFarland de3ec8e094 Move _NetworkValueBaseFilter down with it's children 2023-11-10 17:02:20 -08:00
Ross McFarland be5d28dc56 doc new include_target filter prarams 2023-11-10 17:00:24 -08:00
Ross McFarland 6cd933a834 Add include_target option to most processor.filter processors 2023-11-10 16:57:01 -08:00
Ross McFarland fa56dfaffd fix minor formatting failure 2023-11-09 11:34:16 -08:00
Solvik Blum 010e5039cc add mention to docstring that the NetworkValue filters won't touch anything except A/AAAA 2023-11-09 19:21:48 +01:00
Solvik 354b8c2967 do not recreate the ip list for each network test
Co-authored-by: Ross McFarland <rwmcfa1@gmail.com>
2023-11-09 17:47:55 +01:00
Solvik Blum f5fd68bb7e add NetworkValueRejectlistFilter and NetworkValueAllowlistFilter processors 2023-11-09 15:24:03 +01:00
Ross McFarland 1b293253d9 ExcludeRootNsChanges added w/tests 2023-10-31 18:56:59 -07:00
Ross McFarland e6ad64f25f ZoneNameFilter error defaults to True 2023-10-06 16:16:48 -07:00
Ross McFarland da818d12e4 ZoneNameFilter to error/ignore when record names end with the zone name 2023-10-06 16:14:38 -07:00
Ross McFarland eec7cadb86 refactor filter based processors to pull out shared logic 2023-10-06 15:10:47 -07:00
Ross McFarland 4dca7c18cc Merge remote-tracking branch 'origin/main' into meta-processor 2023-09-10 14:46:17 -07:00
Ross McFarland c0382c3043 Add MetaProcessor documentation 2023-09-10 14:07:28 -07:00
Ross McFarland 00cbf2e136 processor should use id not name 2023-09-10 12:49:11 -07:00
Ross McFarland e61363b910 Need to add the meta record with lenient in case it's temp empty values 2023-09-10 12:48:12 -07:00
Ross McFarland 3343c4ba51 MetaProcessor implementation and testing 2023-09-10 12:30:26 -07:00
Ross McFarland e8a88ac520 Deprecate SpfDnsLookupProcessor 2023-09-09 14:46:55 -07:00
Ross McFarland 2a99bd922f Always add ownership flatting records with lenient=True
This is intened to address cases where NS delegation ownership records
are added to the parent zone when they technically should live in the
delegated child. They're only used as ~metadata so this is fine, so long
as the provider supports it.
2023-06-20 07:41:38 -07:00
Nathan Tat 7e931080f4 Pass lenient through to arpa processor 2023-05-30 18:14:36 -07:00
Ross McFarland 8ec75dc194 fix issue in OwnershipProcessor when last change is removed 2023-04-17 10:39:07 -07:00
Ross McFarland 4ff5b2fd9c Merge remote-tracking branch 'origin/main' into je/arpa-matching-fix 2023-02-27 09:58:31 -08:00
Ross McFarland c67d44fc8a AutoArpa.replace -> populate_should_replace to match YamlProvider 2023-02-27 09:12:21 -08:00
Jeff Engleman 5d9c8d878a prepend zone_name with . to ensure it matches on address boundary 2023-02-24 16:12:36 -05:00
Ross McFarland 074be92428 Add replace param to AutoArpa processor/provider 2023-02-20 13:32:04 -08:00