Ross McFarland
18ee70ddb5
Fix issue when subzone is a non-dotted endswith for zone
2022-08-11 09:10:56 -07:00
Ross McFarland
af010121ea
Do away with zone_tree, not a tree and unnecessary now
2022-08-11 08:58:40 -07:00
Ross McFarland
6a1b86af6f
Rework configured_sub_zones and add tests specifically for it
2022-08-11 07:50:32 -07:00
Ross McFarland
6e5c7a8b70
Add failing tests of subzone handling
2022-08-11 06:18:05 -07:00
Ross McFarland
02e07f4209
Merge remote-tracking branch 'origin/master' into dump-support-output-provider
2022-07-22 16:06:51 -07:00
Ross McFarland
e116d26eec
Implement black formatting
2022-07-04 12:27:39 -07:00
Sachi King
04be906c3c
Add test to validate non-dotted subdomain zones are vaild
...
This confirms that in addition to the recently added support for dotted
subdomains that subdomains that are not dotted are supported. From
RFC1034 Section 3.5 this would be a <subdomain> that contains a single
<label> without <subdomain> recurring.
2022-06-27 10:56:20 +10:00
Sachi King
e299ceced2
Prepare tests with failing "managed subzone" error
...
The is not a zone between delegated.subzone.unit.tests. and unit.tests.,
however we get a delegated subzone error. This modifies the tests to
succeed with the added record, however the tests fail as it incorrectly
throws the managed subzone error.
Change the name of delegated.subzone, and the tests will pass cleanly.
2022-06-23 19:22:15 +10:00
Kian-Meng Ang
04b7bf0ac2
Fix typos
2022-05-29 13:16:01 +08:00
Ross McFarland
0d606e0728
dump output_provider testing
2022-04-14 12:50:51 -07:00
Ross McFarland
17c294042f
Implement a sketch of --output-provider support for dump
2022-04-14 10:19:33 -07:00
Ross McFarland
66958f7c21
Manager._try_version with 3.7 noop (for now)
2022-03-28 13:33:32 -07:00
Ross McFarland
633aef5845
Manager prints provider, processor, and plan_output versions for non-core modules when available
2022-03-25 20:03:42 -07:00
Ross McFarland
14fc137788
Use Zone.root_ns to avoid lookping/searching
2022-02-16 15:46:46 -08:00
Ross McFarland
02296652ca
WIP: Backing out a more test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
2022-02-16 15:23:55 -08:00
Ross McFarland
adb01a982c
WIP: Backing out a lot of test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
2022-02-16 15:00:21 -08:00
Ross McFarland
f43833e9bb
Make YamlProvider.SUPPORTS_ROOT_NS configurable, default True
...
This will result in less churn in tests for root NS support and allow us
to enable/disable things easily as needed.
2022-02-16 14:38:10 -08:00
Ross McFarland
5215930109
Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests
2022-02-10 14:51:01 -08:00
Ross McFarland
33a10eada4
Base support for managing root NS records
...
* Zone object no longer treats them special, some tests needed adjusting
b/c of this, some provider's tests may also need adjusting, though
they should not plan changes since they won't (yet) have
SUPPORTS_ROOT_NS
* _process_desired_zone filters and warns when not supported
* YamlProvider supports them
* TinyDnsBaseSource supports them
2022-02-08 10:26:49 -08:00
Ross McFarland
e0a5f4d746
Rework _AggregateTarget to dynamically handle SUPPORTS
2022-02-08 09:31:42 -08:00
Ross McFarland
e25b618e95
Initial pass at script/update-requirements, results of run
2022-01-26 17:47:31 -08:00
Ross McFarland
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
2022-01-13 10:58:07 -08:00
Ross McFarland
aae65594f2
Remove explicit use of six
2021-09-17 07:10:07 -07:00
Ross McFarland
8c04508a86
Implement & test Zone.copy (shallow) and utilize it in processors
2021-08-21 10:11:23 -07:00
Brian E Clow
f4caa35caa
Ignoring URLFWD and adjusting test counts for other providers
2021-07-22 14:32:09 -07:00
Ross McFarland
c3f0bf677a
Validate processor config sections
2021-06-23 18:49:19 -07:00
Ross McFarland
716d068196
Backwards compat for plan overrides, 100% manager coverage, singular processor module name
2021-04-27 06:45:18 -07:00
Ross McFarland
395a5c7054
Merge remote-tracking branch 'origin' into processors
2021-04-26 18:16:58 -07:00
Christian Funkhouser
55c194c203
Update tests/test_octodns_manager.py
...
Co-authored-by: Ross McFarland <ross@github.com >
2021-04-08 09:40:04 -04:00
Christian Funkhouser
2075550f07
Test that Manager passes fh to _PlanOutputs
2021-04-07 18:21:34 -04:00
Ross McFarland
236615fdd5
Merge branch 'master' into processors
2021-03-11 17:43:56 -08:00
Ross McFarland
5e1f653848
Merge remote-tracking branch 'origin/master' into srv_null_records
2021-02-18 07:52:47 -08:00
Mark Tearle
5d23977bbd
Adjust remaining unit tests due to extra records in test zone
2021-02-15 22:46:22 +08:00
Mark Tearle
9d4bd0aaec
Add support for LOC records
2021-02-09 20:41:37 +08:00
Marc 'risson' Schmitt
2b454ccc22
manager: error when an alias zone is synced without its source
...
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space >
2020-12-17 15:23:22 +01:00
Ross McFarland
a7bb6a306c
Remove corresponding nbsp's from manager tests
2020-12-10 08:39:31 -08:00
Ross McFarland
e4d6084b4c
POC of processors concept that can hook in to modify zones
2020-12-03 17:50:56 -08:00
Jonathan Leroy
2d4855508c
Check that an alias zone source is not an alias zone
2020-11-01 23:58:40 +01:00
Jonathan Leroy
9a4812223e
Add missing empty line
2020-10-31 20:19:09 +01:00
Jonathan Leroy
038ae42284
Add comments and fixes some tests
2020-10-31 20:16:26 +01:00
Jonathan Leroy
a6d8848fad
Fixes linting issues
2020-10-31 14:19:43 +01:00
Jonathan Leroy
b0da090723
Add test for alias zones
2020-10-31 14:09:54 +01:00
Jonathan Leroy
4fb102e4be
Fixes tests related to _populate_and_plan()
2020-10-31 09:44:06 +01:00
Jonathan Leroy
04a2d7a585
Merge branch 'master' into zones-aliases
2020-10-28 16:24:40 +01:00
Jonathan Leroy
de51e5f531
Add support for DNAME records
2020-10-26 22:18:35 +01:00
Jonathan Leroy
897a033443
Add tests for Manager.get_zones()
2020-10-21 20:02:12 +02:00
Jonathan Leroy
f2a6f870b4
Make each alias zone reference its target zone instead of listing all
...
aliases zones in the target zone configuration
2020-10-20 22:18:48 +02:00
Jonathan Leroy
7bf0b31367
Revert "Add support for zones aliases"
...
This reverts commit b926d78c5c .
2020-10-20 19:54:35 +02:00
Jonathan Leroy
2cc91ead71
Merge branch 'master' into zones-aliases
2020-10-20 19:51:56 +02:00
Guillaume Gelin
31105cc472
Implement octodns-sync --source
...
It can be useful to only synchronize zones that use a certain source. For
example, in a situation where some zones use a dynamic source and others don't,
you probably want to synchronize those with a dynamic source regularly, and
only synchronize the others when a change is made.
Although we only synchronize the zones that use a given source, we still want
to synchronize all sources to avoid deleting records that would live in another
source of the zone.
2020-08-27 16:16:24 +02:00