Forum Discussion
DataCenter create pycontrol script Error
Hello,
I am running into error when I run the pycontrol DataCenter create script. Here is the error: (credentials are with xxxx)
[root@localhost scripts] python2.7 createDC_test.py 10.68.34.160 xxxx xxxx Test Test Test Traceback (most recent call last): File "createDC_test.py", line 31, in wsdl_files = ['GlobalLB.DataCenter'] TypeError: __init__() got an unexpected keyword argument 'wsdl_files'
It errors out in this part of the code
Create the BigIP object
b = pycontrol.BIGIP(hostname = sys.argv[1], username = sys.argv[2], password = sys.argv[3], wsdl_files = ['GlobalLB.DataCenter'] )
1 Reply
- What_Lies_Bene1
Cirrostratus
Hmmm, if you are using v2 shouldn't it be
wsdls =
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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