j0m_39562
Nov 13, 2013Nimbostratus
Possible to create irules via icontrol REST API?
Hi, With the icontrol REST API it seems like there's finally a sane way to manage configuration. Thanks F5! Most things seem to work satisfactory. Obviously I ran into to the irule/vip bug. Another issue I couldn't figure out is how to create irules. I can create placeholders but I can't upload content. I assume "apiAnonymous" isn't a good name for the content. So, is there a way to upload irules with the current release or will this issue be fixed soon?
{
"kind": "tm:ltm:rule:rulestate",
"apiAnonymous": "when HTTP_REQUEST...",
"name": "foobar",
"partition": "/Common/",
"selfLink": "https://localhost/mgmt/tm/ltm/rule/foobar"
}