You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi,
i'm tying to configure CIMC users with imcsdk,
but when I try to post (update) the modified elem it return an error:
In [106]: h.process_xml_elem(x)
---------------------------------------------------------------------------
ImcException Traceback (most recent call last)
<ipython-input-106-9a2334e6b9e1> in <module>
----> 1 h.process_xml_elem(x)
/usr/local/lib/python3.7/site-packages/imcsdk/imchandle.py in process_xml_elem(self, elem, timeout)
192 response = self.post_elem(elem, timeout=timeout)
193 if response.error_code != 0:
--> 194 raise ImcException(response.error_code, response.error_descr)
195
196 if hasattr(response, "out_config"):
ImcException: [ErrorCode]: ERR-xml-parse-error[ErrorDescription]: XML PARSING ERROR: No such XML API method by name aaaUser
imcsdk version: 0.9.10
CIMC Version : 4.0(4k)
step to reproduce
#import package
from imcsdk.imchandle import ImcHandle
#create a client and login
h=ImcHandle(...args)
handle.login()
#check if output == true; than connection susseded.
#get user-4 XML elem
p=h.query_dn("sys/user-ext/user-4")
x=p.to_xml()
#set some attr
x.set('name', 'test')
x.set('accountStatus', 'active')
x.set('pwd', 'test')
#committing
h.process_xml_elem(x)
The text was updated successfully, but these errors were encountered:
hi,
i'm tying to configure CIMC users with imcsdk,
but when I try to post (update) the modified elem it return an error:
imcsdk version: 0.9.10
CIMC Version : 4.0(4k)
step to reproduce
The text was updated successfully, but these errors were encountered: