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
723db157ab
Provider.strict_supports=True by default, fix tests that didn't like that
2022-11-15 11:03:08 -08: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
72244ba161
Provider._process_desired_zone should call .supports, rather than do in SUPPORTS
2022-08-27 15:23:52 -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
e116d26eec
Implement black formatting
2022-07-04 12:27:39 -07: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
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
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
32c358af04
Quell all python warnings, mostly *Equals -> Equal and warn -> warning
2022-01-13 10:58:07 -08:00
Ross McFarland
8c0065b7c6
Merge branch 'master' into pool-value-up
2021-09-21 16:07:45 -07:00
Ross McFarland
9d02031fb8
Merge branch 'master' into python3-no-six
2021-09-21 16:02:36 -07:00
Viranch Mehta
c521f06de2
fix flag name in message
2021-09-21 01:58:07 -07:00
Viranch Mehta
43e02c916c
enum for status flag of pool values
2021-09-21 01:54:55 -07:00
Viranch Mehta
e737161c76
Show pool names that don't support the flag
2021-09-21 01:34:51 -07:00
Viranch Mehta
c79572a45f
Merge branch 'master' into pool-value-up
2021-09-20 21:04:07 -07:00
Viranch Mehta
d1d0de0c60
Fix typo in SUPPORTS_MULTIVALUE_PTR flag name
2021-09-17 21:59:16 -07:00
Viranch Mehta
201c57298a
Deny up-flag support in BaseProvider
2021-09-17 15:40:06 -07:00
Ross McFarland
aae65594f2
Remove explicit use of six
2021-09-17 07:10:07 -07:00
Ross McFarland
00f0bf8584
f-strings for BaseProvider supports update
2021-09-16 14:22:17 -07:00
Ross McFarland
5746ffd7f5
Merge branch 'master' into py3-f-strings
2021-09-16 13:17:58 -07:00
Ross McFarland
c6e8ee48f5
quell lint indention alignment warnings
2021-09-07 13:24:29 -07:00
Ross McFarland
47de105a29
POC supports & dynamic checking in _process_desired_zone
2021-09-07 13:11:15 -07:00
Ross McFarland
de3b4a5836
f-strings for BaseProvider
2021-09-04 08:18:57 -07:00
Ross McFarland
fd148d1803
Documentation of strict_supports and lenient, changelog info
2021-08-26 15:56:27 -07:00
Ross McFarland
b84b933eb0
Copy zones early on and allow modifications after that. Doc requirements.
2021-08-21 13:41:10 -07:00
Ross McFarland
fe013b21e3
Utilize shallow copies in Provider._process_desired_zone and Route53Provider._process_desired_zone
2021-08-21 10:29:48 -07:00
Ross McFarland
08f9ec56a3
Rework supports_warn_or_except to msg and fallback
2021-08-18 16:25:13 -07:00
Ross McFarland
65f0bfc243
Update multi-value PTR warn to supports_warn_or_except
2021-08-18 12:35:49 -07:00
Ross McFarland
53a21b649a
Merge remote-tracking branch 'origin/master' into process-desired-zone
2021-08-18 12:26:15 -07:00
Viranch Mehta
7b748de2b3
use the PTR value that is shown in logs
2021-08-18 12:14:50 -07:00
Viranch Mehta
8ddbb389ab
method to custom-process desired zone
2021-08-18 11:22:12 -07:00
Ross McFarland
5b0e47f31f
Cleanup and test of _process_desired_zone and supports_warn_or_except
2021-08-18 10:07:21 -07:00
Ross McFarland
c81450682c
Implement and test Route53Provider.process_desired_zone checking of NA-CA-*
2021-08-17 20:26:51 -07:00
Ross McFarland
536c0c68ec
no-op Provider.process_desired_zone
2021-08-17 19:15:34 -07:00