Forum Discussion
Mat_58707
Mar 07, 2012Nimbostratus
External String with iControl SDK
Hi there
I am using iControl SDK v10.2.0 but I cannot manage to write external strings.
For creating internal string I used methods:
m_interfaces.getLocalLBClass().cr...
Mar 07, 2012
External classes are primarily so you don't have to store large classes in the main bigip.conf configuration file. The contents of the external class is put in a separate file on the file system and a pointer to that file is all that's contained in the bigip.conf file.
The way you interface with an external file is different as well. Since it's contents are not maintained within the main configuration, you need to treat it like you would other files in the system. By that, I mean you need to upload/download the entire content if you want to make changes to it. We don't have iControl methods to add/remove items in external files.
The System.ConfigSync upload_file and download_file methods will allow you to, well, upload and download files to the system. This is the way you'll need to go if you want to manipulate entries in external files.
The methods you were pointing to for set_string_class_member and data_value are for internal string classes, not external.
Hope this helps...
-Joe
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