Ross McFarland
bc6a2d8067
working auto-arpa setup
3 years ago
Ross McFarland
6cb81cb15e
Support for delaying arpa processing
3 years ago
Ross McFarland
723db157ab
Provider.strict_supports=True by default, fix tests that didn't like that
3 years ago
Ross McFarland
1f2bb8860a
Revert "WIP/expiriments with auto-arpa"
This reverts commit 8b82159ee0 .
3 years ago
Ross McFarland
8b82159ee0
WIP/expiriments with auto-arpa
3 years ago
Ross McFarland
0f57e6c63e
Implement manager.processors for configuring global processors
3 years ago
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.
4 years ago
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.
4 years ago
Ross McFarland
0d606e0728
dump output_provider testing
4 years ago
Ross McFarland
633aef5845
Manager prints provider, processor, and plan_output versions for non-core modules when available
4 years ago
Ross McFarland
02296652ca
WIP: Backing out a more test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
4 years ago
Ross McFarland
adb01a982c
WIP: Backing out a lot of test churn now that YamlProvider has SUPPORTS_ROOT_NS flag
4 years ago
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.
4 years ago
Ross McFarland
5215930109
Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests
4 years ago
Viranch Mehta
49bff426b7
Multi-value PTR records
4 years ago
Brian E Clow
9be1195d47
SplitYAML testing
5 years ago
Brian E Clow
c5efba89fe
Adding yaml support and testing for URLFWD
5 years ago
Ross McFarland
c3f0bf677a
Validate processor config sections
5 years ago
Ross McFarland
716d068196
Backwards compat for plan overrides, 100% manager coverage, singular processor module name
5 years ago
Ross McFarland
e90aeb5d34
pools used as fallbacks should count as seen
5 years ago
Christian Funkhouser
2075550f07
Test that Manager passes fh to _PlanOutputs
5 years ago
Mark Tearle
45d5da23cf
Add NULL SRV record examples to unit tests
5 years ago
Mark Tearle
9d4bd0aaec
Add support for LOC records
5 years ago
Ross McFarland
4ce2563d2e
Remove the rest of the . ending files, clean up code and tests for better coverage
5 years ago
Jonathan Leroy
2d4855508c
Check that an alias zone source is not an alias zone
5 years ago
Jonathan Leroy
b0da090723
Add test for alias zones
5 years ago
Jonathan Leroy
eec4c4f81c
Remove support for dynamic DNAME records as no provider currently
support them
5 years ago
Jonathan Leroy
de51e5f531
Add support for DNAME records
5 years ago
Jonathan Leroy
f2a6f870b4
Make each alias zone reference its target zone instead of listing all
aliases zones in the target zone configuration
5 years ago
Jonathan Leroy
7bf0b31367
Revert "Add support for zones aliases"
This reverts commit b926d78c5c .
5 years ago
Jonathan Leroy
b926d78c5c
Add support for zones aliases
This commit adds support for zones aliases. This allows to define one or
multiple zone as aliases of an existing zone without using workarounds
like simlinks and miltiple "zones" entries in the configuration file.
An alias zone is share all of its content with it parent zone, only the
name of the zone is different.
```
zones:
example.com.:
aliases:
- example.net.
- example.org.
sources:
- in
targets:
- out
```
Known issues:
- No documentation,
- Only the `octodns-sync` and `octodns-validate` commands supports
aliases zones at this time,
I added a loop in the manager init function which convert all alias
zone to "real" ones during config validation, however I'm not sure
this is the right approach. Comments welcome.
5 years ago
Ross McFarland
aa58631dcd
Validate dynamic rules do not reuse pools
6 years ago
Ross McFarland
db8de8acb8
Fix Manager ordering assumptions
6 years ago
Ross McFarland
003e8651ce
Drop dynamic record value weight to 0-16
That's all Dyn supports and it's cleaner to match it than to scale dyn since
we'd lose precision we can't get back during populate.
7 years ago
Ross McFarland
135f826b7e
Add OverridingYamlProvider and tests
7 years ago
Christian Funkhouser
ceece68de8
Persist empty. zone
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
98dacd2dde
Add proper tests for SplitYamlProvider
The SplitYamlProvider itself now requires a directory matching the
zone name under its directory to contain all YAML files. This doesn't
actually change the intended usage at all, just how the configuration
file is laid out.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Christian Funkhouser
8639bc0af5
Actually fix tests, include YAML
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
7 years ago
Ross McFarland
f1d5808ddc
Heh, apparently there were some invalid Geo codes in tests
7 years ago
Ross McFarland
ccd9038a38
Impliment Dynamic rule geo validation
7 years ago
Ross McFarland
e16648ab1f
Progress towards fully fleshed out pools & rules
7 years ago
Ross McFarland
b650013ccb
Add a AAAA dyanmic.tests example, comments
7 years ago
Ross McFarland
0e0e995436
AaaaRecord and CnameRecord should implement _DynamicMixin, fix validate params
7 years ago
Ross McFarland
70c35aac26
WIP implementation of dyanmic pools & rules validation
7 years ago
Ross McFarland
2829862ea5
Major refactoring of record validation to better support (planned) complex/dynamic record types
7 years ago
Ross McFarland
c41824c3e9
Better weighting support
7 years ago
Ross McFarland
92b025fe1a
Support for weights of pools
7 years ago
Ross McFarland
9d45386f4d
Sketch of new dynamic record config in unit.tests.
7 years ago
Ross McFarland
3d0f5aeca0
Config-based plan_output
Refactors the provider class lookup and kwarg processing so that it can be
reused for plan_output.
8 years ago
Paul van Brouwershaven
4b41762642
Use target.id instead of class name
8 years ago