Forum Discussion
jross_47179
Dec 15, 2010Nimbostratus
LocalLB::Class::set_string_class_member_data_value does not work
The LocalLB::Class::set_string_class_member_data_value API does not appear to save values as expected.
First, a call to add_string_class_member() on an existing data group is immediately fol...
Nigel_Benns_660
Jun 26, 2013Nimbostratus
This is working for me in Ruby on Version 11 api:
!/usr/bin/env ruby
require 'rubygems'
require 'f5-icontrol'
require 'json'
require 'socket'
bigip = F5::IControl.new(
'host',
'user',
'pass',
[
'Management.Partition',
'LocalLB.Class'
]
).get_interfaces
env = ARGV.shift
nodes = ARGV
begin
bigip["LocalLB.Class"].create_string_class([
{
"name" => "test-auto",
"members" => [
"test1",
"test2"
]
}
])
bigip["LocalLB.Class"].set_string_class_member_data_value(
[
{
'name' => "test-auto",
'members' => [
"test1",
"test2"
]
}
],
[
[
"hi",
"meow"
]
]
)
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