iControl REST 101: Getting Started
So you’ve heard of this iControl REST thing, have you? You’re excited at the idea of a simple, light weight API that allows you programmatic access via tried and true tmsh commands with which you may...
Published Feb 13, 2014
Version 1.0Colin_Walker_12
Historic F5 Account
Joined May 12, 2005
Colin_Walker_12
Historic F5 Account
Joined May 12, 2005
JRahm
Feb 13, 2014Admin
your sed-fu is nice, but if you want to parse the json itself, a nice cli-trick is using "| python -m json.tool" instead.
jrahm@u1204lts:~$ curl -sk -u admin:admin https://192.168.101.5/mgmt/tm/ltm/node | python -m json.tool
{
"items": [
{
"address": "192.168.101.10",
"connectionLimit": 0,
"dynamicRatio": 1,
"fullPath": "/Common/192.168.101.10",
"generation": 1,