Forum Discussion
Jon66_72715
Nimbostratus
Oct 08, 2012Looking for help with add_persistence_profile
All,
Looking for an example on how to add a default persistence profile to a virtual server. I see the example in the api doc, just not exactly sure how I set the profile.
add_persistence_...
Jonathan_Scholi
Cirrostratus
Oct 09, 2012Java example:
String persistenceProfile = the_persistence_you_want;
LocalLBVirtualServerVirtualServerPersistence[][] persistence_profiles = new LocalLBVirtualServerVirtualServerPersistence[1][1];
LocalLBVirtualServerVirtualServerPersistence localPersistence = new LocalLBVirtualServerVirtualServerPersistence();
localPersistence.setProfile_name(persistenceProfile);
localPersistence.setDefault_profile(true);
persistence_profiles[0][0] = localPersistence;
iControlInterfaces.getLocalLBVirtualServer().add_persistence_profile(virtualServers,persistence_profiles);
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
