r4515 reverting revision r4510 cause it does not help at all. More accurate work...
authorAlexey Andriyanov <alan@al-an.info>
Thu, 19 May 2011 18:41:30 +0000 (18:41 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Thu, 19 May 2011 18:41:30 +0000 (18:41 +0000)
gateways/deviceconfig/nxos4.connector

index c05d9c2..3f90c13 100755 (executable)
@@ -43,7 +43,6 @@ if (!defined($username)) {
 my $session = Net::Telnet::Cisco->new('Host' => $endpoint, 
   Prompt => ' /(?:^|[\x0a\x0d0\0]+)[\w.-]+\s?(?:\(config[^\)]*\))?\s?[\$#>]\s?(?:\(enable\))?\s*$/',
 );
-$session->ignore_warnings(1);
 $session->more_prompt('/(?:^|[\x0a\x0d\0]+)\s*(?:\x1b\S{1,3})?\s*--More--/');
 $session->login($username, $password);
 if ($enable_password ne "-") {