Forum Discussion
Jul 01, 2022
Any python experts out there? - parsing tmsh list
Hi, For a documation exercise i'm trying to parse the output of "tmsh list" - it's been suggested that this is a good output to identify the config of the f5. I've choosen to use python as its nati...
Hello PSFletchTheTek,
Have you tried with f5-sdk?
https://f5-sdk.readthedocs.io/en/latest/
It's an easy way to collect the config of "tmsh list" in a parsed way.
Jul 01, 2022
So iwas going to use ansbile to run the tmsh list command and pipe its output into a file via ansible then run some python to parse it.
So i could use the sdk instead if that gives me more useable parameters.
Any suggestions on how to cleanly navigate?
I'm trying to pull together build documentation, so any parameters you can suggest you be awesome!
Fletch
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