Forum Discussion

dani_salvado's avatar
dani_salvado
Icon for Altostratus rankAltostratus
Feb 09, 2023
Solved

Use the REST proxy on the BIG-IQ system ERROR

Hello, I'm working in a local environment trying to use the REST proxy on the BIG-IQ system with the objective of acquire certain info of a BIG-IP.  Once I've obtained the BIG-IQ token, discovered ...
  • dani_salvado's avatar
    dani_salvado
    Feb 13, 2023

    Finally I solved it. It was just necessary to PATCH the BIGIP through the BIGIQ by changing the state manually, as follows.

    data = {
    'state': 'ACTIVE'
    }
    url = "https://" + ip + "/mgmt/shared/resolver/device-groups/cm-bigip-allBigIpDevices/devices/4ad12733-95ea-47b0-a562-dd6ac6da5adc"
    response = requests.patch(url, auth=HTTPBasicAuth('admin', 'psw'), json=data, verify=False)

     Thanks for everything!