blanariu
efc4d99d8d
Replaced conditional imports with six
2021-06-24 19:17:09 +03:00
blanariu
e934ea0423
Fix bug in ultra provider tests when run in Python 2.7
...
The test_login test from TestUltraProvider would fail in Python 2.7
due to the dictionary insertion order not being preserved in 2.7
and early 3.x versions. Comparing the dictionaries containing the
query parameters solves this. Snippet from test failure:
- username=user&password=rightpass&grant_type=password
+ grant_type=password&username=user&password=rightpass
2021-06-24 12:51:45 +03:00
blanariu
749f0bd90f
Fix bug in envvar source tests when run in Python 2.7
...
Due to an import error the envvar source tests would not run
in Python 2.7
2021-06-24 12:45:22 +03:00
blanariu
3cc0fac817
Fix bug in Manager when using Python 2.7
...
In Python 2.7 the if statement would catch both cases from the test
test_populate_lenient_fallback, so the test was failing. These are
the error strings differences between Python 2 and 3:
Python 2:
NoLenient: populate() got an unexpected keyword argument 'lenient'
NoZone: populate() got multiple values for keyword argument 'lenient'
Python 3:
NoLenient: populate() got an unexpected keyword argument 'lenient'
NoZone: populate() got multiple values for argument 'lenient'
2021-06-24 12:39:56 +03:00
Ross McFarland
6cac4b060a
Merge pull request #727 from iordanisg/fix_typo
...
Fix typo
2021-06-17 07:58:28 -07:00
Iordanis Grigoriou
794fca0ee7
Fix typo
2021-06-17 16:36:46 +02:00
Ross McFarland
f819c3d612
Merge pull request #726 from eilla1/fix/docs
...
Add alt text to images
2021-06-16 15:59:31 -07:00
Ella
501ae88673
chore: use =
2021-06-16 15:25:14 -07:00
Ella
fb805ced62
chore: add alt text to images
2021-06-16 00:39:01 -07:00
Ella
a31fa189c1
fix: update syntax for commands
...
for example:
`$ octodns-sync --config-file=./config/production.yaml` was throwing an error. Then, when i did `$ octodns-dump`, it prompted me to put it in this format: `$ octodns-sync --config-file CONFIG_FILE` (without the = sign)
2021-06-16 00:32:43 -07:00
Ross McFarland
0867d98731
Merge pull request #725 from viranch/azuredns-reused-pool
...
Handle re-used pools in Azure DNS dynamic records
2021-06-14 20:05:57 -07:00
Ross McFarland
8b6f05313b
Merge branch 'master' into azuredns-reused-pool
2021-06-14 19:19:33 -07:00
Ross McFarland
958360ad7a
Merge pull request #720 from meghashyamps/sham/issue-710
...
Allow the option to not pass Host header in healthchecks
2021-06-14 19:18:06 -07:00
Ross McFarland
4fc2d4e246
Merge branch 'master' into sham/issue-710
2021-06-14 19:09:28 -07:00
Viranch Mehta
725189af49
Handle re-used pools in Azure DNS dynamic records
2021-06-14 13:58:20 -07:00
Viranch Mehta
fec0aea144
minor clean up of azuredns tests
2021-06-14 13:56:19 -07:00
Ross McFarland
36de6ca8f7
Merge pull request #724 from viranch/azuredns-unique-atm
...
Ensure that dynamic records map to unique Azure TM profiles
2021-06-11 13:06:28 -07:00
Viranch Mehta
6734448462
log warning when dynamic CNAME has broken alias
2021-06-11 11:43:35 -07:00
Sham
53608cbcf9
Merge branch 'octodns:master' into sham/issue-710
2021-06-10 00:26:30 -07:00
Viranch Mehta
7e0c6296fb
ensure dynamic records map to unique ATM profiles
2021-06-09 17:25:06 -07:00
Viranch Mehta
5a943f0b13
handle broken alias to ATM for dynamic records
2021-06-09 16:01:18 -07:00
Viranch Mehta
f90d261133
drop Azure DNS env vars in scripts
2021-06-09 15:13:05 -07:00
Ross McFarland
a994ab9daf
Merge pull request #723 from viranch/azuredns-optimize
...
minimize Azure Traffic Manager hops for dynamic records
2021-05-29 18:09:21 -07:00
Viranch Mehta
aaffdb1388
minimize Azure Traffic Manager hops
2021-05-28 13:23:35 -07:00
Viranch Mehta
18c0e56759
log.debug the reason for profile mismatch
2021-05-28 12:59:27 -07:00
Viranch Mehta
e97675fe3d
check dns config when comparing profiles for equality
2021-05-28 12:48:09 -07:00
Ross McFarland
92d14587b1
Merge pull request #721 from sbrinkerhoff/master
...
UltradnsProvider: Add support for ALIAS type (fix #644 )
2021-05-28 07:15:58 -07:00
Stan Brinkerhoff
6e71f2df76
update test record
2021-05-28 00:54:57 -04:00
Stan Brinkerhoff
60f916cd24
add contents for alias method, test for alias
2021-05-28 00:52:48 -04:00
Ross McFarland
e816e8e49b
Fixed extraneous whitespace in format in UltraDNS
2021-05-27 15:19:33 -07:00
sbrinkerhoff
4b6fd8b4a1
Remove type mutation
...
Co-authored-by: Ross McFarland <ross@github.com >
2021-05-27 17:59:10 -04:00
Stan Brinkerhoff
f00766a779
Add support for ALIAS type
2021-05-26 22:45:07 -04:00
Sham
eb14873abb
Allow the option to not pass Host header in healthchecks
2021-05-24 19:10:53 -07:00
Ross McFarland
ae37d17250
Merge pull request #716 from futureplc/dynamic-cname
...
Do not trigger change for health checks on cname dynamic records
2021-05-21 18:49:15 -07:00
Tom Kaminski
0ce7d22d1b
Merge branch 'master' into dynamic-cname
2021-05-20 15:25:59 -05:00
Tom Kaminski
62122e4429
More explicit check for CNAME records when checking for extra updates
2021-05-20 15:25:03 -05:00
Ross McFarland
725e56b29d
Merge pull request #717 from viranch/azuredns-oceania
...
map Oceania to Australia/Pacific in Azure
2021-05-19 06:33:52 -07:00
Viranch Mehta
5f57b52d07
map Oceania to Australia/Pacific in Azure
2021-05-18 10:25:41 -07:00
Tom Kaminski
f5d81be2fb
Merge branch 'master' into dynamic-cname
2021-05-17 20:11:37 -05:00
Tom Kaminski
b02d5d0a2d
Do not trigger change for health checks on cname dynamic records
2021-05-17 20:04:49 -05:00
Ross McFarland
a79e2f3abd
Merge pull request #706 from viranch/azuredns-dynamic
...
Support dynamic records in Azure DNS
2021-05-17 17:54:25 -07:00
Ross McFarland
753a337ecc
Fix weights on new Azure dynamic record tests
2021-05-17 17:49:31 -07:00
Ross McFarland
abef3202a0
Merge branch 'master' into azuredns-dynamic
2021-05-17 17:26:29 -07:00
Ross McFarland
12cd49d0af
Merge pull request #715 from octodns/single-value-weight-validation
...
Add a validation requiring single value weight=1
2021-05-17 17:26:15 -07:00
Ross McFarland
e1d262a301
Add a validation requiring single value weight=1
2021-05-17 17:06:40 -07:00
Viranch Mehta
cca288faa6
log warning when non-1 weight is set for single-value pools
2021-05-17 13:19:43 -07:00
Viranch Mehta
1b5bf75c58
drop method names from exceptions
2021-05-17 13:17:03 -07:00
Viranch Mehta
5df2077ed0
clarify the limitations and caveats of azure dynamic records
2021-05-14 23:21:26 -07:00
Viranch Mehta
3bcd032eba
Merge branch 'master' into azuredns-dynamic
2021-05-14 23:04:45 -07:00
Ross McFarland
8be24f10a1
Merge pull request #709 from shollingsworth/issue-707-lenient-flag-doc
...
Updated doc to reflect config file location for zone wide lenient flag Fixes octodns/octodns#707
2021-05-14 08:08:57 -07:00