Forum Discussion
Bret_Johnson_11
Jun 06, 2012Nimbostratus
How can I generically get all LB objects & attributes via iControl?
I want to use iControl to dump, in a generic way, all pools, virtuals, profiles, iRules, etc. and all of their attributes. I'd like to be able to read (and actually write) this information in the generic tcl-ish config format output by "bigpipe list". See an example below. Put another way, I'd like to implement the "bigpipe list" command myself, in Java via iControl. How can I do that? I've looked through most all the API and just don't see how to read & write objects in this generic way, without explicitly coding for every kind of attribute that might appear.
pool test-pool-III {
monitor all http
members 10.30.50.8:http {}
}
virtual ATL_ML_CNS_PR_HTTPS {
snat automap
pool ATL_ML_CNS_PR
destination 66.54.66.195:https
ip protocol tcp
}
- John_Gruber_432Historic F5 AccountIf you are looking for a serialized format of the bigip configuration, you can directly download the /config files from the BigIP. Let the product developers do your work for you!
- Bret_Johnson_11NimbostratusThanks. Yes, I considered that. I want to dump individual objects sometimes, but I could parse them out.
- John_Gruber_432Historic F5 AccountSorry for the delay.. I was traveling yesterday and the message hit me in the air!
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