Eric_Flores_131
Mar 20, 2014Cirrostratus
Bigsuds - 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'],['SAVE_FULL'])
Traceback (most recent call last):
......Output omitted ........
bigsuds.ArgumentError: "['SAVE_FULL']" is not a valid value for System.ConfigSync.SaveMode, expecting: SAVE_FULL, SAVE_HIGH_LEVEL_CONFIG, SAVE_BASE_LEVEL_CONFIG, SAVE_GTM_CONFIG_ONLY
It shows an error with my agrument in the raw list format. If I make the second argument a string then I also get errors -
>>> b.System.ConfigSync.save_configuration(['/shared/tmp/test.ucs'],'SAVE_FULL')
Traceback (most recent call last):
......Output omitted ........
suds.TypeNotFound: Type not found: 'filename'
I dont quite get what I am doing wrong.