Forum Discussion

cantalise2485_1's avatar
cantalise2485_1
Icon for Nimbostratus rankNimbostratus
Apr 01, 2014

RESTful API Support for Retrieving Network Related Information in LTM Release 11.1 and above

Are RESTful APIs supported in release 11.1 and above for retrieving network related information from BIG-IP LTM, such as VLANs, interfaces, selfIP info, etc.

 

The following is the list of APIs that I can retrieve from the AWS BIG-IP LTM virtual edition. I couldn't find anything that can help to get network related info.

 

curl -k -u admin:admin -X GET https://localhost/mgmt/tm/ltm |python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 1606 100 1606 0 0 4358 0 --:--:-- --:--:-- --:--:-- 4352 { "currentItemCount": 22, "items": [ { "reference": { "link": "https://localhost/mgmt/tm/ltm/auth" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/data-group" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/dns" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/global-settings" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/html-rule" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/monitor" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/persistence" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/profile" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/default-node-monitor" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/ifile" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/nat" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/node" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/policy" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/policy-strategy" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/pool" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/rule" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/snat" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/snat-translation" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/snatpool" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/traffic-class" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/virtual" } }, { "reference": { "link": "https://localhost/mgmt/tm/ltm/virtual-address" } } ], "kind": "tm:ltm:ltmstate", "pageIndex": 1, "partition": "/Common/", "selfLink": "https://localhost/mgmt/tm/ltm", "startIndex": 1, "totalItems": 22, "totalPages": 1 }

 

3 Replies

  • Hi,

     

    In 11.5 we released a full iControl-REST implementation in addition to the original iControl API. There was a pre-release available in 11.4 if you manually enabled the icrd daemon.

     

    For 9.x - 11.3.x, iControl is only supported with SOAP over XML.

     

    iControl https://devcentral.f5.com/icontrol/getting-started

     

    iControl-REST intro https://devcentral.f5.com/articles/introducing-a-restful-interface-for-icontrol

     

    iControl-REST user guide https://devcentral.f5.com/d/icontrol-rest-user-guide

     

    Pre-11.5 issue with starting the icrd daemon: https://devcentral.f5.com/questions/rest-api-1141-hf2-will-no-longer-add-icrdanswer91987

     

    Aaron

     

  • Hi, Aaron,

     

    Thank you for the response. I am using version 14.1 on AWS Virtual Edition. Could I download 15 and use my existing LTM license? I am a newbie and just started working on LTM product:(

     

    Here is my current sys license info: root@(ip-10-0-0-243)(cfg-sync Standalone)(Active)(/Common)(tmos) show sys version

     

    Sys::Version Main Package Product BIG-IP Version 11.4.1 Build 635.14 Edition Engineering Hotfix HF2 Date Mon Jan 13 15:11:08 PST 2014

     

    • Danny_Epperson_'s avatar
      Danny_Epperson_
      Historic F5 Account
      That "show sys version" output won't tell us if you can or cannot upgrade. In most cases you can. The easiest path would be to enable icrd as Aaron described, or upgrade in place the existing instance to 11.5.0 using an ISO from downloads.f5.com.