Forum Discussion
Prakash_Krishna
Nimbostratus
Feb 18, 2016[iControl Rest]Is there any way to get the current active device and next active device name of a traffic group
Dear Experts,
I have a requirement to get the current active device and next active device of a particular Traffic Group using iControl RestAPI. Since F5 GUI shows these details in list of Traff...
Andrew_Husking
Cirrus
Feb 23, 2016if you hit: https:///mgmt/tm/cm/device/
You will get a JSON dataset that within it has (for us the pair of F5's) each F5 in the HA, and under each F5 there is a value failoverState
so for us in php reading the variable it's $JSON["items"][0]["failoverState"] and $JSON["items"][1]["failoverState"] for the failover state and $JSON["items"][0]["name"] for the device name.
Hope this helps
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects