diff options
author | Ivan Kohler <ivan@freeside.biz> | 2017-08-19 15:49:12 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2017-08-19 15:49:12 -0700 |
commit | ea5ea999cbd41dba4801091a3b096551e69d813d (patch) | |
tree | e8d3c6aa27e16d1cee2c78a64e388a1c9b1fc164 /FS/FS/part_export/broadband_shellcommands_expect.pm | |
parent | 263ace9f4ee5762e3897bbb747ab162e6b7d88f7 (diff) |
expect-style ssh interaction, for interation w/cisco and other networking eqipment, RT#77180
Diffstat (limited to 'FS/FS/part_export/broadband_shellcommands_expect.pm')
-rw-r--r-- | FS/FS/part_export/broadband_shellcommands_expect.pm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/FS/FS/part_export/broadband_shellcommands_expect.pm b/FS/FS/part_export/broadband_shellcommands_expect.pm new file mode 100644 index 0000000..ec525d3 --- /dev/null +++ b/FS/FS/part_export/broadband_shellcommands_expect.pm @@ -0,0 +1,19 @@ +package FS::part_export::broadband_shellcommands_expect; +use base qw( FS::part_export::shellcommands_expect ); + +use strict; +use FS::part_export::broadband_shellcommands; + +our %info = %FS::part_export::shellcommands_expect::info; +$info{'svc'} = 'svc_broadband'; +$info{'desc'} = 'Real time export via remote SSH, with interactive ("Expect"-like) scripting, for svc_broadband services'; + +sub _export_subvars { + FS::part_export::broadband_shellcommands::_export_subvars(@_) +} + +sub _export_subvars_replace { + FS::part_export::broadband_shellcommands::_export_subvars_replace(@_) +} + +1; |