Forum Discussion
Brian_Herr_1028
Nimbostratus
Dec 07, 2004Perl: How to get the values of enumerated types
It seems that any enumerated value queried using SOAP::Lite and iControlTypeCast.pm (from the SDK) returns the value of 1.
I'm not able to get any value other than 1 from LocalLB/PoolMe...
Loc_Pham_101863
Dec 07, 2004Historic F5 Account
If the object is actually enabled, then the "enabled_status" will be 1. You should do a cross check via other iControl call or CLI/GUI to see if the object is really enabled or not.
However, the object may be enabled, but its real status might be different. Therefore, you'll have to also look at the "availability_status" to really know if the object is actually available for service or not. The "availability_status" will return some color status to indicate the various conditions, as described by LocalLB::AvailabilityStatus in the SDK. If this availability status indicates any color status other than AVAILABILITY_STATUS_GREEN, you may also check the "status_description" field for the reason string.
Loc
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
