Forum Discussion
George_33482
Nimbostratus
Feb 02, 2012Link Controller Setup
Hello,
I have a LC with three routers and four links L1,L2,L3,L4.
The customer requirement is two load balance outbound and inbound traffic.
1-For the outbound traffic ...
pandian912_7000
Nimbostratus
Nov 22, 2012How do i print the statistics of a node via icontrol ruby
I need to know a way to display the data in Common::StatisticType
which gives the statistics of a node like connection statistics etc
- snovakov_86258Jan 31, 2012
Nimbostratus
If I'm not mistaken, I believe that iControl is written in Perl. That's why I stick with Perl. No need for using annoying WSDL files, either. - yozik_100692Jan 31, 2012
Nimbostratus
thanks for the quick answer. It's unfortunate that the slowness is so noticable. Trust me I'd love to stick with perl, but I need to re-write the code so that everyone can support it.Guess I need to find a way to make things appear not so slow.
--
Jeremy
- snovakov_86258Jan 31, 2012
Nimbostratus
I hear ya, Jeremy. It's funny, but to me object-oriented Perl (a-la Damian Conway) is no more difficult to understand and write than Python. And the environment is noticeably faster in Perl, too, as you've discovered. Too bad everyone can't just get along... - mhite_60883Jan 31, 2012
Cirrocumulus
Have you tried referencing the WSDL locally rather than downloading it? That might give you a performance bump. Also, you can probably eliminate a lot of back-and-forth if you use V11 transactions (where appropriate). - yozik_100692Jan 31, 2012
Nimbostratus
mhite, no I haven'tdo you have some reference code on how to do that ?
I'm currently just doing the wsdsl = ['LocalLB.VirtualServer'] as shown in the examples
--
Jeremy
- mhite_60883Jan 31, 2012
Cirrocumulus
class BIGIP(__builtin__.object) - yozik_100692Jan 31, 2012
Nimbostratus
thanksI'll spend some time on this and see if there are any improvements
--
Jeremy
- Jan 31, 2012Posted By snovakov on 01/31/2012 09:44 AM
- yozik_100692Jan 31, 2012
Nimbostratus
Joe,thanks for the information. It helps my understanding of how things run under the hood a little bit better. I'm partial to perl as well but got tired of using CGI::Ajax and wanted to move over to web2py. Any how, I'm working on configuring the BIGIP object to use a local copy of the wsdl to see if that helps with the delay.
thanks
--
Jeremy
- Jan 31, 2012That's the first I've heard of using CGI::Ajax for iControl. I've only used SOAP::Lite in the past. I guess from your comment, it's probably not worth exploring B-)...