Forum Discussion
KernelPanic
Nimbostratus
Nov 29, 2017F5-SDK How can I iterate a list of hosts with ManagementRoot(hostname)
When I iterate a list of hosts the ManagementRoot(hostname, username, password, token) class uses the literal and not the variable value for hostname. I only find single static IP address used in th...
eey0re_68979
Altocumulus
Nov 29, 2017Your 'b' line is constructing a string rather than calling the function. Try this:
for f5 in f5List:
b = ManagementRoot(f5,"admin","admin",token=True)
print(b)
print(b.tmos_version)
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects