fix receive_disable ignore (#40579)

This commit is contained in:
eoprede 2018-05-22 23:06:17 -04:00 committed by Tim Rupp
parent 0a701ff746
commit 9bc5dd5d09
2 changed files with 10 additions and 8 deletions

View file

@ -201,22 +201,23 @@ class Parameters(AnsibleF5Parameters):
api_map = { api_map = {
'timeUntilUp': 'time_until_up', 'timeUntilUp': 'time_until_up',
'defaultsFrom': 'parent', 'defaultsFrom': 'parent',
'recv': 'receive' 'recv': 'receive',
'recvDisable': 'receive_disable'
} }
api_attributes = [ api_attributes = [
'timeUntilUp', 'defaultsFrom', 'interval', 'timeout', 'recv', 'send', 'timeUntilUp', 'defaultsFrom', 'interval', 'timeout', 'recv', 'send',
'destination', 'username', 'password' 'destination', 'username', 'password', 'recvDisable'
] ]
returnables = [ returnables = [
'parent', 'send', 'receive', 'ip', 'port', 'interval', 'timeout', 'parent', 'send', 'receive', 'ip', 'port', 'interval', 'timeout',
'time_until_up' 'time_until_up', 'receive_disable'
] ]
updatables = [ updatables = [
'destination', 'send', 'receive', 'interval', 'timeout', 'time_until_up', 'destination', 'send', 'receive', 'interval', 'timeout', 'time_until_up',
'target_username', 'target_password' 'target_username', 'target_password', 'receive_disable'
] ]
def to_return(self): def to_return(self):

View file

@ -189,22 +189,23 @@ class Parameters(AnsibleF5Parameters):
api_map = { api_map = {
'timeUntilUp': 'time_until_up', 'timeUntilUp': 'time_until_up',
'defaultsFrom': 'parent', 'defaultsFrom': 'parent',
'recv': 'receive' 'recv': 'receive',
'recvDisable': 'receive_disable'
} }
api_attributes = [ api_attributes = [
'timeUntilUp', 'defaultsFrom', 'interval', 'timeout', 'recv', 'send', 'timeUntilUp', 'defaultsFrom', 'interval', 'timeout', 'recv', 'send',
'destination', 'username', 'password' 'destination', 'username', 'password', 'recvDisable'
] ]
returnables = [ returnables = [
'parent', 'send', 'receive', 'ip', 'port', 'interval', 'timeout', 'parent', 'send', 'receive', 'ip', 'port', 'interval', 'timeout',
'time_until_up' 'time_until_up', 'receive_disable'
] ]
updatables = [ updatables = [
'destination', 'send', 'receive', 'interval', 'timeout', 'time_until_up', 'destination', 'send', 'receive', 'interval', 'timeout', 'time_until_up',
'target_username', 'target_password' 'target_username', 'target_password', 'receive_disable'
] ]
def to_return(self): def to_return(self):