Forum Discussion
Eric_Flores_131
Cirrostratus
Mar 20, 2014Bigsuds - save_configuration
I am new to python and iControl. I am trying to use bigsuds to save a UCS file on the box but I am getting a strange error -
>>> b.System.ConfigSync.save_configuration(['/shared/tmp/test.ucs'],['S...
Eric_Flores_131
Cirrostratus
Mar 20, 2014So I turned on suds debugging and saw the the F5 was rejecting the save mode "SAVE_FULL". I tried using the save mode of "SAVE_HIGH_LEVEL_CONFIG" and that works just fine. I would post the XML from the debug but I'm having quite the formatting meltdown trying to post the XML snippets.
Here is the output without debugging -
>>> b.System.ConfigSync.save_configuration(filename = '/var/local/ucs/test.ucs',save_flag = 'SAVE_FULL')
Traceback (most recent call last):
....Output omitted......
bigsuds.ServerError: Server raised fault: 'Exception caught in System::urn:iControl:System/ConfigSync::save_configuration()
Common::InvalidArgument
'
I dont know why the F5 would reject the save mode when it is listed in the API documentation.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects