mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
Updated MR
This commit is contained in:
parent
98bc73a83a
commit
58aeb59b2c
@ -182,7 +182,7 @@ SET @model_name = 'Juniper-Generic';
|
||||
SET @template_name = 'Juniper-Generic';
|
||||
SET @agent_data_template_name = 'Juniper-Generic';
|
||||
SET @script_test = 'expect:root@%
cli\n
exit\n';
|
||||
SET @script_get_config = 'expect:root@%
cli\n
expect:root>
capture:show configuration\n
capture:\n
quit\n
expect:root@%
exit\n';
|
||||
SET @script_get_config = 'expect:root@%
cli\n
expect:root>
capture:show configuration | no-more\n
capture:\n
quit\n
expect:root@%
exit\n';
|
||||
SET @script_set_config = 'expect:root@%
cli\n
expect:root>
configure\n
load override terminal\n
_applyconfigbackup_\n
commit\n
exit\n';
|
||||
SET @script_get_firmware = 'expect:root@%
cli\n
expect:root>
capture:show version|match Junos:\n
capture: \n
quit\n
expect:root@%
exit\n';
|
||||
SET @script_set_firmware = 'expect:root@%
cli\n
expect:root>
save software from tftp _TFTP_SERVER_IP_ _FIRMWARE_NAME_ to flash\n
reset\n
exit\n';
|
||||
|
@ -2553,7 +2553,7 @@ INSERT INTO `tncm_script` VALUES
|
||||
(12,5,''),
|
||||
(13,7,'enable\n
expect:Password:\s*
_enablepass_\n
term length 0\n
capture:show version | i IOS Software\n
exit\n'),
|
||||
(14,0,'expect:root@%
cli\n
exit\n'),
|
||||
(15,1,'expect:root@%
cli\n
expect:root>
capture:show configuration\n
capture:\n
quit\n
expect:root@%
exit\n'),
|
||||
(15,1,'expect:root@%
cli\n
expect:root>
capture:show configuration | no-more\n
capture:\n
quit\n
expect:root@%
exit\n'),
|
||||
(16,2,'expect:root@%
cli\n
expect:root>
configure\n
load override terminal\n
_applyconfigbackup_\n
commit\n
exit\n'),
|
||||
(17,3,'expect:root@%
cli\n
expect:root>
capture:show version|match Junos:\n
capture: \n
quit\n
expect:root@%
exit\n'),
|
||||
(18,4,'expect:root@%
cli\n
expect:root>
save software from tftp _TFTP_SERVER_IP_ _FIRMWARE_NAME_ to flash\n
reset\n
exit\n'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user