pycontrol pool.add_member problem
>>> b =
pc.BIGIP(
...
hostname = LTM,
...
username = USER,
...
password = PASS,
...
wsdls = [WSDLS],
...
fromurl=True
... )
>>> p =
b.LocalLB.Pool
>>>
p.add_member(
... pool_names
= ["new_pool"],
...
members = [[ {'address': '9.9.9.9', 'port': 80 } ]]
... )
Traceback (most
recent call last):
File
"", line 3, in
File
"/usr/lib/python2.7/site-packages/suds/client.py", line 539, in
__call__
return
client.invoke(args, kwargs)
File
"/usr/lib/python2.7/site-packages/suds/client.py", line 598, in
invoke
result
= self.send(msg)
File
"/usr/lib/python2.7/site-packages/suds/client.py", line 633, in send
result
= self.failed(binding, e)
File
"/usr/lib/python2.7/site-packages/suds/client.py", line 684, in
failed
r, p =
binding.get_fault(reply)
File
"/usr/lib/python2.7/site-packages/suds/bindings/binding.py", line
238, in get_fault
raise
WebFault(p, faultroot)
suds.WebFault: Server
raised fault: 'Could not find element by name: address'
>>>
I cannot figure out for the life of me why address is not showing up as an element in members. Has anyone seen this before? Is it an indication that pycontrol was not set up properly? If so, what part? Thanks.