Forum Discussion

ZacW's avatar
ZacW
Icon for Nimbostratus rankNimbostratus
Oct 08, 2015

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

 

No RepliesBe the first to reply