Forum Discussion
Rich_W__77692
Oct 23, 2012Cirrus
Adding a user with Ruby & iControl
Hello.
I've been knocking my brains out trying to get the Ruby iControl gem to add a user to a device. The complex type on this one is throwing me for a loop. If I can get the simple code down, ...
Rich_W__77692
Nov 02, 2012Cirrus
Mr. Watkins,
I had extra [] pairs in there I didn't need ... Your code worked like a charm.
I am using Ruby 1.9.3, so when using the F5 gem, I had to install the soap4r-ruby1.9 gem as mentioned in a previous post. All the warning messages associated with plain soap4r have dissapeared save one:
/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use Stringencode instead.
I'm not sure if it is related to soap4r-ruby1.9 ...
I have also been playing around using iControl with the Savon gem (http://savonrb.com) with good results. Have you considered giving Savon a try?
I also use rvm (http://rvm.io) to test with different versions of Ruby.
I am a life long geek, but I will admit to being fairly new to Ruby and very new to soap & F5 devices ... :) Wish me luck.
A HUGE thank you for your help.
rjwiii
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