Forum Discussion

wuench_99164's avatar
wuench_99164
Icon for Altocumulus rankAltocumulus
Jul 28, 2016
Solved

BIG-IQ Centralized Managment 5.0 - Is rest-proxy available?

Testing 5.0 in our lab in preparation to upgrade and I can't seem to get the rest-proxy URLs to work. Is this feature available? If so do you see any issues with the URL below? xxxx = device's UUID.

 

https://bigiq-1/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/xxxx-xxxx-xxxx-xxxx-xxxx/rest-proxy/mgmt/tm/ltm

 

{"code":404,"message":"URI path not registered...

 

  • This does work in 5.0, found the answer in the Bigiq 4.5 REST API Reference. You have to issue a PATCH call to the device URL on the BigIQ to enable it.

     

    PATCH to https://localhost/mgmt/shared/resolver/device-groups//devices/device-id> { "properties":{ "isRestProxyEnabled":true, } }

     

3 Replies

  • This does work in 5.0, found the answer in the Bigiq 4.5 REST API Reference. You have to issue a PATCH call to the device URL on the BigIQ to enable it.

     

    PATCH to https://localhost/mgmt/shared/resolver/device-groups//devices/device-id> { "properties":{ "isRestProxyEnabled":true, } }

     

    • Jon_Calalang_26's avatar
      Jon_Calalang_26
      Historic F5 Account

      Lets add some depth to this:

       

      First you need to pull your device UUID from the managed device groups on your BIGIQ with something like:

       

      GET

       

      Once you have the UUID of your BIGIQ you will need to add the property for being managed by a rest proxy (the syntax above has some errors in it)

       

      PATCH

       

      Body: { "properties":{ "isRestProxyEnabled":true } }

       

      Once the flag is set you can start sending your rest calls through your BIGIQ 5.X installation with the leading path, example of a GET Node call:

       

      GET

       

      Hope this helps!

       

      Jon

       

  • We did some tests with BIG-IQ v5.3 as REST API proxy using the role based access schema (RBAC) to limit the priviledges of the API user.

     

    Tests went pretty well.

     

    The role based access for the REST API user now seems to be broken in BIG-IQ v5.4 (and HF1). It´s always required to provide Admin priviledges to the API user.

     

    Otherwise you will be prompted with a JSON body containing a "500 - internal server error" message.

     

    Tests with v5.4 were done on based on temp licenses. That´s why I wasnt able to open a service request with the F5 support team yet.