Forum Discussion
Retrieving GTM objects from get_items procedure in iApp
I'm running into an issue creating a new iApp which will assist with WideIP configurations. The problem I am running into is grabbing the servers which already exist on the device.
I'm running the following command with NULL results:
choice server display "large" tcl { tmsh::run_proc f5.app_utils:get_items { gtm server } }
However, when I run the same type of command using ltm objects, there are absolutely no issues. Ex:
choice server display "large" tcl { tmsh::run_proc f5.app_utils:get_items { ltm rule } }
choice server display "large" tcl { tmsh::run_proc f5.app_utils:get_items { ltm snatpool } }
etc...
Also, when running the same command specifying only "gtm" I have every GTM object returned (Including the servers). This is a step forward, but I need to filter to particular objects. Ex:
choice server display "large" tcl { tmsh::run_proc f5.app_utils:get_items { gtm } }
Hopefully, I'm missing something very simple.
Running VE with 11.5.2 code.
Thanks,
Zac
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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