Oliver Gorwits
/
2.400002
(ABRAXXA on 2023-09-07)
2.400001
(ABRAXXA on 2023-09-07)
2.400000
(OLIVER on 2023-08-25)
2.300005
(OLIVER on 2023-07-20)
2.300004
(OLIVER on 2023-03-23)
2.300003
(OLIVER on 2019-04-19)
2.300002
(OLIVER on 2017-10-14)
2.300000
(OLIVER on 2017-10-11)
2.200009
(OLIVER on 2017-07-25)
2.200008
(OLIVER on 2017-07-25)
2.200007_001 DEV
(OLIVER on 2017-07-19)
2.200006
(OLIVER on 2016-09-30)
2.200005
(OLIVER on 2016-05-18)
2.200003
(OLIVER on 2016-05-13)
2.200002
(OLIVER on 2015-02-22)
1.122530
(OLIVER on 2012-09-09)
1.122100
(OLIVER on 2012-07-28)
1.122010
(OLIVER on 2012-07-19)
'
2.200001
(OLIVER on 2015-01-06)
2.200000
(OLIVER on 2015-01-06)
2.143070
(OLIVER on 2014-11-03)
2.142720
(OLIVER on 2014-09-29)
2.142010
(OLIVER on 2014-07-20)
2.141520
(OLIVER on 2014-06-01)
2.133420
(OLIVER on 2013-12-08)
2.131260
(OLIVER on 2013-05-06)
2.130880
(OLIVER on 2013-03-29)
2.123620
(OLIVER on 2012-12-27)
2.123612
(OLIVER on 2012-12-26)
2.123611
(OLIVER on 2012-12-26)
2.123610
(OLIVER on 2012-12-26)
2.123370_002 DEV
(OLIVER on 2012-12-02)
2.123300_001 DEV
(OLIVER on 2012-11-25)
2.123270
(OLIVER on 2012-11-22)
2.122940
(OLIVER on 2012-10-20)
2.122730
(OLIVER on 2012-09-29)
2.122630
(OLIVER on 2012-09-19)
1.122020_002 DEV
(OLIVER on 2012-07-20)
1.122011_001 DEV
(OLIVER on 2012-07-19)
1.121990_002 DEV
(OLIVER on 2012-07-17)
1.121640
(OLIVER on 2012-06-12)
1.121570
(OLIVER on 2012-06-05)
1.120670
(OLIVER on 2012-03-07)
1.120560
(OLIVER on 2012-02-25)
1.120042
(OLIVER on 2012-01-04)
1.120040
(OLIVER on 2012-01-04)
1.113610
(OLIVER on 2011-12-27)
1.113600
(OLIVER on 2011-12-26)
1.112610
(OLIVER on 2011-09-18)
1.112602
(OLIVER on 2011-09-17)
1.112601
(OLIVER on 2011-09-17)
1.112600
(OLIVER on 2011-09-17)
1.112190
(OLIVER on 2011-08-07)
1.111590
(OLIVER on 2011-06-08)
1.111530
(OLIVER on 2011-06-02)
1.111500
(OLIVER on 2011-05-30)
1.111150
(OLIVER on 2011-04-25)
1.110911
(OLIVER on 2011-04-01)
1.110910
(OLIVER on 2011-04-01)
1.110900
(OLIVER on 2011-03-31)
1.110891
(OLIVER on 2011-03-30)
1.110890
(OLIVER on 2011-03-30)
Net-CLI-Interact-2.200006
River stage one
• 2 direct dependents
• 2 total dependents
6 ++
/
README.md
Automating command line interface (CLI) interactions is not a new idea, but
can be tricky to implement. This module aims to provide a simple and
manageable interface to CLI interactions, supporting:
SSH, Telnet and Serial-Line connections
Unix and Windows support
Reuseable device command phrasebooks
If you're a new user, please read the
Tutorial .
There's also a
Cookbook
and a
Phrasebook Listing .
Installation
Using cpanm:
cpanm Net::CLI::Interact
Or manually, from the source:
perl Makefile.PL
make test && make install
Example Usage
use Net::CLI::Interact;
my $s = Net::CLI::Interact->new({
personality => 'cisco',
transport => 'Telnet',
connect_options => { host => '192.0.2.1' },
});
# respond to a usename/password prompt
$s->macro('to_user_exec', {
params => ['my_username', 'my_password'],
});
my $interfaces = $s->cmd('show ip interfaces brief');
$s->macro('to_priv_exec', {
params => ['my_password'],
});
# matched prompt is updated automatically
# paged output is slurped into one response
$s->macro('show_run');
my $config = $s->last_response;
For a more complete worked example check out the
Net::Appliance::Session
distribution, for which this module was written.
For more information on the API, please check out
Net::CLI::Interact's complete documentation
on CPAN.
Copyright and License
This software is copyright (c) 2014-2015 by Oliver Gorwits.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.