Forum Discussion
Michael_57183
Nimbostratus
Feb 06, 2012set Session Status using LocalLB::SessionStatus
Hi, I'm trying to set a node's session status using the iControl API on a BIGIP v11.1.0 server. Looking through the API documentation, I found LocalLB::Pool::set_member_session_en...
Jun 24, 2013
I believe the error is coming from the 3rd "session_states" parameter. The API calls for a 2-d array of Common.EnabledState enums.
https://devcentral.f5.com/wiki/iControl.LocalLB__Pool__set_member_session_enabled_state.ashx
set_member_session_enabled_state(
in String [] pool_names,
in Common__AddressPort [] [] members,
in EnabledState [] [] session_states
);
EnabledState is an enum with a value of "STATE_ENABLED" or "STATE_DISABLED". You are passing in what looks like a 2-d array of structures containing a member and state.
The server is most likely trying to parse the value of the enum and is coming across a structure instead.
-Joe
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