fixed an issue with parameter breaking idempotency (#50117)

* fixed an issue with parameter breaking idempotency

* Update bigip_pool_member.py
pull/50140/head
Wojciech Wypior 7 years ago committed by Tim Rupp
parent 0a55805ede
commit e9d7c8f328

@ -670,6 +670,22 @@ class ApiParameters(Parameters):
return None
return matches.group('least')
@property
def fqdn_auto_populate(self):
if self._values['fqdn'] is None:
return None
if 'autopopulate' in self._values['fqdn']:
if self._values['fqdn']['autopopulate'] == 'enabled':
return True
return False
@property
def fqdn(self):
if self._values['fqdn'] is None:
return None
if 'tmName' in self._values['fqdn']:
return self._values['fqdn']['tmName']
class NodeApiParameters(Parameters):
pass

Loading…
Cancel
Save