Forum Discussion
David_Murphy_22
Nimbostratus
Dec 20, 2006iControl 'switchboot -l' equivalent ?
Is there an iControl method to get the same information that the CLI command 'switchboot -l' returns? Thanks.
1 Reply
- Take a look at the System::SoftwareManagement interface. The get_boot_location() method will return the active boot location. There isn't a convenient call to list all boot locations, but you can use the get_boot_image_information() method that returns a text/blob with the output of the install audit script and that contains all active boot locations (or "Slots" as referred to in that data. Just grep for the string "visible_name" and you'll get all of the available locations.
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