diff --git a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-asyncssh].yaml b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-asyncssh].yaml index baa074f..336ed25 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-asyncssh].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-asyncssh].yaml @@ -74,7 +74,7 @@ localhost:21022:AsyncsshTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 17:23:47 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:11:28 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-asynctelnet].yaml b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-asynctelnet].yaml index 115cce1..1aab991 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-asynctelnet].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-asynctelnet].yaml @@ -86,7 +86,7 @@ localhost:21023:AsynctelnetTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 17:23:54 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:11:34 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-paramiko].yaml b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-paramiko].yaml index e79266e..883a3e5 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-paramiko].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-paramiko].yaml @@ -74,7 +74,7 @@ localhost:21022:ParamikoTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ - \ bytes\n!\n! Last configuration change at 17:23:14 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:10:53 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -122,7 +122,7 @@ localhost:21022:ParamikoTransport::0: \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ - \ 33303431 38313434 \n 375A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ @@ -136,15 +136,15 @@ localhost:21022:ParamikoTransport::0: \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ - \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 0100AE93 90E698A6\ - \ B5E2E1BA 725576D0 \n FDF137CE F47C73D6 C1E75FDC F403C6B5 5058896E A5EA9154\ - \ D746B937 B480F945 \n 5C304BC1 72947D9B 207E5B77 191F26F1 ACA2807E 1F3CAA3A\ - \ 2A905BF2 0034C32E \n C7B96549 C0EEBAE7 BF416CBB 291C2538 3CAC856F EBF0CB93\ - \ 0C44DDDE 3E355383 \n F0BD3D13 394CBB22 6091F5C2 BA1C6A8B FF953356 1D6BC7D9\ - \ 0D26C810 6D6FB8A6 \n EDCBE2A3 A4E1E2EA BC36FF03 16A0983B 6D32722C D24B9DF4\ - \ EB9C1D2F AE5673ED \n 36270F50 65B0FF9A 5E76C08A 900E879E A2C1D396 632A1FD6\ - \ 8BC48240 00D04059 \n BD392BF6 106E5057 729B9DBB 8EC4E28F 4A66FF98 C828A603\ - \ E2C93C51 3DF0FE48 \n CD6B4C4C 7E706AB2 1CA59D88 4A903BAA 3AA4\n \tquit\n\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-ssh2].yaml b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-ssh2].yaml index fd2cbf7..6901b16 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-ssh2].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-ssh2].yaml @@ -74,7 +74,7 @@ localhost:21022:Ssh2Transport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ - \ bytes\n!\n! Last configuration change at 17:23:14 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:10:53 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -122,7 +122,7 @@ localhost:21022:Ssh2Transport::0: \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ - \ 33303431 38313434 \n 375A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ @@ -136,15 +136,15 @@ localhost:21022:Ssh2Transport::0: \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ - \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 0100AE93 90E698A6\ - \ B5E2E1BA 725576D0 \n FDF137CE F47C73D6 C1E75FDC F403C6B5 5058896E A5EA9154\ - \ D746B937 B480F945 \n 5C304BC1 72947D9B 207E5B77 191F26F1 ACA2807E 1F3CAA3A\ - \ 2A905BF2 0034C32E \n C7B96549 C0EEBAE7 BF416CBB 291C2538 3CAC856F EBF0CB93\ - \ 0C44DDDE 3E355383 \n F0BD3D13 394CBB22 6091F5C2 BA1C6A8B FF953356 1D6BC7D9\ - \ 0D26C810 6D6FB8A6 \n EDCBE2A3 A4E1E2EA BC36FF03 16A0983B 6D32722C D24B9DF4\ - \ EB9C1D2F AE5673ED \n 36270F50 65B0FF9A 5E76C08A 900E879E A2C1D396 632A1FD6\ - \ 8BC48240 00D04059 \n BD392BF6 106E5057 729B9DBB 8EC4E28F 4A66FF98 C828A603\ - \ E2C93C51 3DF0FE48 \n CD6B4C4C 7E706AB2 1CA59D88 4A903BAA 3AA4\n \tquit\n\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-system].yaml b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-system].yaml index 964220b..d860f30 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-system].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-system].yaml @@ -81,7 +81,7 @@ localhost:21022:SystemTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ - \ bytes\n!\n! Last configuration change at 17:23:13 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:10:52 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -129,7 +129,7 @@ localhost:21022:SystemTransport::0: \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ - \ 33303431 38313434 \n 375A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ @@ -143,15 +143,15 @@ localhost:21022:SystemTransport::0: \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ - \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 0100AE93 90E698A6\ - \ B5E2E1BA 725576D0 \n FDF137CE F47C73D6 C1E75FDC F403C6B5 5058896E A5EA9154\ - \ D746B937 B480F945 \n 5C304BC1 72947D9B 207E5B77 191F26F1 ACA2807E 1F3CAA3A\ - \ 2A905BF2 0034C32E \n C7B96549 C0EEBAE7 BF416CBB 291C2538 3CAC856F EBF0CB93\ - \ 0C44DDDE 3E355383 \n F0BD3D13 394CBB22 6091F5C2 BA1C6A8B FF953356 1D6BC7D9\ - \ 0D26C810 6D6FB8A6 \n EDCBE2A3 A4E1E2EA BC36FF03 16A0983B 6D32722C D24B9DF4\ - \ EB9C1D2F AE5673ED \n 36270F50 65B0FF9A 5E76C08A 900E879E A2C1D396 632A1FD6\ - \ 8BC48240 00D04059 \n BD392BF6 106E5057 729B9DBB 8EC4E28F 4A66FF98 C828A603\ - \ E2C93C51 3DF0FE48 \n CD6B4C4C 7E706AB2 1CA59D88 4A903BAA 3AA4\n \tquit\n\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-telnet].yaml b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-telnet].yaml index 22f3f90..8b35312 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-telnet].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_get_config[cisco_iosxe-telnet].yaml @@ -86,7 +86,7 @@ localhost:21023:TelnetTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ - \ bytes\n!\n! Last configuration change at 17:23:15 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:10:54 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -134,7 +134,7 @@ localhost:21023:TelnetTransport::0: \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ - \ 33303431 38313434 \n 375A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ @@ -148,15 +148,15 @@ localhost:21023:TelnetTransport::0: \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ - \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 0100AE93 90E698A6\ - \ B5E2E1BA 725576D0 \n FDF137CE F47C73D6 C1E75FDC F403C6B5 5058896E A5EA9154\ - \ D746B937 B480F945 \n 5C304BC1 72947D9B 207E5B77 191F26F1 ACA2807E 1F3CAA3A\ - \ 2A905BF2 0034C32E \n C7B96549 C0EEBAE7 BF416CBB 291C2538 3CAC856F EBF0CB93\ - \ 0C44DDDE 3E355383 \n F0BD3D13 394CBB22 6091F5C2 BA1C6A8B FF953356 1D6BC7D9\ - \ 0D26C810 6D6FB8A6 \n EDCBE2A3 A4E1E2EA BC36FF03 16A0983B 6D32722C D24B9DF4\ - \ EB9C1D2F AE5673ED \n 36270F50 65B0FF9A 5E76C08A 900E879E A2C1D396 632A1FD6\ - \ 8BC48240 00D04059 \n BD392BF6 106E5057 729B9DBB 8EC4E28F 4A66FF98 C828A603\ - \ E2C93C51 3DF0FE48 \n CD6B4C4C 7E706AB2 1CA59D88 4A903BAA 3AA4\n \tquit\n\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-asyncssh].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-asyncssh].yaml index 7d45220..a39f1cf 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-asyncssh].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-asyncssh].yaml @@ -13,7 +13,7 @@ localhost:21022:AsyncsshTransport::0: - channel_output: '' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n\ncsr1000v#" + - channel_output: "\n\n\ncsr1000v#" expected_channel_input: terminal length 0 expected_channel_input_redacted: false - channel_output: "\ncsr1000v#terminal length 0" @@ -73,7 +73,7 @@ localhost:21022:AsyncsshTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485973504 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484302336 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -138,7 +138,7 @@ localhost:21022:AsyncsshTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 17:23:54 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:11:35 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-asynctelnet].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-asynctelnet].yaml index 3cf6b24..98c5085 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-asynctelnet].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-asynctelnet].yaml @@ -85,7 +85,7 @@ localhost:21023:AsynctelnetTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485973504 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484298240 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -150,7 +150,7 @@ localhost:21023:AsynctelnetTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 17:24:02 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:11:43 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-paramiko].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-paramiko].yaml index 86a4687..b836168 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-paramiko].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-paramiko].yaml @@ -73,7 +73,7 @@ localhost:21022:ParamikoTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485969408 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484310528 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -138,7 +138,7 @@ localhost:21022:ParamikoTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ - \ bytes\n!\n! Last configuration change at 17:23:18 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:10:57 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -186,7 +186,7 @@ localhost:21022:ParamikoTransport::0: \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ - \ 33303431 38313434 \n 375A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ @@ -200,15 +200,15 @@ localhost:21022:ParamikoTransport::0: \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ - \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 0100AE93 90E698A6\ - \ B5E2E1BA 725576D0 \n FDF137CE F47C73D6 C1E75FDC F403C6B5 5058896E A5EA9154\ - \ D746B937 B480F945 \n 5C304BC1 72947D9B 207E5B77 191F26F1 ACA2807E 1F3CAA3A\ - \ 2A905BF2 0034C32E \n C7B96549 C0EEBAE7 BF416CBB 291C2538 3CAC856F EBF0CB93\ - \ 0C44DDDE 3E355383 \n F0BD3D13 394CBB22 6091F5C2 BA1C6A8B FF953356 1D6BC7D9\ - \ 0D26C810 6D6FB8A6 \n EDCBE2A3 A4E1E2EA BC36FF03 16A0983B 6D32722C D24B9DF4\ - \ EB9C1D2F AE5673ED \n 36270F50 65B0FF9A 5E76C08A 900E879E A2C1D396 632A1FD6\ - \ 8BC48240 00D04059 \n BD392BF6 106E5057 729B9DBB 8EC4E28F 4A66FF98 C828A603\ - \ E2C93C51 3DF0FE48 \n CD6B4C4C 7E706AB2 1CA59D88 4A903BAA 3AA4\n \tquit\n\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-ssh2].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-ssh2].yaml index a253df8..2119120 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-ssh2].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-ssh2].yaml @@ -73,7 +73,7 @@ localhost:21022:Ssh2Transport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485969408 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484310528 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -138,7 +138,7 @@ localhost:21022:Ssh2Transport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ - \ bytes\n!\n! Last configuration change at 17:23:16 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:10:56 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -186,7 +186,7 @@ localhost:21022:Ssh2Transport::0: \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ - \ 33303431 38313434 \n 375A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ @@ -200,15 +200,15 @@ localhost:21022:Ssh2Transport::0: \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ - \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 0100AE93 90E698A6\ - \ B5E2E1BA 725576D0 \n FDF137CE F47C73D6 C1E75FDC F403C6B5 5058896E A5EA9154\ - \ D746B937 B480F945 \n 5C304BC1 72947D9B 207E5B77 191F26F1 ACA2807E 1F3CAA3A\ - \ 2A905BF2 0034C32E \n C7B96549 C0EEBAE7 BF416CBB 291C2538 3CAC856F EBF0CB93\ - \ 0C44DDDE 3E355383 \n F0BD3D13 394CBB22 6091F5C2 BA1C6A8B FF953356 1D6BC7D9\ - \ 0D26C810 6D6FB8A6 \n EDCBE2A3 A4E1E2EA BC36FF03 16A0983B 6D32722C D24B9DF4\ - \ EB9C1D2F AE5673ED \n 36270F50 65B0FF9A 5E76C08A 900E879E A2C1D396 632A1FD6\ - \ 8BC48240 00D04059 \n BD392BF6 106E5057 729B9DBB 8EC4E28F 4A66FF98 C828A603\ - \ E2C93C51 3DF0FE48 \n CD6B4C4C 7E706AB2 1CA59D88 4A903BAA 3AA4\n \tquit\n\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-system].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-system].yaml index 8daaaef..5644435 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-system].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-system].yaml @@ -80,7 +80,7 @@ localhost:21022:SystemTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485969408 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484310528 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -145,7 +145,7 @@ localhost:21022:SystemTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ - \ bytes\n!\n! Last configuration change at 17:23:15 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:10:54 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -193,7 +193,7 @@ localhost:21022:SystemTransport::0: \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ - \ 33303431 38313434 \n 375A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ @@ -207,15 +207,15 @@ localhost:21022:SystemTransport::0: \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ - \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 0100AE93 90E698A6\ - \ B5E2E1BA 725576D0 \n FDF137CE F47C73D6 C1E75FDC F403C6B5 5058896E A5EA9154\ - \ D746B937 B480F945 \n 5C304BC1 72947D9B 207E5B77 191F26F1 ACA2807E 1F3CAA3A\ - \ 2A905BF2 0034C32E \n C7B96549 C0EEBAE7 BF416CBB 291C2538 3CAC856F EBF0CB93\ - \ 0C44DDDE 3E355383 \n F0BD3D13 394CBB22 6091F5C2 BA1C6A8B FF953356 1D6BC7D9\ - \ 0D26C810 6D6FB8A6 \n EDCBE2A3 A4E1E2EA BC36FF03 16A0983B 6D32722C D24B9DF4\ - \ EB9C1D2F AE5673ED \n 36270F50 65B0FF9A 5E76C08A 900E879E A2C1D396 632A1FD6\ - \ 8BC48240 00D04059 \n BD392BF6 106E5057 729B9DBB 8EC4E28F 4A66FF98 C828A603\ - \ E2C93C51 3DF0FE48 \n CD6B4C4C 7E706AB2 1CA59D88 4A903BAA 3AA4\n \tquit\n\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-telnet].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-telnet].yaml index 165dc25..611eb14 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-telnet].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_abort[cisco_iosxe-telnet].yaml @@ -85,7 +85,7 @@ localhost:21023:TelnetTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485969408 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484310528 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -150,7 +150,7 @@ localhost:21023:TelnetTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ - \ bytes\n!\n! Last configuration change at 17:23:19 UTC Sun Apr 18 2021 by\ + \ bytes\n!\n! Last configuration change at 15:10:59 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -198,7 +198,7 @@ localhost:21023:TelnetTransport::0: \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ - \ 33303431 38313434 \n 375A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ @@ -212,15 +212,15 @@ localhost:21023:TelnetTransport::0: \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ - \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 0100AE93 90E698A6\ - \ B5E2E1BA 725576D0 \n FDF137CE F47C73D6 C1E75FDC F403C6B5 5058896E A5EA9154\ - \ D746B937 B480F945 \n 5C304BC1 72947D9B 207E5B77 191F26F1 ACA2807E 1F3CAA3A\ - \ 2A905BF2 0034C32E \n C7B96549 C0EEBAE7 BF416CBB 291C2538 3CAC856F EBF0CB93\ - \ 0C44DDDE 3E355383 \n F0BD3D13 394CBB22 6091F5C2 BA1C6A8B FF953356 1D6BC7D9\ - \ 0D26C810 6D6FB8A6 \n EDCBE2A3 A4E1E2EA BC36FF03 16A0983B 6D32722C D24B9DF4\ - \ EB9C1D2F AE5673ED \n 36270F50 65B0FF9A 5E76C08A 900E879E A2C1D396 632A1FD6\ - \ 8BC48240 00D04059 \n BD392BF6 106E5057 729B9DBB 8EC4E28F 4A66FF98 C828A603\ - \ E2C93C51 3DF0FE48 \n CD6B4C4C 7E706AB2 1CA59D88 4A903BAA 3AA4\n \tquit\n\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_commit[cisco_iosxe-asyncssh].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_commit[cisco_iosxe-asyncssh].yaml index 95b6f9f..c1b17c6 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_commit[cisco_iosxe-asyncssh].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_commit[cisco_iosxe-asyncssh].yaml @@ -73,7 +73,7 @@ localhost:21022:AsyncsshTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485547520 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484298240 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -1722,7 +1722,7 @@ localhost:21022:AsyncsshTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 18:50:01 UTC Tue Apr 20 2021 by\ + \ bytes\n!\n! Last configuration change at 15:11:44 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -1808,6 +1808,12 @@ localhost:21022:AsyncsshTransport::0: \ passes\nThe following commands are failed to apply to the IOS image.\n********\n\ Building configuration...\nCurrent configuration : 4844 bytes\n********\n\n\ \ncsr1000v#" + expected_channel_input: show run | i file prompt + expected_channel_input_redacted: false + - channel_output: show run | i file prompt + expected_channel_input: "\n" + expected_channel_input_redacted: false + - channel_output: "\ncsr1000v#" expected_channel_input: copy running-config startup-config expected_channel_input_redacted: false - channel_output: copy running-config startup-config diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_commit[cisco_iosxe-asynctelnet].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_commit[cisco_iosxe-asynctelnet].yaml index c3bcaa8..98f3355 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_commit[cisco_iosxe-asynctelnet].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_merge_diff_and_commit[cisco_iosxe-asynctelnet].yaml @@ -85,7 +85,7 @@ localhost:21023:AsynctelnetTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485547520 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484376064 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -1734,7 +1734,7 @@ localhost:21023:AsynctelnetTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 18:50:19 UTC Tue Apr 20 2021 by\ + \ bytes\n!\n! Last configuration change at 15:12:05 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -1820,6 +1820,12 @@ localhost:21023:AsynctelnetTransport::0: \ passes\nThe following commands are failed to apply to the IOS image.\n********\n\ Building configuration...\nCurrent configuration : 4844 bytes\n********\n\n\ \ncsr1000v#" + expected_channel_input: show run | i file prompt + expected_channel_input_redacted: false + - channel_output: show run | i file prompt + expected_channel_input: "\n" + expected_channel_input_redacted: false + - channel_output: "\ncsr1000v#" expected_channel_input: copy running-config startup-config expected_channel_input_redacted: false - channel_output: copy running-config startup-config diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-paramiko].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-paramiko].yaml index b93c06f..5e0d881 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-paramiko].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-paramiko].yaml @@ -73,7 +73,7 @@ localhost:21022:ParamikoTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485580288 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484302336 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -1683,7 +1683,7 @@ localhost:21022:ParamikoTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 18:49:47 UTC Tue Apr 20 2021 by\ + \ bytes\n!\n! Last configuration change at 15:11:15 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -1764,6 +1764,12 @@ localhost:21022:ParamikoTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nTotal number of passes: 0\nRollback Done\n\ncsr1000v#" + expected_channel_input: show run | i file prompt + expected_channel_input_redacted: false + - channel_output: show run | i file prompt + expected_channel_input: "\n" + expected_channel_input_redacted: false + - channel_output: "\ncsr1000v#" expected_channel_input: copy running-config startup-config expected_channel_input_redacted: false - channel_output: copy running-config startup-config diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-ssh2].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-ssh2].yaml index 72c8fa5..851dd37 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-ssh2].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-ssh2].yaml @@ -13,7 +13,7 @@ localhost:21022:Ssh2Transport::0: - channel_output: '' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n\n\ncsr1000v#" + - channel_output: "\n\ncsr1000v#" expected_channel_input: terminal length 0 expected_channel_input_redacted: false - channel_output: "\ncsr1000v#terminal length 0" @@ -73,7 +73,7 @@ localhost:21022:Ssh2Transport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485580288 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484302336 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -1683,7 +1683,7 @@ localhost:21022:Ssh2Transport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 18:49:40 UTC Tue Apr 20 2021 by\ + \ bytes\n!\n! Last configuration change at 15:11:08 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -1764,6 +1764,12 @@ localhost:21022:Ssh2Transport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nTotal number of passes: 0\nRollback Done\n\ncsr1000v#" + expected_channel_input: show run | i file prompt + expected_channel_input_redacted: false + - channel_output: show run | i file prompt + expected_channel_input: "\n" + expected_channel_input_redacted: false + - channel_output: "\ncsr1000v#" expected_channel_input: copy running-config startup-config expected_channel_input_redacted: false - channel_output: copy running-config startup-config diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-system].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-system].yaml index 9c8dc8b..eb4733c 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-system].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-system].yaml @@ -17,7 +17,7 @@ localhost:21022:SystemTransport::0: - channel_output: '' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n\n\ncsr1000v#" + - channel_output: "\n\n\n\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -80,7 +80,7 @@ localhost:21022:SystemTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485649920 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484310528 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -1683,14 +1683,43 @@ localhost:21022:SystemTransport::0: - channel_output: show archive config differences system:running-config flash:__SCRAPLI_CFG_SESSION_NAME__ expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n!Contextual Config Diffs:\n!No changes were found\n\ncsr1000v#" + - channel_output: "\n!Contextual Config Diffs:\n-crypto pki trustpoint TP-self-signed-422690288\n\ + \ -enrollment selfsigned\n -subject-name cn=IOS-Self-Signed-Certificate-422690288\n\ + \ -revocation-check none\n -rsakeypair TP-self-signed-422690288\n-crypto pki\ + \ certificate chain TP-self-signed-422690288\n -certificate self-signed 01\n\ + \ -3082032E 30820216 A0030201 02020101 300D0609 2A864886 F70D0101 05050030\n\ + \ -30312E30 2C060355 04031325 494F532D 53656C66 2D536967 6E65642D 43657274\n\ + \ -69666963 6174652D 34323236 39303238 38301E17 0D323130 34323131 34343231\n\ + \ -385A170D 33303031 30313030 30303030 5A303031 2E302C06 03550403 1325494F\n\ + \ -532D5365 6C662D53 69676E65 642D4365 72746966 69636174 652D3432 32363930\n\ + \ -32383830 82012230 0D06092A 864886F7 0D010101 05000382 010F0030 82010A02\n\ + \ -82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F 7D3AACC7 3B5ED6B2\n\ + \ -3F68308B 39990E36 EBD37E75 A4BEC830 3B2A690B 13830C49 2B25D19A E2B96F77\n\ + \ -BE553C56 EED3B3BB 6584D3BB B1765477 02E693D1 C2316AE4 4EE23F38 E346D59F\n\ + \ -D7949E95 C48D9020 FD03136D 57FA5A92 9B8A57CE D455621E A72B3D2C AAD3EB8B\n\ + \ -65CF62D5 C18B005B CA85EAB2 60DAE050 866B4C85 BDBEF084 0AA4560F C19B8AA5\n\ + \ -287090B9 6B035146 F42C3A94 F2EE4DD5 5A81EEC1 704D5584 77ADDBA7 4DF33581\n\ + \ -CABC4B99 B0FB35E9 25DF1AB1 C898CD50 C859B551 EEEF4A3B 703351E7 8094547B\n\ + \ -DB6AC6AC 066D8AAD 96AAF404 336424BB 07876BDD 56B0DEBA 4CE59AEF 58F9E6EF\n\ + \ -3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04 05300301 01FF301F\n\ + \ -0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7 015BA9DB CF56EF30\n\ + \ -1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701 5BA9DBCF 56EF300D\n\ + \ -06092A86 4886F70D 01010505 00038201 01006446 20F1E71B 02DEF574 3DF4B9FB\n\ + \ -99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E AB737ED3 C972C60D\n\ + \ -C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E AC43A6A7 D997061E\n\ + \ -0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB 87316676 2D784C1B\n\ + \ -82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE 52743E2C 0B5A33B6\n\ + \ -D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4 130245D9 1A543A3B\n\ + \ -AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E 598E8E5F 81D29B80\n\ + \ -C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6 602BC4F9 E45B35FF\n\ + \ -AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n -\tquit\n\ncsr1000v#" expected_channel_input: show running-config expected_channel_input_redacted: false - channel_output: show running-config expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 18:49:32 UTC Tue Apr 20 2021 by\ + - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 7040\ + \ bytes\n!\n! Last configuration change at 15:11:00 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -1705,35 +1734,64 @@ localhost:21022:SystemTransport::0: \ example.com\n!\n!\n!\nlogin on-success log\n!\n!\n!\n!\n!\n!\n!\nsubscriber\ \ templating\n! \n! \n! \n! \n!\n!\nmultilink bundle-name authenticated\n\ !\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\ncrypto pki trustpoint SLA-TrustPoint\n\ - \ enrollment pkcs12\n revocation-check crl\n!\n!\ncrypto pki certificate chain\ - \ SLA-TrustPoint\n certificate ca 01\n 30820321 30820209 A0030201 02020101\ - \ 300D0609 2A864886 F70D0101 0B050030 \n 32310E30 0C060355 040A1305 43697363\ - \ 6F312030 1E060355 04031317 43697363 \n 6F204C69 63656E73 696E6720 526F6F74\ - \ 20434130 1E170D31 33303533 30313934 \n 3834375A 170D3338 30353330 31393438\ - \ 34375A30 32310E30 0C060355 040A1305 \n 43697363 6F312030 1E060355 04031317\ - \ 43697363 6F204C69 63656E73 696E6720 \n 526F6F74 20434130 82012230 0D06092A\ - \ 864886F7 0D010101 05000382 010F0030 \n 82010A02 82010100 A6BCBD96 131E05F7\ - \ 145EA72C 2CD686E6 17222EA1 F1EFF64D \n CBB4C798 212AA147 C655D8D7 9471380D\ - \ 8711441E 1AAF071A 9CAE6388 8A38E520 \n 1C394D78 462EF239 C659F715 B98C0A59\ - \ 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE \n 4AA4E80D DB6FD1C9 60B1FD18 FFC69C96\ - \ 6FA68957 A2617DE7 104FDC5F EA2956AC \n 7390A3EB 2B5436AD C847A2C5 DAB553EB\ - \ 69A9A535 58E9F3E3 C0BD23CF 58BD7188 \n 68E69491 20F320E7 948E71D7 AE3BCC84\ - \ F10684C7 4BC8E00F 539BA42B 42C68BB7 \n C7479096 B4CB2D62 EA2F505D C7B062A4\ - \ 6811D95B E8250FC4 5D5D5FB8 8F27D191 \n C55F0D76 61F9A4CD 3D992327 A8BB03BD\ - \ 4E6D7069 7CBADF8B DF5F4368 95135E44 \n DFC7C6CF 04DD7FD1 02030100 01A34230\ - \ 40300E06 03551D0F 0101FF04 04030201 \n 06300F06 03551D13 0101FF04 05300301\ - \ 01FF301D 0603551D 0E041604 1449DC85 \n 4B3D31E5 1B3E6A17 606AF333 3D3B4C73\ - \ E8300D06 092A8648 86F70D01 010B0500 \n 03820101 00507F24 D3932A66 86025D9F\ - \ E838AE5C 6D4DF6B0 49631C78 240DA905 \n 604EDCDE FF4FED2B 77FC460E CD636FDB\ - \ DD44681E 3A5673AB 9093D3B1 6C9E3D8B \n D98987BF E40CBD9E 1AECA0C2 2189BB5C\ - \ 8FA85686 CD98B646 5575B146 8DFC66A8 \n 467A3DF4 4D565700 6ADF0F0D CF835015\ - \ 3C04FF7C 21E878AC 11BA9CD2 55A9232C \n 7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB\ - \ E973DE7F 5BDDEB86 C71E3B49 1765308B \n 5FB0DA06 B92AFE7F 494E8A9E 07B85737\ - \ F3A58BE1 1A48A229 C37C1E69 39F08678 \n 80DDCD16 D6BACECA EEBC7CF9 8428787B\ - \ 35202CDC 60E4616A B623CDBD 230E3AFB \n 418616A9 4093E049 4D10AB75 27E86F73\ - \ 932E35B5 8862FDAE 0275156F 719BB2F0 \n D697DF7F 28\n \tquit\n!\nlicense\ - \ udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\narchive\n\ - \ log config\n logging enable\n path bootflash:\nmemory free low-watermark\ + \ enrollment pkcs12\n revocation-check crl\n!\ncrypto pki trustpoint TP-self-signed-422690288\n\ + \ enrollment selfsigned\n subject-name cn=IOS-Self-Signed-Certificate-422690288\n\ + \ revocation-check none\n rsakeypair TP-self-signed-422690288\n!\n!\ncrypto\ + \ pki certificate chain SLA-TrustPoint\n certificate ca 01\n 30820321 30820209\ + \ A0030201 02020101 300D0609 2A864886 F70D0101 0B050030 \n 32310E30 0C060355\ + \ 040A1305 43697363 6F312030 1E060355 04031317 43697363 \n 6F204C69 63656E73\ + \ 696E6720 526F6F74 20434130 1E170D31 33303533 30313934 \n 3834375A 170D3338\ + \ 30353330 31393438 34375A30 32310E30 0C060355 040A1305 \n 43697363 6F312030\ + \ 1E060355 04031317 43697363 6F204C69 63656E73 696E6720 \n 526F6F74 20434130\ + \ 82012230 0D06092A 864886F7 0D010101 05000382 010F0030 \n 82010A02 82010100\ + \ A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D \n CBB4C798 212AA147\ + \ C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520 \n 1C394D78 462EF239\ + \ C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE \n 4AA4E80D DB6FD1C9\ + \ 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC \n 7390A3EB 2B5436AD\ + \ C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188 \n 68E69491 20F320E7\ + \ 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7 \n C7479096 B4CB2D62\ + \ EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191 \n C55F0D76 61F9A4CD\ + \ 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44 \n DFC7C6CF 04DD7FD1\ + \ 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201 \n 06300F06 03551D13\ + \ 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85 \n 4B3D31E5 1B3E6A17\ + \ 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500 \n 03820101 00507F24\ + \ D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905 \n 604EDCDE FF4FED2B\ + \ 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B \n D98987BF E40CBD9E\ + \ 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8 \n 467A3DF4 4D565700\ + \ 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C \n 7CA7B7E6 C1AF74F6\ + \ 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B \n 5FB0DA06 B92AFE7F\ + \ 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678 \n 80DDCD16 D6BACECA\ + \ EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB \n 418616A9 4093E049\ + \ 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0 \n D697DF7F 28\n\ + \ \tquit\ncrypto pki certificate chain TP-self-signed-422690288\n certificate\ + \ self-signed 01\n 3082032E 30820216 A0030201 02020101 300D0609 2A864886\ + \ F70D0101 05050030 \n 30312E30 2C060355 04031325 494F532D 53656C66 2D536967\ + \ 6E65642D 43657274 \n 69666963 6174652D 34323236 39303238 38301E17 0D323130\ + \ 34323131 34343231 \n 385A170D 33303031 30313030 30303030 5A303031 2E302C06\ + \ 03550403 1325494F \n 532D5365 6C662D53 69676E65 642D4365 72746966 69636174\ + \ 652D3432 32363930 \n 32383830 82012230 0D06092A 864886F7 0D010101 05000382\ + \ 010F0030 82010A02 \n 82010100 C27FD6F3 1166295D F49633D3 51450DE6 F9BFCF2F\ + \ 7D3AACC7 3B5ED6B2 \n 3F68308B 39990E36 EBD37E75 A4BEC830 3B2A690B 13830C49\ + \ 2B25D19A E2B96F77 \n BE553C56 EED3B3BB 6584D3BB B1765477 02E693D1 C2316AE4\ + \ 4EE23F38 E346D59F \n D7949E95 C48D9020 FD03136D 57FA5A92 9B8A57CE D455621E\ + \ A72B3D2C AAD3EB8B \n 65CF62D5 C18B005B CA85EAB2 60DAE050 866B4C85 BDBEF084\ + \ 0AA4560F C19B8AA5 \n 287090B9 6B035146 F42C3A94 F2EE4DD5 5A81EEC1 704D5584\ + \ 77ADDBA7 4DF33581 \n CABC4B99 B0FB35E9 25DF1AB1 C898CD50 C859B551 EEEF4A3B\ + \ 703351E7 8094547B \n DB6AC6AC 066D8AAD 96AAF404 336424BB 07876BDD 56B0DEBA\ + \ 4CE59AEF 58F9E6EF \n 3F1B3887 02030100 01A35330 51300F06 03551D13 0101FF04\ + \ 05300301 01FF301F \n 0603551D 23041830 16801452 75C9AA75 B92C6980 AFFF95F7\ + \ 015BA9DB CF56EF30 \n 1D060355 1D0E0416 04145275 C9AA75B9 2C6980AF FF95F701\ + \ 5BA9DBCF 56EF300D \n 06092A86 4886F70D 01010505 00038201 01006446 20F1E71B\ + \ 02DEF574 3DF4B9FB \n 99B19BEE 8D6477EC 2EE1AFE3 91C70180 FC1FEF1A F2FE1F9E\ + \ AB737ED3 C972C60D \n C8380A9E D0574AB8 31979975 6FD63A5C 8F17CA6C 704BAF7E\ + \ AC43A6A7 D997061E \n 0E9081D4 DF926881 B9504FA9 68271F8A 30955768 880758AB\ + \ 87316676 2D784C1B \n 82AC49B0 65FA518C 6366EB81 9E18CA2A BD5AA903 044FCACE\ + \ 52743E2C 0B5A33B6 \n D3AFC41E CDAFAE40 A87F65DC DB249E60 D1359BC9 67B073E4\ + \ 130245D9 1A543A3B \n AF14FB7F 3B47E0C2 88E9D65D 0C0E3B62 2469BD7C A43B005E\ + \ 598E8E5F 81D29B80 \n C84271C9 67B6AE6E E6AB8AB9 83E94563 744FA7C3 CD1083F6\ + \ 602BC4F9 E45B35FF \n AA9708A3 1699473D BB6C73FF 52CC550B F2E5\n \tquit\n\ + !\nlicense udi pid CSR1000V sn 9MVVU09YZFH\ndiagnostic bootup level minimal\n\ + archive\n log config\n logging enable\n path bootflash:\nmemory free low-watermark\ \ processor 72329\n!\n!\nspanning-tree extend system-id\n!\nusername vrnetlab\ \ privilege 15 password 0 VR-netlab9\n!\nredundancy\n!\n!\n!\n!\n!\n!\n! \n\ !\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n! \n! \n!\n!\ninterface GigabitEthernet1\n\ @@ -1770,7 +1828,13 @@ localhost:21022:SystemTransport::0: - channel_output: configure replace flash:__SCRAPLI_CFG_SESSION_NAME__ force expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\nTotal number of passes: 0\nRollback Done\n\ncsr1000v#" + - channel_output: "\nTotal number of passes: 1\nRollback Done\n\ncsr1000v#" + expected_channel_input: show run | i file prompt + expected_channel_input_redacted: false + - channel_output: show run | i file prompt + expected_channel_input: "\n" + expected_channel_input_redacted: false + - channel_output: "\ncsr1000v#" expected_channel_input: copy running-config startup-config expected_channel_input_redacted: false - channel_output: copy running-config startup-config diff --git a/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-telnet].yaml b/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-telnet].yaml index 0772cae..f0da11e 100644 --- a/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-telnet].yaml +++ b/tests/integration/platform/scrapli_replay_sessions/test_load_config_replace_diff_and_commit[cisco_iosxe-telnet].yaml @@ -10,7 +10,7 @@ localhost:21023:TelnetTransport::0: transport: telnet auth_secondary: true interactions: - - channel_output: "\n\nUser Access Verification\n\nUsername: " + - channel_output: "\nUser Access Verification\n\nUsername: " expected_channel_input: vrnetlab expected_channel_input_redacted: false - channel_output: '' @@ -85,7 +85,7 @@ localhost:21023:TelnetTransport::0: - channel_output: 'dir flash: | i bytes' expected_channel_input: "\n" expected_channel_input_redacted: false - - channel_output: "\n6286540800 bytes total (5485576192 bytes free)\ncsr1000v#" + - channel_output: "\n6286540800 bytes total (5484302336 bytes free)\ncsr1000v#" expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\ncsr1000v#" @@ -1695,7 +1695,7 @@ localhost:21023:TelnetTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nBuilding configuration...\n\nCurrent configuration : 4845\ - \ bytes\n!\n! Last configuration change at 18:49:53 UTC Tue Apr 20 2021 by\ + \ bytes\n!\n! Last configuration change at 15:11:21 UTC Thu Apr 22 2021 by\ \ vrnetlab\n!\nversion 16.12\nservice timestamps debug datetime msec\nservice\ \ timestamps log datetime msec\nservice call-home\nplatform qfp utilization\ \ monitor load 80\nplatform punt-keepalive disable-kernel-core\nplatform console\ @@ -1776,6 +1776,12 @@ localhost:21023:TelnetTransport::0: expected_channel_input: "\n" expected_channel_input_redacted: false - channel_output: "\nTotal number of passes: 0\nRollback Done\n\ncsr1000v#" + expected_channel_input: show run | i file prompt + expected_channel_input_redacted: false + - channel_output: show run | i file prompt + expected_channel_input: "\n" + expected_channel_input_redacted: false + - channel_output: "\ncsr1000v#" expected_channel_input: copy running-config startup-config expected_channel_input_redacted: false - channel_output: copy running-config startup-config