Forum Discussion
Arnaud_F_
Aug 07, 2015Nimbostratus
Hi Arnaud,
Thanks for the reply.
My tests confirm that the issue is fixed in 11.5.3 release.
Saving and loading ucs are working even if there is timeout error or wrong feedback from the api.
You will bellow an extract of python code :
bigip_url_base = 'https://%s/mgmt/tm' % bigip_address
bigip = requests.session()
bigip.auth = (bigip_user, bigip_pass)
bigip.verify = False
bigip.headers.update({'Content-Type' : 'application/json'})
payload = {}
Load
payload['command'] = 'load'
payload['options'] = [{ 'ucs' : 'my-backup.ucs' },{ 'passphrase' : 'my-archive-password' }, { 'no-license' : '' }]
result = bigip.post('%s/sys' % bigip_url_base, data=json.dumps(payload))
Save
payload = {}
payload['command'] = 'save'
payload['options'] = [{ 'ucs' : 'my-backup.ucs' },{ 'passphrase' : 'my-archive-password' }]
result = bigip.post('%s/sys' % bigip_url_base, data=json.dumps(payload))