Forum Discussion
rafaelbn_176840
Altocumulus
Feb 27, 2018LTM Project Documentation an qKViews
Hello Devs! How is everybody doing?
This is kind of an off-topic question. I'm new to the F5 world and I'm finishing some real world projects. And as part of the project I have to deliver the do...
amintej
Cirrus
Feb 27, 2018I think Python SDK is a good tool for generating a similar report.You can acces to the resources of the collections and print the information you want, IP, port, pool. Example for collecting VS information:
!/usr/bin/python
import f5.bigip
from prettytable import PrettyTable
mgmt = ManagementRoot(host, user, passwd)
vipas_collection = mgmt.tm.ltm.virtuals.get_collection()
tvipas = PrettyTable(["VS Name","IP","Pool"])
for virtual in vipas_collection:
if hasattr (virtual, 'pool'):
tvipas.add_row ([virtual.name,virtual.destination,virtual.pool])
else :
tvipas.add_row ([virtual.name,virtual.destination,'N/A'])
tvipas.align = "l"
print tvipas
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
