Commit Graph

49 Commits

Author SHA1 Message Date
Ross McFarland 818c1e9cc6 Unit tests for ns1 escape handling and fix 2017-07-05 14:28:01 -07:00
Ross McFarland d9806e851f NS1 RateLimitException, just sleep for e.period 2017-07-02 10:45:58 -07:00
Ross McFarland a44b82c2c7 NS1 rate_limit_delay param, unit tests for rate limit handling 2017-06-28 04:11:46 -07:00
Ross McFarland 3b7973425a Merge branch 'master' into rfc-1035 2017-06-24 19:19:52 -07:00
Ross McFarland 5e4d68094f Add meta record support with provider id to zone
Support replace=True in zone.add_record
2017-06-24 17:14:48 -07:00
Ross McFarland 4e3cc6b46a SSHFP RFC4255 - validate algorithm & fingerprint_type
- unrecognized wording for invalid values
2017-06-23 13:35:04 -07:00
Ross McFarland 3ce0d71e62 NAPTR RFC2915 - validate flags (partial)
- punting on service, regex & replacement validation for now
- clean up MX a smidge
2017-06-23 13:28:22 -07:00
Ross McFarland 6fc82fd279 Validate that MX preference parses as int 2017-06-23 13:17:32 -07:00
Ross McFarland 1340aee8a9 MX RFC1035 - priority -> preference & value -> exchange 2017-06-23 13:04:38 -07:00
Ross McFarland 615bc95976 CNAME cannot coexist with other records on a node 2017-06-23 09:49:25 -07:00
Ross McFarland d2af8efe5c Root CNAMEs are not allowed 2017-06-23 09:49:11 -07:00
Ross McFarland a69ff64ae1 Add --lenient flag to dump 2017-06-23 09:24:25 -07:00
Ross McFarland a97818b6ec populating existing provider state is lenient
- adds lenient flag to Record.new, problems during validation are just
  warnings if it's true
- target populate calls during the plan phase pass lenient=True
- make all of the provider.populate call logging consistent including both
  target and lenient
- add source=self to Record.new in a few places that were missing it
2017-06-23 09:01:25 -07:00
Ross McFarland 8323b4c0ea Complete refactor & rework of how validation is set up
This is with an eye toward expanding it in the future both in terms of what it
checks and to add the ability to ignore things. This commit does not intend to
change any validation. It only reworks the flow and improves the error
messaging.
2017-06-23 07:14:01 -07:00
Ross McFarland 852c101388 Switch to an explicit SUPPORTS setup 2017-06-21 17:08:16 -07:00
Ross McFarland 4e497e862e Merge branch 'master' into natrual-sorting-improvements 2017-06-21 14:54:09 -07:00
Ross McFarland 97e5b89925 Merge remote-tracking branch 'origin/master' into route53-refactor 2017-06-20 08:18:36 -07:00
Ross McFarland 046cde43b2 Make sorting enforcement optional with YamlProvider 2017-06-19 22:44:34 -07:00
Ross McFarland 4a7ce9e833 Bake in the existing, but less than great hex sorting behavior 2017-06-19 22:36:08 -07:00
Ross McFarland b777c159ce Merge remote-tracking branch 'origin/master' into alias-support 2017-06-12 14:07:03 -07:00
Ross McFarland 80b06b726c Merge branch 'master' into ignored-record-support 2017-06-09 06:22:37 -07:00
Ross McFarland d95f84216b Merge branch 'master' into route53-semicolon-escapes 2017-06-08 18:50:35 -07:00
Ross McFarland 7e0730ea1b Helps if I add the new config file 2017-06-08 18:45:47 -07:00
Ross McFarland 371138dbec Fix zone-level always-dry-run functionality
Thanks @offmindby!
2017-06-08 18:34:33 -07:00
Ross McFarland dd0042c6ff Escape unescaped semicolons coming out of Route53 2017-06-08 17:55:19 -07:00
Ross McFarland ff2fec72d8 Add support for ignored records.
```yaml
ignored:
  octodns:
    ignored: true
  type: A
  value: 1.2.3.4
```
2017-06-04 19:03:38 -07:00
Ross McFarland a36605e97e Merge branch 'master' into alias-support 2017-06-04 14:18:47 -07:00
Ross McFarland 23d0efdba2 DNSimple mock calls allowed in any order 2017-06-04 14:08:04 -07:00
Ross McFarland 8ed7278032 DynProvider and DnsimpleProvider ALIAS tests 2017-06-03 17:21:08 -07:00
Ross McFarland 82ed633669 Merge remote-tracking branch 'origin/master' into alias-support 2017-06-03 09:31:07 -07:00
Ross McFarland 756f017854 Go back to simple/standard ALIAS value 2017-06-03 08:47:01 -07:00
Ross McFarland b549ee79e9 Merge pull request #33 from github/nsone-basic-support
First pass through NsOneProvider
2017-05-30 07:57:24 -07:00
Ross McFarland a9c6d8c6ba Rework _Route53Record to avoid a bunch of hacks
They were working around the lack of class hierarchy, this addresses that by
adding 2 child classes. It gets rid of a bunch of ugly default params and
if-this junk in the main class that was trying to deal with plain & geo records.
Also as a positive side effect it gets rid of some hacks that lived in
Route53Provider dealing with the fact that the old setup couldn't detect going
to/from a GeoDNS record correctly.
2017-05-29 08:26:38 -07:00
Ross McFarland 9dbfe7c839 AliasValue, name & type, improved Record KeyError handling 2017-05-28 17:05:23 -07:00
Ross McFarland 9e172ed303 Add AliasRecord & tests 2017-05-28 07:21:53 -07:00
Joe Williams 5b93bb5979 use a percentage of change/deleted records rather than an absolute count 2017-05-24 07:21:04 -07:00
Ross McFarland bc1736bc39 NS1, add Delete support, fix apply create, flush out tests to 100% 2017-05-23 09:36:15 -07:00
Ross McFarland 06e17d043b Corrected handling of ns1 errors, Ns1Provider.populate tests 2017-05-22 17:33:31 -07:00
Ross McFarland 864a700f95 Remove extranious u's 2017-05-11 08:45:25 -07:00
Ross McFarland 1aae060f6d Add User-Agent header to Dyn monitors 2017-05-11 08:43:49 -07:00
Ross McFarland 852381b810 Add test for Route53Provider geo -> plain conversion 2017-05-09 14:45:35 -07:00
Ross McFarland d7469cbd0b Test _get_health_check_id without perm to create 2017-05-09 14:26:48 -07:00
Ross McFarland e7fffb0ca1 Route53Provider correctly handle converting to and from geo records 2017-05-09 14:20:44 -07:00
Ross McFarland e41f0d7d78 Wrap a long line in test_octodns_provider_cloudflare.py 2017-05-03 06:24:37 -07:00
zBart bc98af024b Handle Cloudflare not escaping semicolons 2017-05-03 12:46:42 +02:00
Ross McFarland d51c2b41b8 Tests for MainThreadExecutor 2017-03-28 13:32:49 -07:00
Ross McFarland 32a7b23923 Don't use threads when max_workers=1 2017-03-28 13:26:02 -07:00
Ross McFarland 377bda4f9c Implement simplistic planning concurrency, by zone 2017-03-27 14:39:50 -07:00
Ross McFarland 7957a4c018 Initial import of OSS OctoDNS 2017-03-15 15:38:10 -07:00