fixed an issue with parameter breaking idempotency (#50117)

* fixed an issue with parameter breaking idempotency

* Update bigip_pool_member.py
This commit is contained in:
Wojciech Wypior 2018-12-19 05:32:06 +01:00 committed by Tim Rupp
parent 0a55805ede
commit e9d7c8f328

View file

@ -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