Forum Discussion

scotttaylor_303's avatar
scotttaylor_303
Icon for Nimbostratus rankNimbostratus
Aug 09, 2017

BIGIQ REST API device type

Hello, we are trying to automate BIG-IQ via REST API calls and are having trouble setting a newly added device to 'managed' type.

 

We have APIs to successfully add device group, add device and can do discovery however in the 'Registration Keys' section, the devices we are adding are showing as 'Device Type' = 'unmanaged'.

 

I am thinking this may be a property that needs to be set when running the add device call. From the API guide, the body of the call is as follows:

 

{ "address":"x.x.x.x", "userName" : "admin", "password" : "", "rootUser" : "root", "rootPassword" : "", "properties" : { "prop" : "value" }, "automaticallyUpdateFramework": "true" }

 

Do we need to pass {"device_type":"managed"} or something similar in the properties section? I've been unable to locate a comprehensive listing of what property values can be added in that section.

 

Thanks, Scott

 

1 Reply

  • I suspect you have assigned a regkey from the registration key pool to this particular BIG-IP before adding the BIG-IP to the BIG-IQ. If that is the case, you will have to "assign" the regkey to the device either via REST or via the BIG-IQ GUI. I would recommend attempting this on the BIG-IP when it is in the standby state.

     

    How-To-Guides - RegKey pool license

     

    Sub-section: Assign a license to a managed device