Updated MR

This commit is contained in:
Enrique Martin 2023-11-17 10:22:52 +01:00
parent 98bc73a83a
commit 58aeb59b2c
2 changed files with 2 additions and 2 deletions

View File

@ -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';

View File

@ -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'),