__version__ = '1.10.0'
MIN_VERSION_TERRAFORM = '1.6.5'
-MAX_VERSION_TERRAFORM = '1.9.0'
+MAX_VERSION_TERRAFORM = '1.11.0'
MIN_VERSION_VSPHERE_PROVIDER = '2.5.1'
has_address_errors = False
if self.dns_mappings2create['forward']:
for pair in self.dns_mappings2create['forward']:
- line = asterisk + '{n!r} => {a!r}'.format(n=pair[0], a=str(pair[1]))
+ line = asterisk + "'" + self.colored(pair[0], 'aqua') + "'"
+ line += " => '" + self.colored(str(pair[1]), 'aqua') + "'"
lines.append(line)
else:
lines.append(three_gt + self.colored(_('None'), 'AQUA') + three_lt)
lines = []
if self.dns_mappings2create['reverse']:
for pair in self.dns_mappings2create['reverse']:
- line = asterisk + '{r} ({a!r}) => {n!r}'.format(
- r=pair[0].reverse_pointer, n=pair[1], a=str(pair[0]))
+ line = asterisk + self.colored(str(pair[0].reverse_pointer), 'aqua')
+ line += " ({!r}) => '".format(str(pair[0]))
+ line +=+ self.colored(str(pair[1]), 'aqua') + "'"
lines.append(line)
else:
lines.append(three_gt + self.colored(_('None'), 'AQUA') + three_lt)