Neil_Marks_2466
Jun 27, 2018Nimbostratus
iapp::get_items -filter question...
I am looking to present in a dropdown list a selection of pools which end in either "_DC1" or "_DC2", but I can't get the syntax correct... various formats I have tried..
return [iapp::get_items -filter NAME =~ "_DC[12]$" ltm pool]
return [iapp::get_items -filter NAME = "_DC[12]$" ltm pool]
return [iapp::get_items -filter NAME ~ "_DC[12]$" ltm pool]
return [iapp::get_items -filter NAME =~ /_DC[12]$/ ltm pool]
return [iapp::get_items -filter NAME = /_DC[12]$/ ltm pool]
I get various error messages - such as invalid command "12" while executing "12" .... Can anyone help with the correct syntax? BTW - this is on BIG IP LTM V12.1.2 (2.0.276) Thanks Neil