Ross McFarland
10ad30e7ea
map( to [...]
2019-10-09 15:41:18 -07:00
Ross McFarland
be06a5da94
Make sure map and keys are lists when needed
2019-10-07 09:31:15 -07:00
Ross McFarland
99bb14b4df
Merge branch 'master' into dyn-dynamic-serve-count-1
2019-04-08 14:29:24 -07:00
Ross McFarland
9f63a508e4
Address TODO about Dyn TD's and subzones to fix bug
...
We hit this bug internally. It generally needed to be fix and was a larger
potential problem than expected since it was assuming TD assocaitions rather
than looking at them directly. Test changes were a little involved to suss
out, otherwise this is a fairly clean and simple fix.
2019-04-08 14:22:07 -07:00
Ross McFarland
639ace9ce4
DynProvider dynamic serve_count=1 to match Route53
...
Might be possible/make sense to allow it to be configured later, but for now
Route53 doesn't support it so we'll go with 1 to make sure that things match
up behavior-wise.
2019-04-08 12:35:58 -07:00
Ross McFarland
1bf715c8a4
DynProvider only SUPPORTS_DYNAMIC if traffic_directors_enabled
2019-04-01 06:55:10 -07: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 <ross@github.com >
2019-01-28 09:08:29 -08:00
Theo Julienne
0aaa235d0a
Update octodns/provider/dyn.py
...
Co-Authored-By: ross <ross@github.com >
2019-01-28 09:07:20 -08:00
Ross McFarland
daf4f0e0c8
Pass of commenting DynProvider's dynamic support
2019-01-09 10:56:45 -08:00
Ross McFarland
6fb829a98a
Remove defunct geo -> dynamic case that couldn't be reached
2019-01-09 10:56:16 -08:00
Ross McFarland
28f3a75061
_find_or_create_*_pool should add new pool to pools so it can find next time
2019-01-09 10:55:18 -08:00
Ross McFarland
da9e268659
3-part Dyn TD labels are no more
2019-01-09 10:54:21 -08:00
Ross McFarland
7cce15cffe
Cleanly convert Dyn TD from dynamic to geo
2019-01-08 13:52:39 -08:00
Ross McFarland
1712e689e9
Correct some log messages
2019-01-08 12:42:33 -08:00
Ross McFarland
13b87faddc
Better Dyn dynamic TD detection
2019-01-08 12:41:14 -08:00
Ross McFarland
1ca84c17e6
Complete unit test coverage of DynProvider dynamic functionality
2018-12-19 10:01:49 -08:00
Ross McFarland
d57c7f6c01
Further test coverage for DynProvider dynamic records
2018-12-17 17:16:23 -08:00
Ross McFarland
942edd66c0
Remove debugging prints, test dyn dynamic, fix problems found by tests
2018-12-17 13:00:00 -08:00
Ross McFarland
b7eaa8b580
Progress for Dyn dynamic, A, AAAA, CNAME support
2018-12-14 16:35:58 -08:00
Ross McFarland
60911917b4
Implement Dync populate dynamic, flesh out testing for all but dyn
2018-12-14 11:33:50 -08:00
Ross McFarland
a169d50fcf
Add GeoCodes.parse and move Move Dyn dynamnic over to use it
2018-12-14 11:33:50 -08:00
Ross McFarland
a452a0eb00
Get DynProvider and tests happy, though still incomplete
2018-12-14 11:33:50 -08:00
Ross McFarland
d493d297df
WIP DynProvider dynamic implementation
2018-12-14 11:33:49 -08:00
Ross McFarland
303d0532c8
Implement SUPPORTS_DYNAMIC functionality, no providers
2018-12-03 14:40:43 -08:00
Ross McFarland
6a7a54be06
Include TTL in Dyn CCA record values
2018-11-05 09:48:03 -08:00
Ross McFarland
cee7677ae4
Implement Zone.add_record lenient across our providers
2018-05-30 12:41:59 -07:00
Ross McFarland
a5c560f203
Rename Dyn._monitor_matches to _monitor_doesnt_match
2018-04-04 07:33:57 -07:00
Ross McFarland
db6b9d2ada
Remove stale comment about dyn property locations
2018-04-02 08:09:32 -07:00
Ross McFarland
e6d8669611
Implement healthcheck protocol and port for Dyn
2018-03-31 14:31:15 -07:00
Ross McFarland
084f1e7c57
Consolidate Dyn monitor comparison logic
2018-03-31 13:05:04 -07:00
Ross McFarland
5372e86e1c
Switch to named params in _extra_changes
2018-03-31 12:39:32 -07:00
Ross McFarland
afd592f5a3
Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck
2018-03-31 12:16:10 -07:00
Ross McFarland
4904a0ea20
Sort existing_rulesets by _ordering desc, so default is removed first
2018-03-24 17:58:08 -07:00
Ross McFarland
7a755d15be
Make sure to insert new rulesets at the "end"
...
Dyn will still match them, even while they're empty before we've had a
chance to add the respons pools to them which is BAD and caused a
medium-size outage (thankfully not as bad as it could have been.) Ideally
we'd use publish=False and stage things, but that seems broken in the client
lib, there's no way to send publish=N. I also tried sending the
response_pool_ids as part of the create calls and response pool config if
one didn't exist, but neither of those routes worked :-(
2018-03-24 10:28:09 -07:00
Dirkjan Bussink
9cde37993b
Really fix lint issue, should read better
2018-03-22 09:01:04 +01:00
Dirkjan Bussink
ced6350cc9
Fix linting issues
2018-03-22 08:57:32 +01:00
Dirkjan Bussink
a7f6da96d3
Merge branch 'master' into configurable-geo-healthcheck
2018-03-22 08:51:51 +01:00
Ross McFarland
7228c5b294
Merge remote-tracking branch 'origin/master' into show-zone-create
2018-03-03 10:18:32 -08:00
Josh Soref
5d2ba2e715
Spelling ( #214 )
...
* spelling: ancillary
* spelling: antarctica
* spelling: australia
* spelling: authentication
* spelling: continental
* spelling: constructor
* spelling: conversion
* spelling: creation
* spelling: doesn't
* spelling: easily
* spelling: efficiently
* spelling: equivalent
* spelling: essentially
* spelling: everything
* spelling: exactly
* spelling: be
* spelling: expensive
* spelling: supports
* spelling: healthcheck
* spelling: immediately
* spelling: ignored
* spelling: invocation
* spelling: itself
* spelling: leftovers
* spelling: missing
* spelling: natural
* spelling: nonexistent
* spelling: peculiarities
* spelling: pointing
This change hit a line length limitation, so I'm wrapping it and
adding a period which appears to match local style...
* spelling: quicker
* spelling: response
* spelling: requested
* spelling: redirect
* spelling: traffic
* spelling: unknown
* spelling: uploaded
* spelling: useful
* spelling: separately
* spelling: zone
2018-02-27 09:09:47 -08:00
Ross McFarland
b54630878f
Implement populate exists for DynProvider
2018-01-21 14:37:31 -08:00
Ross McFarland
9a30b058e2
Merge remote-tracking branch 'origin/master' into configurable-geo-healthcheck
2017-10-18 10:57:32 -07:00
Ross McFarland
f39e1d28c8
Fix log formatting and lint compliance
2017-10-18 10:38:09 -07:00
Tim Hughes
8352ab89ef
adds warning to dyn provider when it cannot load a trafficdirector
2017-10-17 16:16:17 +01:00
Ross McFarland
70120bedc8
Implement "chunked" TXT/SPF value support for long values
...
This implements it transparently at Record level. Providers that need things to
be chunked (seems to just be Route53 an Dyn) switch to use `chunked_values`, but
everything else can stick with `values`. I've run through each provider I have
access to verifying that things operate as expected/required. OVH and Azure are
untested.
2017-10-05 10:04:29 -07:00
Ross McFarland
1e68cd6ae9
Add CAA support to Dyn, PowerDNS, and Route53
2017-08-26 09:03:59 -07:00
Ross McFarland
1340aee8a9
MX RFC1035 - priority -> preference & value -> exchange
2017-06-23 13:04:38 -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
852c101388
Switch to an explicit SUPPORTS setup
2017-06-21 17:08:16 -07:00
Ross McFarland
b6cd08e659
Update DSFMonitor labels to include type
...
Would have prevented both A and AAAA exisiting on the same node.
2017-06-21 14:34:21 -07:00