Commit Graph

73 Commits

Author SHA1 Message Date
Viranch Mehta b6c37d500b Merge branch 'main' into fix-multiple-dynamic-zones 2023-09-19 11:14:49 -07:00
Viranch Mehta e92c1079c9 Fix wrong re-use of sources for dynamic zones 2023-09-18 21:16:50 -07:00
Viranch Mehta 0181158953 Include sources only if they exist 2023-09-18 15:31:16 -07:00
Kiran Naidoo b20113e1a9 Fix typo when loading auto-arpa config
Resolved a typo that prevented the auto-arpa configuration options from
loading.
2023-09-14 15:09:02 +01:00
Ross McFarland c64e279dd2 Add support for !include YAML directive 2023-08-19 13:45:01 -07:00
Ross McFarland e48759791c forgot to add shared.yaml test file 2023-08-18 16:35:20 -07:00
Ross McFarland cb28fa0e26 YamlProvider support for shared file, loaded into all zones 2023-08-18 16:20:53 -07:00
Ross McFarland 61d3ed884a More YamlProvider details testing 2023-08-18 07:39:47 -07:00
Ross McFarland 4b4b907584 Testing for manager's use of list_zones for dynamically configured zones 2023-07-28 14:34:50 -07:00
Ross McFarland 92623b1a2c Testing of (Split)YamlProvider.list_zones w/fixes 2023-07-28 14:16:36 -07:00
Ross McFarland da5b7d0d1e Sketch out an option for dynamic zone config 2023-07-21 13:26:29 -07:00
Ross McFarland 80be9e7758 Add dynamic recordA validation to ensure last rule is a catch-all 2023-03-28 19:54:16 -07:00
Ross McFarland bc6a2d8067 working auto-arpa setup 2023-01-19 10:04:39 -08:00
Ross McFarland 6cb81cb15e Support for delaying arpa processing 2023-01-19 08:23:39 -08:00
Ross McFarland 723db157ab Provider.strict_supports=True by default, fix tests that didn't like that 2022-11-15 11:03:08 -08:00
Ross McFarland 0f57e6c63e Implement manager.processors for configuring global processors 2022-09-12 15:28:51 -07:00
Ross McFarland 02e07f4209 Merge remote-tracking branch 'origin/master' into dump-support-output-provider 2022-07-22 16:06:51 -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
Ross McFarland 0d606e0728 dump output_provider testing 2022-04-14 12:50:51 -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 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
Viranch Mehta 49bff426b7 Multi-value PTR records 2021-08-12 21:43:01 -07:00
Brian E Clow 9be1195d47 SplitYAML testing 2021-07-22 14:32:09 -07:00
Brian E Clow c5efba89fe Adding yaml support and testing for URLFWD 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 e90aeb5d34 pools used as fallbacks should count as seen 2021-04-22 18:45:14 -07:00
Christian Funkhouser 2075550f07 Test that Manager passes fh to _PlanOutputs 2021-04-07 18:21:34 -04:00
Ross McFarland 5e1f653848 Merge remote-tracking branch 'origin/master' into srv_null_records 2021-02-18 07:52:47 -08:00
Mark Tearle 45d5da23cf Add NULL SRV record examples to unit tests 2021-02-15 21:24:53 +08:00
Mark Tearle 9d4bd0aaec Add support for LOC records 2021-02-09 20:41:37 +08:00
Ross McFarland 4ce2563d2e Remove the rest of the . ending files, clean up code and tests for better coverage 2021-01-28 13:24:35 -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 b0da090723 Add test for alias zones 2020-10-31 14:09:54 +01:00
Jonathan Leroy 04a2d7a585 Merge branch 'master' into zones-aliases 2020-10-28 16:24:40 +01:00
Jonathan Leroy eec4c4f81c Remove support for dynamic DNAME records as no provider currently
support them
2020-10-27 20:31:57 +01:00
Jonathan Leroy de51e5f531 Add support for DNAME records 2020-10-26 22:18:35 +01: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 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.
2020-08-03 00:47:22 +02:00
Ross McFarland aa58631dcd Validate dynamic rules do not reuse pools 2020-03-20 13:15:14 -07:00
Ross McFarland 41dd72f1fb Merge remote-tracking branch 'origin/master' into overriding-yaml-provider 2020-01-06 13:41:27 -08:00
Ross McFarland db8de8acb8 Fix Manager ordering assumptions 2019-10-07 08:41:28 -07:00
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.
2019-07-16 06:14:45 -07:00
Ross McFarland 135f826b7e Add OverridingYamlProvider and tests 2019-04-27 15:08:09 -07:00
Christian Funkhouser ceece68de8 Persist empty. zone
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 13:59:45 -04:00