Forum Discussion
Mat_58707
Mar 06, 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().create_string_class(m_StringClass);
m_interfaces.getLocalLBClass().set_string_class_member_data_value(m_StringClass, membersValues);
It works fine.
Then I tried to create external string.
1) First I created an external class, which works fine. But I had to create an empty file manualy before:
LocalLBClassMetaInformation[] localLBClassMetaInformations = new LocalLBClassMetaInformation[1];
localLBClassMetaInformations[0] = new LocalLBClassMetaInformation();
localLBClassMetaInformations[0].setClass_name("myClass");
localLBClassMetaInformations[0].setClass_type(LocalLBClassClassType.CLASS_TYPE_STRING);
localLBClassMetaInformations[0].setFile_name("myList.bigip");
localLBClassMetaInformations[0].setFile_mode(LocalLBClassFileModeType.FILE_MODE_TYPE_READ_WRITE);
localLBClassMetaInformations[0].setFile_format(LocalLBClassFileFormatType.FILE_FORMAT_CSV);
m_interfaces.getLocalLBClass().create_external_class(localLBClassMetaInformations);
2) Then I tried to use those methods but without any success, strings are not written anywhere:
m_interfaces.getLocalLBClass().set_string_class_member_data_value
m_interfaces.getLocalLBClass().add_string_class_member
Any idea please ??
I'm a little bit stuck now...
- hooleylistCirrostratusHi Mat,
- Mat_58707NimbostratusOk, no worries.
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