Notes |
|
(0000805)
|
user4
|
2008-09-19 08:59
|
|
mtn revision c6fe69a50bcb2a5d4ddd7b639454b357b821f405 |
|
|
(0000806)
|
user4
|
2008-09-19 08:59
|
|
Regis,
could you do the necessary tests to make sure everything works ?
Thanks,
Dominik |
|
|
(0001024)
|
rbalzard
|
2009-01-21 16:41
(edited on: 2009-01-21 16:43) |
|
I enabled SSH on our test switch. I am now able to connect to the switch through SSH.
Switches.conf is ok.
First tests do not work. Here is what we get when executing connect_and_read.pl (which uses CLI to 'show mac-address-table'):
[root@pf pf]# ./test/connect_and_read.pl
192.168.0.41
- sysUptime: 6 hours, 37:16.54
- nb Vlans : 8
- Uplinks: 17, 18, 19, 20, 21, 22, 23, 24
Undefined subroutine &Net::Appliance::Session::Transport::WNOHANG called at /usr/lib/perl5/site_perl/5.8.8/Net/Appliance/Session/Transport.pm line 66.
END failed--call queue aborted (0000001)
(F) The subroutine indicated hasn't been defined, or if it was, it has
since been undefined.
Uncaught exception from user code:
Undefined subroutine &Net::Appliance::Session::Transport::WNOHANG called at /usr/lib/perl5/site_perl/5.8.8/Net/Appliance/Session/Transport.pm line 66.
END failed--call queue aborted.
at ./test/connect_and_read.pl line 0
Unbalanced scopes: 4 more ENTERs than LEAVEs
Unbalanced saves: 140 more saves than restores
Unbalanced tmps: 2 more allocs than frees
After a couple of prints, it looks like the problem appears when sending the command to the CLI. Line 857 in Cisco.pm
my @tmp = $session->cmd($command);
|
|
|
(0001030)
|
user4
|
2009-01-22 11:36
|
|
I notified Oliver Gorwits, the Net::Appliance::Session maintainer, about the issue |
|
|
(0001033)
|
user4
|
2009-01-23 06:18
|
|
Regis, the issue should be fixed in Net::Appliance::Session 1.36 |
|