Forum Discussion
mhite_60883
Cirrocumulus
Sep 17, 2012Run tmsh command via iControl?
Is it possible to run a tmsh command via iControl?
mhite_60883
Cirrocumulus
Sep 28, 2012There are long standing bugs in the certain parts of iControl that don't exist in their tmsh equivalent. For example, you can't update certificate/key pairs via iControl, period. So I've got hacky workarounds in my automation tools that actually uses ssh to execute various tmsh commands alongside the iControl commands.
IE.
tmsh_cmd = "tmsh -q -c \"cd /%s; modify sys file ssl-cert %s.crt source-path %s\"" % (partition, identifier, urlpath)
Which will work.
Bottom line is that the test coverage for tmsh seems far more extensive than iControl, and getting things fixed in iControl seems to be a much lower priority than fixing something that is wrong with tmsh. At least with a tmsh gateway via iControl, we can fail back to tmsh in certain circumstances without having to resort to ssh hackery.
I'm just trying to rapidly scale out solutions and often times I hit hurdles that F5 isn't very agile at addressing. I need a plan B, which is automating through tmsh.
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