Forum Discussion
Conrad_Link_166
Nimbostratus
May 21, 2004saving changes made via ITCMLocalLB.Class
I'm using the ITCMLocalLB.Class iControl functions to modify external string classes (using add_string_class_members and delete_string_class_members). I've found that after adding or removing entries ...
May 21, 2004
Conrad,
The behavior of iControl is the same as using the CLI: commands are not persistent until a "save" command is issued.
As you found, the ConfigSync interface is indeed the place to do this. Since the last SDK release several flags have been added to the SaveMode enum allowing for the equivalent of bigpipe save and bigpipe base save.
/**
* An enumeration of save flags used in configuration save.
*
* SAVE_FULL Saves a complete configuration that can be used to set up a device from scratch.
* SAVE_COMMON Saves only a configuration that can be replicated to other devices.
* SAVE_HIGH_LEVEL_CONFIG Saves only the high-level configuration (virtual servers, pools, members, monitors...)
* SAVE_BASE_LEVEL_CONFIG Saves only the base configuration (VLANs, self IPs).
*
**/
enum SaveMode
{
SAVE_FULL,
SAVE_COMMON,
SAVE_HIGH_LEVEL_CONFIG,
SAVE_BASE_LEVEL_CONFIG
};
The values are [b]SAVE_HIGH_LEVEL_CONFIG which is analogous to bigpipe save and SAVE_BASE_LEVEL_CONFIG which is analogous to bigpipe base save.
These features were added as of BIG-IP v4.5PTF06. You should be able to query the WSDL
http://[bigip_address]/iControl/iControlPortal.cgi?WSDL=ITCMSystem.ConfigSync
and look for the SaveMode type declaration to verify if it is supported on your device.
BTW, this will be documented in the upcoming iControl SDK v4.6.2 scheduled in July.
Also, if you get a chance when you get things working, if you could post a summary of what kind of project you are working on we'd love to hear about it. The more information we get about the types of projects are being worked on, helps us with enhancing the product for the future.
-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
