1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00
Commit Graph

355 Commits

Author SHA1 Message Date
Basir Jamil
b385b1ddb5 fixed typo 2019-06-06 18:36:16 -04:00
Basir Jamil
6afab8c90a fixed typo 2019-06-06 18:35:04 -04:00
Basir Jamil
4a68f7df25 added dns client class, changed auth method 2019-06-06 18:32:46 -04:00
Basir Jamil
66136f475f fixed typo 2019-06-06 17:27:42 -04:00
Basir Jamil
2ea26273b8 started populate fxn 2019-06-06 17:25:16 -04:00
Basir Jamil
3d61baea50 fixed issue with accessing home dir 2019-06-06 15:00:04 -04:00
Basir Jamil
f219153088 fixed call to auth fxn 2019-06-06 14:49:58 -04:00
Basir Jamil
d4867c4268 fixed typo in authernticate 2019-06-06 14:40:41 -04:00
Basir Jamil
e1a139d187 revamed authentication 2019-06-06 14:31:26 -04:00
Basir Jamil
34b618fbee began authentication script 2019-06-06 09:45:27 -07:00
Basir Jamil
064b30c4d1 began authentication script 2019-06-06 09:29:45 -07:00
Basir Jamil
e7d82ac75d sync 2019-06-04 12:16:14 -07:00
Basir Jamil
3834528090 fixed file writing error 2019-05-30 18:49:41 -07:00
Basir Jamil
99875a1289 fixed base class errors 2019-05-30 18:36:31 -07:00
Basir Jamil
f7239e30a5 fixed import bug 2019-05-30 18:33:03 -07:00
Basir Jamil
95681972b7 starting authentication for akamai fastdns 2019-05-30 18:25:28 -07:00
Basir Jamil
7eaf03dec4 started fast dns 2019-05-30 17:33:42 -07:00
Ross McFarland
b7e3b9c8b0 Merge branch 'master' into rework-route53-dynamic-extra-hc-verify 2019-05-15 07:59:32 -07:00
ItsAlex
53c2b8d194 fix: prevent digital ocean provider to crash if records type is not supported 2019-05-15 14:11:49 +02:00
Ross McFarland
d49bf26220 Handle Route53 extra check much more thoroughly by breaking down name
Also adds thorough tests
2019-05-14 20:25:14 -07:00
Ross McFarland
1c60ed018b Make sure both set-id and name match when finding rrset 2019-04-29 09:49:40 -07:00
Ross McFarland
e4fbcf1090 Improved Route53Provider deltion for Dynamic Value too 2019-04-29 09:02:45 -07:00
Ross McFarland
2df87d7dfe Improve Route53 DELETE reliability using existing rrset 2019-04-29 08:52:56 -07:00
Christian Funkhouser
b1d0b5aecc Merge branch 'master' into split-the-yaml 2019-04-09 09:02:56 -04:00
Ross McFarland
99bb14b4df Merge branch 'master' into dyn-dynamic-serve-count-1 2019-04-08 14:29:24 -07:00
Christian Funkhouser
a65181b61d Document directory requirements more clearly.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 17:22:26 -04: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
Christian Funkhouser
f239eb1aa8 Don't use classmethod for listing YAML files
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 17:13:28 -04:00
Christian Funkhouser
2021a2caea Construct YamlProvider logger more cleverly.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 17:09:29 -04:00
Christian Funkhouser
689043cd3d Merge SplitYamlProvider and YamlProvider tests
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 17:07:45 -04: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
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>
2019-04-08 13:59:45 -04:00
Christian Funkhouser
3bc0e0ad3e File load success is too verbose
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
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 <cfunkhouser@heroku.com>
2019-04-08 13:59:44 -04:00
Ross McFarland
2b152759b8 Merge branch 'master' into azuredns-updates 2019-04-06 09:06:11 -07:00
Ross McFarland
add8cf25d4 Bunch of comments on Route53Provider from the PR review 2019-04-04 09:17:28 -07: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
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
1bf715c8a4 DynProvider only SUPPORTS_DYNAMIC if traffic_directors_enabled 2019-04-01 06:55:10 -07:00