F5Networks / f5-common-python

Python SDK for configuration and monitoring of F5® BIG-IP® devices via the iControl® REST API.
https://f5-sdk.readthedocs.org
Apache License 2.0
262 stars 134 forks source link

Debug output is broken since debug output became optional in the icrs #1430

Open nugend opened 6 years ago

nugend commented 6 years ago

https://github.com/F5Networks/f5-icontrol-rest-python/pull/149

Change is needed to pull from the correct variable and also a way to enable debug output is needed.

caphrim007 commented 6 years ago

@nugend you can do this. Either provide a debug arg to the ManagementRoot, or, set the debug property to True after instantiation

nugend commented 6 years ago

@caphrim007 Sorry, should've specified. This is for bigiq.ManagementRoot

wojtek0806 commented 6 years ago

@nugend have you tried passing debug=True in the **kwargs when you instantiated ManagementRoot for bigiq , something like this?


from f5.bigiq import ManagementRoot

mr = ManagementRoot('yourbigiq' , 'user', 'pass', debug=True)