Restful Access to BIG-IP Subtables
Surely by now you have tasted the goodness that is tables. No? Stop now and go read up on the table command. No, really, right now! I’ll wait…
OK, now that you are a tables expert, it’s clear t...
Published Aug 11, 2010
Version 1.0JRahm
Admin
Christ Follower, Husband, Father, Technologist. I love community and I especially love THIS community. My background is networking, but I've dabbled in all the F5 iStuff, I'm a recovering Perl guy, and am very much a python enthusiast. Learning alongside all of you in this accelerating industry toward modern apps and architectures.JRahm
Admin
Christ Follower, Husband, Father, Technologist. I love community and I especially love THIS community. My background is networking, but I've dabbled in all the F5 iStuff, I'm a recovering Perl guy, and am very much a python enthusiast. Learning alongside all of you in this accelerating industry toward modern apps and architectures.Kevin_Davies_40
Nacreous
Sep 23, 2010Thats a lot of code when this will do...
when HTTP_REQUEST {
set page_header "Table data"
set page_footer ""
switch -regex [HTTP::URI] {
"^/keys" {
default {
table [getfield [HTTP::URI] "/" 2] -subtable [getfield [HTTP::URI] "/" 3] [getfield [HTTP::URI] "/" 4] [getfield [HTTP::URI] "/" 5]
}
http://127.0.0.1/add/mytable/hello/there
http://127.0.0.1/delete/mytable/hello/there
http://127.0.0.1/delete/mytable/hello/-all