Getting Started with the f5-common-python SDK
Thanks Jason,
I thought this might be the case. I have been told/heard that using the bash exec approach significantly increases the use of the CPU on the F5 device due to (in part) command wrapping/unpacking via REST eg: rest makes call/wraps command, unwraps it on the box, goes through the shell to bash, parses/filters the output, box then wraps the results back up into a json object which is then returned as the result.
Specifically I am thinking of the above approach and also the F5 Ansible modules which are implemented using the F5-sdk and the bigip_command module, which I believe acts in the same way as you have described above.
Is it the case that using the bash exec approach above (or similarly the bigip_command F5 ansible module) that this will result in high CPU being see on the device? If yes is there any recommendation from F5 what to do in the situation where this is really needed or is there recommended practices how to work around this if it is a problem?