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

17 Commits

Author SHA1 Message Date
Christian Funkhouser
a65181b61d Document directory requirements more clearly.
Signed-off-by: Christian Funkhouser <cfunkhouser@heroku.com>
2019-04-08 17:22:26 -04: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
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
303d0532c8 Implement SUPPORTS_DYNAMIC functionality, no providers 2018-12-03 14:40:43 -08:00
Matt
933a56d8f9 Add - (non-empty) Record._octodns dict to YAML file output. 2018-11-04 10:32:06 +11:00
Ross McFarland
cee7677ae4 Implement Zone.add_record lenient across our providers 2018-05-30 12:41:59 -07:00
Ross McFarland
4d180ed991 Implement populate exists for YamlProvider 2018-01-21 14:41:54 -08:00
Ross McFarland
454f7f8c8f Add formal CAA support to YamlProvider 2017-11-08 06:26:18 -08: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
046cde43b2 Make sorting enforcement optional with YamlProvider 2017-06-19 22:44:34 -07:00
Ross McFarland
da4632fb7c docstrings for each provider showing config 2017-03-17 10:03:27 -07:00
Ross McFarland
7957a4c018 Initial import of OSS OctoDNS 2017-03-15 15:38:10 -07:00