nequid_152909
Jun 02, 2014Nimbostratus
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'] )