Commit Graph
718 Commits
Author SHA1 Message Date
Christian Funkhouser ceece68de8 Persist empty. zone
Signed-off-by: Christian Funkhouser <[email protected]>
2019-04-08 13:59:45 -04:00
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 <[email protected]>
2019-04-08 13:59:45 -04:00
Christian Funkhouser 1d9553b93a Appease the linter.
Signed-off-by: Christian Funkhouser <[email protected]>
2019-04-08 13:59:45 -04:00
Christian Funkhouser 8639bc0af5 Actually fix tests, include YAML
Signed-off-by: Christian Funkhouser <[email protected]>
2019-04-08 13:59:45 -04:00
Christian Funkhouser ee133b3ac1 Fix tests
Signed-off-by: Christian Funkhouser <[email protected]>
2019-04-08 13:59:45 -04:00
Christian Funkhouser 3bc0e0ad3e File load success is too verbose
Signed-off-by: Christian Funkhouser <[email protected]>
2019-04-08 13:59:44 -04:00
Christian Funkhouser 81d9c083fc Add --split flag to dump
Signed-off-by: Christian Funkhouser <[email protected]>
2019-04-08 13:59:44 -04:00
Christian Funkhouser ffc4e2f957 Add SplitYamlProvider
SplitYamlProvider extends and behaves similarly to YamlProvider, but
organizes the zone in multiple files by record, insteat of in a
monolithic YAML file.

YamlProvider has been slightly modified to make its extension easier.

Signed-off-by: Christian Funkhouser <[email protected]>
2019-04-08 13:59:44 -04:00
Ross McFarland 168f0725a3 Merge pull request #337 from PeterDaveHello/normalize-mx-exchange
Normalize MX exchange to lower-case, fix #322
2019-04-06 09:42:57 -07:00
Ross McFarland 169a678d10 Merge branch 'master' into normalize-mx-exchange 2019-04-06 09:13:45 -07:00
Ross McFarland 5d8a7cff31 Merge pull request #331 from omarkilani/azuredns-updates
AzureProvider: update for azure-mgmt-dns 2.1.0 and add support for CAA records.
2019-04-06 09:11:50 -07:00
Ross McFarland 2b152759b8 Merge branch 'master' into azuredns-updates 2019-04-06 09:06:11 -07:00
Ross McFarland ed48f89491 Merge branch 'master' into normalize-mx-exchange 2019-04-06 09:05:30 -07:00
Ross McFarland 21440dd421 Merge pull request #333 from github/route53-dynamic
Route53Provider dynamic record support
2019-04-04 19:00:17 -07:00
Ross McFarland add8cf25d4 Bunch of comments on Route53Provider from the PR review 2019-04-04 09:17:28 -07:00
Ross McFarland 3e0a452f77 CHANGELOG and README updates for dynamic and recent work 2019-04-04 08:37:55 -07:00
Peter Dave Hello e0a8a619d6 Normalize MX exchange to lower-case, fix #322 2019-04-04 22:45:34 +08:00
Ross McFarland cc9a1648d2 Pull dup'd parsing logic into a helper func, doc a singular case 2019-04-03 19:25:24 -07:00
Ross McFarland dbc032a2cc Switch to using tuples for _mod_keyer 2019-04-03 18:58:46 -07:00
Ross McFarland 684a152d9e Merge remote-tracking branch 'origin/master' into route53-dynamic 2019-04-03 14:13:59 -07:00
Ross McFarland 92179a231e Rework and clean up Route53Provider's extra_changes check to support dynamic 2019-04-03 14:13:23 -07:00
Ross McFarland 4db9d5cbf4 Remove TODO about value types, doesn't apply for now at least 2019-04-03 13:13:13 -07:00
Ross McFarland 34744b7b34 Normalize ip addresses for comparing health checks since Route53 does 2019-04-03 13:10:19 -07:00
Ross McFarland af06dbec09 Route53Provider for CNAME style healthchecks
Note that you can't specify a Host header for these which I believe will
complicate the ability to use this. Figuring that out will have to wait
until I or someone else has a use case for these...
2019-04-03 10:29:52 -07:00
Ross McFarland 7b59eedc44 Route53Provider dynamic support 2019-04-01 14:17:59 -07:00
Ross McFarland 0a6b2e2e3b Implement Route53Provider mod ordering via a sort
This will ensure that deletes come before creates which are before upserts and
that records that uses aliases always come after their target (though implicitly
based on sorting types and not explicitly by looking at them.)
2019-04-01 10:09:43 -07:00
Ross McFarland ed152ce0f3 Plumb hosted_zone_id through to _Route53Record 2019-04-01 09:33:56 -07:00
Ross McFarland f83eeb0a9c Add a Name tag to Route53 healthchecks for UI purposes 2019-04-01 09:13:57 -07:00
Ross McFarland c9573d7ace Merge pull request #332 from github/dyn-dynamic-supports-fix
DynProvider only SUPPORTS_DYNAMIC if traffic_directors_enabled
2019-04-01 07:45:15 -07:00
Ross McFarland b8be28c1dc Rework get_health_check_id, just take value to check 2019-04-01 07:40:23 -07:00
Ross McFarland d610a0c920 Implement _Route53Record._value_convert_* 2019-04-01 07:25:52 -07:00
Ross McFarland fa1162592f pre-commit should use coverage now that it enforces 100% 2019-04-01 07:03:10 -07:00
Ross McFarland e3ea51959d Break Record.chunked_values up to support chunked_value 2019-04-01 07:02:18 -07:00
Ross McFarland 1bf715c8a4 DynProvider only SUPPORTS_DYNAMIC if traffic_directors_enabled 2019-04-01 06:55:10 -07:00
omar 7c5c1b3367 AzureProvider: update for azure-mgmt-dns 2.1.0 and add support for CAA records. 2019-03-29 18:34:49 -07:00
Ross McFarland e7113ff491 Merge pull request #329 from yzguy/dnsmadeeasy_supports_check
add supports check to DNSMadeEasy Provider
2019-03-22 07:07:57 -07:00
Adam Smith ca80200653 add supports check to DNSMadeEasy Provider 2019-03-21 21:57:02 -07:00
Ross McFarland bbe57f8ccc Merge pull request #325 from yzguy/cloudflare_unpack
CloudflareProvider: unpack long SRV records correctly
2019-03-04 12:02:58 -08:00
Adam Smith 10452d1546 CloudflareProvider: unpack long SRV records correctly 2019-03-04 11:46:22 -08:00
Ross McFarland 5429a64e51 Merge pull request #321 from jrunkel/add-route53-measurelatency-option
Add healthcheck option 'measure_latency' for Route53 provider
2019-02-13 09:46:15 -08:00
Jörg Runkel c1911c10a3 Some syntax and style improvements 2019-02-13 17:45:23 +01:00
Jörg Runkel 54787529d5 Move measure_latency option to Route53 provider 2019-02-13 10:50:48 +01:00
Jörg Runkel 1794f5ccd6 Add healthcheck option 'measure_latency' for Route53 provider
Route53 allows to monitor latency information on the dashboard
and using CloudWatch. While that is a nice to have function,
it is not necessary for a DNS failover scenario and increases
Route 53 costs.
To maintain backward compatibility, the default for this option
when ommited is true.
2019-02-11 21:25:06 +01:00
Ross McFarland 7bf4914a41 Merge pull request #312 from github/dynamic-records-dyn
Dynamic records dyn
2019-01-29 07:26:22 -08:00
Ross McFarland 7ec31cf72f Merge remote-tracking branch 'origin/master' into dynamic-records-dyn 2019-01-28 09:51:49 -08:00
Ross McFarland ea81b7a535 Merge pull request #317 from github/supports_dynamic_optional
Make SUPPORTS_DYNAMIC an optional property, defaulting to False
2019-01-28 09:51:40 -08:00
Ross McFarland dea4647a16 Make SUPPORTS_DYNAMIC an optional property, defaulting to False 2019-01-28 09:47:23 -08:00
Ross McFarland dc4baf6f8b Make sure we avoid loops when configuring DynProvider fallbacks 2019-01-28 09:29:46 -08:00
Theo Julienne 1001292843 Apply suggestions from code review
Co-Authored-By: ross <[email protected]>
2019-01-28 09:08:29 -08:00
Theo Julienne 0aaa235d0a Update octodns/provider/dyn.py
Co-Authored-By: ross <[email protected]>
2019-01-28 09:07:20 -08:00