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 = {
'timeUntilUp': 'time_until_up',
'defaultsFrom': 'parent',
'recv': 'receive'
'recv': 'receive',
'recvDisable': 'receive_disable'
}
api_attributes = [
'timeUntilUp', 'defaultsFrom', 'interval', 'timeout', 'recv', 'send',
'destination', 'username', 'password'
'destination', 'username', 'password', 'recvDisable'
]
returnables = [
'parent', 'send', 'receive', 'ip', 'port', 'interval', 'timeout',
'time_until_up'
'time_until_up', 'receive_disable'
]
updatables = [
'destination', 'send', 'receive', 'interval', 'timeout', 'time_until_up',
'target_username', 'target_password'
'target_username', 'target_password', 'receive_disable'
]
def to_return(self):

View file

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