Ross McFarland
9f58b8e482
Record.octodns formalized, Record._octodns deprecated
...
Both point to the same thing via properties
2024-02-10 20:14:08 -05:00
Ross McFarland
b148a4c716
Add test_records_have_rdata_methods, implement them for URLFWD
2024-01-23 13:45:42 -08:00
Ross McFarland
f1c7102f23
Merge remote-tracking branch 'origin/main' into validate-values-not-string
2024-01-15 16:05:36 -08:00
Ross McFarland
c04a320cfd
Treat value/values interchangably when configuring records
...
- All of the `if data isn't a list turn it into one in the value type
validates are no longer needed, they'll always be passed a list now`
- Special case to handle PTR/target values since it previously was
single value and is now values
See README for more information
2024-01-15 16:02:35 -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
Ross McFarland
3beab65e8b
Add Record.values not a single string validation
2024-01-11 09:43:58 -08:00
Ross McFarland
87051ea315
Merge branch 'main' into list_zones_for_autoarpa
2024-01-11 09:07:13 -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
119de9b421
Add ASCII validation to ChunkedValue, TXT/SPF
2024-01-03 08:42:17 -08:00
Ross McFarland
d35022b9dc
Merge branch 'main' into checksumming
2023-12-22 09:30:34 -08:00
Ross McFarland
98a1175399
Update tests/test_octodns_manager.py
2023-12-13 08:25:00 -08:00
Ross McFarland
9e1aa7b8ed
Apply suggestions from code review
2023-12-13 08:22:28 -08:00
Alizey Jalil
dc4addc837
Removed the specific config file used missing zone test use case
2023-12-13 21:22:16 +05:30
Alizey Jalil
a2a502987e
Added test for missing zone
2023-12-13 21:22:16 +05:30
Alizey Jalil
c816fe7af0
Added test for missing zone file
2023-12-13 21:22:16 +05:30
Ross McFarland
780fa2a24b
Add support for checksum matching
2023-12-11 13:27:49 -08: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
4c09f4bc71
Support for nested config env variable expansion
2023-12-05 10:29:49 -08:00
Ross McFarland
b0b330f1d1
Merge branch 'main' into fix-meta-target
2023-12-01 11:52:33 -08:00
Ross McFarland
0f582de47b
Merge branch 'main' into process-source-and-target-zones
2023-12-01 11:47:02 -08:00
Ross McFarland
523a188e1d
explicit test for values and value
2023-12-01 10:46:58 -08:00
Ross McFarland
cb09b590e7
ValueMixin._data always includes 'value'
2023-11-29 14:21:14 -08:00
Ross McFarland
5568dc6be1
Add Processor.process_source_and_target_zones
2023-11-29 14:08:19 -08:00
Ross McFarland
1a5c9a2c5e
Flip ValuesMixin._values logic to handle/have key in all cases
2023-11-29 14:03:22 -08:00
Ross McFarland
6f6cb79854
Fix bug with Record.copy when values is an empty list []
2023-11-29 13:56:48 -08:00
Ross McFarland
5b6b53bca0
modify desired, not existing
2023-11-28 16:28:22 -08:00
Ross McFarland
03f37e3ae9
Fix bug with Record.copy when values is an empty list []
2023-11-28 16:27:02 -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
139e73cfd0
Merge branch 'main' into record-data-octodns
2023-11-27 14:15:03 -08:00
Ross McFarland
0332b34f72
deprecation.deprecated, use official mechinism for deprecations
2023-11-22 18:06:10 -08:00
Ross McFarland
65e87d0a46
Fixed Record.data, now includes the octodns special section data
2023-11-13 09:00:05 -08:00
Ross McFarland
d2baf6db8f
Prefer __version__ over __VERSION__ internally, fallback when referencing modules
2023-11-12 15:46:28 -08:00
Ross McFarland
3e874c5a1d
Merge branch 'main' into processor-filter-target-optional
2023-11-12 14:49:32 -08:00
Ross McFarland
6cd933a834
Add include_target option to most processor.filter processors
2023-11-10 16:57:01 -08:00
Ross McFarland
4f152c187e
Merge remote-tracking branch 'origin/main' into filter-net
2023-11-10 16:08:04 -08:00
Ross McFarland
e9cdacdd13
Include octodns special section in record __repr__
2023-11-10 16:01:14 -08:00
Solvik Blum
abdab8f6d8
fix lint
2023-11-10 15:28:01 +01:00
Solvik Blum
3ed7a88e34
add test to cover CIDR validation in config for filters
2023-11-10 13:58:08 +01:00
Solvik Blum
f9cb31b602
add a txt in tests so we can see the filter effectively only handles A/AAAA
2023-11-09 19:21:47 +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
ded53023e7
add support for chunked values to ValuesMixin.rrs
2023-10-15 13:23:57 -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
Viranch Mehta
55a535d0f0
Merge branch 'main' into mixed-subnets
2023-09-25 14:35:15 -07:00
Ross McFarland
bca8db6c8f
parse_rdata_text supports unquoting things (powerdns)
2023-09-25 12:59:51 -07:00
Ross McFarland
76e330a7c3
Add source parameter to Record.from_rrs
2023-09-25 12:26:59 -07:00
Viranch Mehta
63c5118bcd
Fix validation for dynamic records with IPv4+IPv6 subnets
2023-09-24 23:27:35 -07:00