Forum Discussion
JRahm
Jun 15, 2022Admin
that is the right method. check your logs to see if there was a local error on the BIG-IP. From bigrest in python:
In[3]: from bigrest.bigip import BIGIP
In[4]: b = BIGIP('ltm3.test.local', 'admin', 'admin', request_token=True)
In[5]: x = b.load('/mgmt/tm/cm/sync-status')
In[6]: print(x.properties.get('entries'))
Out[6]: {'https://localhost/mgmt/tm/cm/sync-status/0': {'nestedStats': {'entries': {'color': {'description': 'green'}, 'https://localhost/mgmt/tm/cm/syncStatus/0/details': {'nestedStats': {'entries': {'https://localhost/mgmt/tm/cm/syncStatus/0/details/0': {'nestedStats': {'entries': {'details': {'description': 'Optional action: Add a device to the trust domain'}}}}}}}, 'mode': {'description': 'standalone'}, 'status': {'description': 'Standalone'}, 'summary': {'description': ' '}}}}}