From e06c42c4fc6798688a2a8498ea46cdfb3031f0a8 Mon Sep 17 00:00:00 2001 From: Ross McFarland Date: Mon, 23 Aug 2021 12:41:06 -0700 Subject: [PATCH] No need to ip_address normalize AAAA in constellix now --- octodns/provider/constellix.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/octodns/provider/constellix.py b/octodns/provider/constellix.py index 5ca89e1..cd0d85b 100644 --- a/octodns/provider/constellix.py +++ b/octodns/provider/constellix.py @@ -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):