mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
No need to ip_address normalize AAAA in constellix now
This commit is contained in:
@@ -8,7 +8,6 @@ from __future__ import absolute_import, division, print_function, \
|
||||
from collections import defaultdict
|
||||
from requests import Session
|
||||
from base64 import b64encode
|
||||
from ipaddress import ip_address
|
||||
from six import string_types
|
||||
import hashlib
|
||||
import hmac
|
||||
@@ -138,11 +137,6 @@ class ConstellixClient(object):
|
||||
v['value'] = self._absolutize_value(v['value'],
|
||||
zone_name)
|
||||
|
||||
# compress IPv6 addresses
|
||||
if record['type'] == 'AAAA':
|
||||
for i, v in enumerate(value):
|
||||
value[i] = str(ip_address(v))
|
||||
|
||||
return resp
|
||||
|
||||
def record_create(self, zone_name, record_type, params):
|
||||
|
||||
Reference in New Issue
Block a user