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

992 Commits

Author SHA1 Message Date
Viranch Mehta
a151ae31c9 log warning when unused subnet pools are dropped 2023-04-12 23:40:15 -07:00
Viranch Mehta
a19dc6c12e Copy/edit record only if there are subnet rules without the support 2023-04-12 23:39:00 -07:00
Viranch Mehta
cd975b28f4 Don't abort rest of the validation if unsupported pools are not present 2023-04-12 23:36:37 -07:00
Viranch Mehta
221367b06a empty lists ok, minor refactor in _process_desired_zone 2023-04-10 16:49:10 -07:00
Viranch Mehta
47a898b1dc Wrap subnet support behind a SUPPORTS_ flag 2023-04-09 08:15:44 -07:00
Ross McFarland
6be0a8133a isort import formatting 2023-01-22 13:54:19 -08:00
Ross McFarland
b54678bed9 Refactor YamlProvider to add get_filenames
Makes it easier to inherit from YamlProvider to add custom filename
handling
2022-12-09 08:47:02 -08:00
Ross McFarland
7a25d9dfb7 Merge branch 'main' into strict-supports-true 2022-11-17 07:30:49 -08:00
Ross McFarland
723db157ab Provider.strict_supports=True by default, fix tests that didn't like that 2022-11-15 11:03:08 -08:00
Ross McFarland
efa80b43a1 1.0 RC: Remove deprecated provider, source, and processor shims 2022-11-15 10:31:10 -08:00
Ross McFarland
a1e54c2bbf Remove hacky _LogLevelSetter and just setLevel on Plan logger 2022-09-29 14:27:05 -07:00
Ross McFarland
3967c273f8 --debug flag to commands, work-around to ensure PlanLogger plan always prints 2022-09-27 08:06:30 -07:00
Ross McFarland
66debc0b80 Use super() now that we require python3, less error prone 2022-09-15 14:25:47 -07:00
Ross McFarland
d7880c084d Remove from __futures__ bits, all are now manditory 2022-09-15 14:10:21 -07:00
Ross McFarland
b4792707f8 Merge remote-tracking branch 'origin/main' into idna-internally 2022-09-12 14:56:01 -07:00
Ross McFarland
fa4225b625 Fix lots of errant '...' '...' string joins 2022-09-06 12:47:47 -07:00
Ross McFarland
2e3d325f71 YamlProvider.SUPPORTS dynamically returns the list of registered types 2022-08-27 15:53:56 -07:00
Ross McFarland
557b80f784 Implement YamlProvider.supports that always says yes 2022-08-27 15:40:02 -07:00
Ross McFarland
72244ba161 Provider._process_desired_zone should call .supports, rather than do in SUPPORTS 2022-08-27 15:23:52 -07:00
Ross McFarland
2d0f2ccc5c Add idna tests of eligible_zones and fix some messages/bugs 2022-08-18 20:10:11 -07:00
Ross McFarland
a33235d608 YamlProvider idna/utf-8 support, prefers utf8 2022-08-18 08:26:57 -07:00
Ross McFarland
c1ef45e0fd Convert Manager.config['zones'] to IdnaDict
- print Zone.decoded_name to logs for better readability
- Prefer decoded name in YamlProvider
2022-08-17 10:29:32 -07:00
Ross McFarland
02e07f4209 Merge remote-tracking branch 'origin/master' into dump-support-output-provider 2022-07-22 16:06:51 -07:00
Ross McFarland
e116d26eec Implement black formatting 2022-07-04 12:27:39 -07:00
Kian-Meng Ang
04b7bf0ac2 Fix typos 2022-05-29 13:16:01 +08:00
Ross McFarland
17c294042f Implement a sketch of --output-provider support for dump 2022-04-14 10:19:33 -07:00
Ross McFarland
8e70695eb2 Apply suggestions/corrections from a round of code review 2022-02-23 09:32:20 -08:00
Ross McFarland
e3edae8466 Non-configured root NS when supported is always a warning 2022-02-17 13:24:34 -08:00
Ross McFarland
0544e9ed7d More thorough testing of root ns cases and associated improvements 2022-02-17 13:00:28 -08:00
Ross McFarland
81dd4d714b Only throw RootNsChange UnsafePlan on existing zones 2022-02-17 09:34:48 -08:00
Ross McFarland
02ee7518fa Rework root NS logic to ignore when unconfigured, more testing 2022-02-17 08:50:42 -08:00
Ross McFarland
14fc137788 Use Zone.root_ns to avoid lookping/searching 2022-02-16 15:46:46 -08:00
Ross McFarland
1b543c675f Finish backing out test churn w/YamlProvider's optional SUPPORTS_ROOT_NS 2022-02-16 15:37:16 -08:00
Ross McFarland
adb01a982c WIP: Backing out a lot of test churn now that YamlProvider has SUPPORTS_ROOT_NS flag 2022-02-16 15:00:21 -08:00
Ross McFarland
f43833e9bb Make YamlProvider.SUPPORTS_ROOT_NS configurable, default True
This will result in less churn in tests for root NS support and allow us
to enable/disable things easily as needed.
2022-02-16 14:38:10 -08:00
Ross McFarland
38b51fb456 Rework unsafe bits, add RootNsChange as a new type of unsafe plan 2022-02-16 14:24:10 -08:00
Ross McFarland
728ab2af89 _process_desired_zone after populate, test/enforce order 2022-02-12 12:27:51 -08:00
Ross McFarland
5215930109 Always require a root NS in desired, sketch out SUPPORTS_ROOT_NS tests 2022-02-10 14:51:01 -08:00
Ross McFarland
08f98a5e65 Revert "Remove _process_existing_zone as it's not currently needed"
This reverts commit f1fd63205e.
2022-02-10 13:50:37 -08:00
Ross McFarland
f1fd63205e Remove _process_existing_zone as it's not currently needed 2022-02-10 11:58:48 -08:00
Ross McFarland
3bcb6c8cec Add Provider._process_existing_zone to mirror _process_desired_zone 2022-02-08 13:46:04 -08:00
Ross McFarland
33a10eada4 Base support for managing root NS records
* Zone object no longer treats them special, some tests needed adjusting
  b/c of this, some provider's tests may also need adjusting, though
  they should not plan changes since they won't (yet) have
  SUPPORTS_ROOT_NS
* _process_desired_zone filters and warns when not supported
* YamlProvider supports them
* TinyDnsBaseSource supports them
2022-02-08 10:26:49 -08:00
Ross McFarland
25c6569a04 Correct the extraction warning links in the rest of the providers 2022-01-26 14:29:02 -08:00
Ross McFarland
0cb0a54f67 Update octodns/provider/azuredns.py
Co-authored-by: Parker Moore <237985+parkr@users.noreply.github.com>
2022-01-26 14:14:58 -08:00
Ross McFarland
7ad1a8389f Link all of the extration help messages to the README section 2022-01-25 19:03:18 -08:00
Ross McFarland
aecbb61ea5 Extract UltraProvider from octoDNS core 2022-01-17 13:58:59 -08:00
Ross McFarland
cfe33e543c Extract TransipProvider from octoDNS core 2022-01-14 14:17:49 -08:00
Ross McFarland
3d99e319be Extract SelectelProvider from octoDNS core 2022-01-14 14:02:59 -08:00
Ross McFarland
9e51a4600f Extract RackspaceProvider from octoDNS core 2022-01-14 13:47:10 -08:00
Ross McFarland
1498ced567 Merge remote-tracking branch 'origin/master' into address-warnings 2022-01-14 10:03:03 -08:00