summaryrefslogtreecommitdiff
path: root/docs/configexamples/autotest
diff options
context:
space:
mode:
authorrebortg <github@ghlr.de>2021-11-23 15:15:46 +0100
committerrebortg <github@ghlr.de>2021-11-23 15:20:55 +0100
commitf7b3955074cbd86078f3f71084b7f8a3277417e0 (patch)
tree745b6b53e0894c01c40799f2d60dd6c4323eab5f /docs/configexamples/autotest
parente00983b1949ee27c90c0bd08d813d397497c6356 (diff)
downloadvyos-documentation-f7b3955074cbd86078f3f71084b7f8a3277417e0.tar.gz
vyos-documentation-f7b3955074cbd86078f3f71084b7f8a3277417e0.zip
blueprint: add autotest section
Diffstat (limited to 'docs/configexamples/autotest')
-rw-r--r--docs/configexamples/autotest/Wireguard/Wireguard.log451
-rw-r--r--docs/configexamples/autotest/Wireguard/Wireguard.rst98
-rw-r--r--docs/configexamples/autotest/Wireguard/_include/branch.conf13
-rw-r--r--docs/configexamples/autotest/Wireguard/_include/central.conf13
-rw-r--r--docs/configexamples/autotest/Wireguard/_include/topology.pngbin0 -> 158227 bytes
5 files changed, 575 insertions, 0 deletions
diff --git a/docs/configexamples/autotest/Wireguard/Wireguard.log b/docs/configexamples/autotest/Wireguard/Wireguard.log
new file mode 100644
index 00000000..f59a86be
--- /dev/null
+++ b/docs/configexamples/autotest/Wireguard/Wireguard.log
@@ -0,0 +1,451 @@
+2021-11-23 15:10:43,829 p=3983 u=rob n=ansible | PLAY [prepare node and Lab] **************************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:43,844 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : fail] *********************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:43,864 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:43,865 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:43,866 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:43,869 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:43,871 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : fail] *********************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:43,884 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:43,889 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:43,891 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:43,894 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:43,896 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie] *******************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:43,914 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:43,915 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:43,919 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:44,957 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:44,962 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : get template facts] *******************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:44,994 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:44,996 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:45,001 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:45,552 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:45,558 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Register path status] *****************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:45,591 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:45,591 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:45,597 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:45,999 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:46,003 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : create path] **************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,023 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,031 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,032 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,039 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,042 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Download iso] *************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,056 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,062 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,065 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,069 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,073 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : create virtioa.qcow2 file] ************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,086 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,092 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,095 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,097 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,100 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie] *******************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,112 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,117 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,119 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,123 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,126 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : create lab for node install] **********************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,138 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,144 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,146 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,149 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,151 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : open lab] *****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,164 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,169 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,171 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,175 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,178 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : set_fact] *****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,190 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,196 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,198 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,201 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,203 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : add node to lab] **********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,216 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,221 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,222 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,226 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,228 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : start node] ***************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,240 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,245 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,247 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,250 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,252 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : get node infos] ***********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,265 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,270 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,272 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,275 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,277 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : set_fact] *****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,291 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,298 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,299 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,303 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,307 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : copy file] ****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,319 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,324 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,327 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,330 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,332 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : run expect script] ********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,344 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,349 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,351 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,356 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,358 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Login to EVE-NG and get Cookie (due timeout)] *****************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,372 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,378 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,380 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,382 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,385 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : stop node] ****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,397 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,403 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,405 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,408 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,411 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : Pause to wait node is shutdown] *******************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,419 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,421 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : delete iso] ***************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,433 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,439 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,441 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,445 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,447 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : commit virtioa.qcow2] *****************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,460 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,466 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,468 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,470 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,472 p=3983 u=rob n=ansible | TASK [eve-ng-create-node : delete lab for node install] **********************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,484 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,490 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,492 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,496 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,502 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : fail] ************************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,515 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:46,521 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,523 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,526 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:46,528 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] **********************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:46,548 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:46,549 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:46,554 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:47,231 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:47,236 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : get running lab list] ********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:47,263 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:47,265 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:47,270 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:47,803 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:47,807 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : delte existing lab] **********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:47,832 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:47,834 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:47,838 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:48,479 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:48,487 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Ensure labtest is present] ***************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:48,516 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:48,518 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:48,524 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:48,916 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:48,922 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Create Wireguard Lab] ********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:48,947 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:48,948 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:48,952 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:49,816 p=3983 u=rob n=ansible | changed: [eveng]
+2021-11-23 15:10:49,821 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] **********************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:49,846 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:49,848 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:49,854 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:50,540 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:50,546 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : start vyos-oobm] *************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:50,579 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:10:50,579 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:50,583 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:10:51,633 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:10:51,640 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos-oobm] **********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:10:51,661 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:10:51,670 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:10:51,676 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:11:28,054 p=3983 u=rob n=ansible | ok: [vyos-oobm]
+2021-11-23 15:11:28,061 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Login to EVE-NG and get Cookie] **********************************************************************************************************************************************************************************************************************
+2021-11-23 15:11:28,092 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:11:28,093 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:11:28,099 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:11:28,809 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:11:28,815 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : get lab status] **************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:11:28,844 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:11:28,844 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:11:28,850 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:11:29,381 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:11:29,387 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : start all nodes] *************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:11:29,416 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:11:29,418 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:11:29,424 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:11:29,962 p=3983 u=rob n=ansible | ok: [eveng] => (item=1)
+2021-11-23 15:11:30,968 p=3983 u=rob n=ansible | ok: [eveng] => (item=4)
+2021-11-23 15:11:32,027 p=3983 u=rob n=ansible | ok: [eveng] => (item=6)
+2021-11-23 15:11:32,943 p=3983 u=rob n=ansible | ok: [eveng] => (item=2)
+2021-11-23 15:11:33,950 p=3983 u=rob n=ansible | ok: [eveng] => (item=3)
+2021-11-23 15:11:33,958 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos nodes] *********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:11:33,976 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:11:33,984 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:11:34,907 p=4468 u=rob n=ansible | network_os is set to vyos
+2021-11-23 15:11:34,907 p=4467 u=rob n=ansible | network_os is set to vyos
+2021-11-23 15:11:49,934 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner
+2021-11-23 15:11:49,936 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner
+2021-11-23 15:11:49,937 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Traceback (most recent call last):
+2021-11-23 15:11:49,937 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last):
+2021-11-23 15:11:49,937 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner
+2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner
+2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout)
+2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout)
+2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
+2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
+2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | buf += self._read_timeout(timeout)
+2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf += self._read_timeout(timeout)
+2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout
+2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout
+2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | raise socket.timeout()
+2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise socket.timeout()
+2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | socket.timeout
+2021-11-23 15:11:49,938 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | socket.timeout
+2021-11-23 15:11:49,938 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] |
+2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred:
+2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | During handling of the above exception, another exception occurred:
+2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] |
+2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Traceback (most recent call last):
+2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last):
+2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run
+2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run
+2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | self._check_banner()
+2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | self._check_banner()
+2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner
+2021-11-23 15:11:49,939 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner
+2021-11-23 15:11:49,939 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | raise SSHException(
+2021-11-23 15:11:49,940 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise SSHException(
+2021-11-23 15:11:49,940 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
+2021-11-23 15:11:49,940 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
+2021-11-23 15:11:49,940 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] |
+2021-11-23 15:11:49,940 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:12:05,971 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner
+2021-11-23 15:12:05,971 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Exception: Error reading SSH protocol banner
+2021-11-23 15:12:05,972 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last):
+2021-11-23 15:12:05,972 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Traceback (most recent call last):
+2021-11-23 15:12:05,972 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner
+2021-11-23 15:12:05,972 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner
+2021-11-23 15:12:05,972 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout)
+2021-11-23 15:12:05,972 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | buf = self.packetizer.readline(timeout)
+2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
+2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
+2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf += self._read_timeout(timeout)
+2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | buf += self._read_timeout(timeout)
+2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout
+2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout
+2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise socket.timeout()
+2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | raise socket.timeout()
+2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | socket.timeout
+2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | socket.timeout
+2021-11-23 15:12:05,973 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:12:05,973 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] |
+2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | During handling of the above exception, another exception occurred:
+2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | During handling of the above exception, another exception occurred:
+2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] |
+2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last):
+2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Traceback (most recent call last):
+2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run
+2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run
+2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | self._check_banner()
+2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | self._check_banner()
+2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner
+2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner
+2021-11-23 15:12:05,974 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise SSHException(
+2021-11-23 15:12:05,974 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | raise SSHException(
+2021-11-23 15:12:05,975 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
+2021-11-23 15:12:05,975 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
+2021-11-23 15:12:05,975 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:12:05,975 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] |
+2021-11-23 15:12:08,410 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1)
+2021-11-23 15:12:08,477 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n'
+2021-11-23 15:12:08,478 p=4468 u=rob n=p=4468 u=rob | paramiko [branch] | Authentication (publickey) successful!
+2021-11-23 15:12:09,219 p=3983 u=rob n=ansible | ok: [branch]
+2021-11-23 15:12:22,012 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Exception: Error reading SSH protocol banner
+2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last):
+2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2211, in _check_banner
+2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf = self.packetizer.readline(timeout)
+2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
+2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | buf += self._read_timeout(timeout)
+2021-11-23 15:12:22,013 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/packet.py", line 622, in _read_timeout
+2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise socket.timeout()
+2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | socket.timeout
+2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | During handling of the above exception, another exception occurred:
+2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Traceback (most recent call last):
+2021-11-23 15:12:22,014 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2039, in run
+2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | self._check_banner()
+2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | File "/Users/rob/.local/share/virtualenvs/vyos-eveng-b9X2mBdh/lib/python3.9/site-packages/paramiko/transport.py", line 2215, in _check_banner
+2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | raise SSHException(
+2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
+2021-11-23 15:12:22,015 p=4467 u=rob n=p=4467 u=rob | paramiko [central] |
+2021-11-23 15:12:23,497 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1)
+2021-11-23 15:12:23,597 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n'
+2021-11-23 15:12:23,598 p=4467 u=rob n=p=4467 u=rob | paramiko [central] | Authentication (publickey) successful!
+2021-11-23 15:12:24,468 p=3983 u=rob n=ansible | ok: [central]
+2021-11-23 15:12:24,470 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : include Wireguard lab_config.yml] ********************************************************************************************************************************************************************************************************************
+2021-11-23 15:12:24,485 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:12:24,492 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:12:24,504 p=3983 u=rob n=ansible | included: /Users/rob/git/_vyos/vyos-eveng/labs/Wireguard/lab_config.yml for central, branch
+2021-11-23 15:12:24,517 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : show wireguard keypairs pubkey default] **************************************************************************************************************************************************************************************************************
+2021-11-23 15:12:26,045 p=4476 u=rob n=p=4476 u=rob | paramiko [central] | Connected (version 2.0, client OpenSSH_7.9p1)
+2021-11-23 15:12:26,147 p=4476 u=rob n=p=4476 u=rob | paramiko [central] | Auth banner: b'Welcome to VyOS\n\n'
+2021-11-23 15:12:26,147 p=4476 u=rob n=p=4476 u=rob | paramiko [central] | Authentication (publickey) successful!
+2021-11-23 15:12:26,321 p=4475 u=rob n=p=4475 u=rob | paramiko [branch] | Connected (version 2.0, client OpenSSH_7.9p1)
+2021-11-23 15:12:26,420 p=4475 u=rob n=p=4475 u=rob | paramiko [branch] | Auth banner: b'Welcome to VyOS\n\n'
+2021-11-23 15:12:26,421 p=4475 u=rob n=p=4475 u=rob | paramiko [branch] | Authentication (publickey) successful!
+2021-11-23 15:12:27,752 p=3983 u=rob n=ansible | ok: [central]
+2021-11-23 15:12:28,014 p=3983 u=rob n=ansible | ok: [branch]
+2021-11-23 15:12:28,021 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : fail] ************************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:12:28,901 p=3983 u=rob n=ansible | fatal: [branch]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}
+2021-11-23 15:12:28,902 p=3983 u=rob n=ansible | fatal: [central]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}
+2021-11-23 15:12:28,913 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : generate wireguard default-keypair] ******************************************************************************************************************************************************************************************************************
+2021-11-23 15:12:30,280 p=3983 u=rob n=ansible | ok: [central]
+2021-11-23 15:12:30,281 p=3983 u=rob n=ansible | ok: [branch]
+2021-11-23 15:12:30,286 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : show wireguard keypairs pubkey default] **************************************************************************************************************************************************************************************************************
+2021-11-23 15:12:31,635 p=3983 u=rob n=ansible | ok: [central]
+2021-11-23 15:12:31,635 p=3983 u=rob n=ansible | ok: [branch]
+2021-11-23 15:12:31,651 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : setup nodes] *****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:12:39,514 p=3983 u=rob n=ansible | [WARNING]: To ensure idempotency and correct diff the input configuration lines should be similar to how they appear if present in the running configuration on device including the indentation
+
+2021-11-23 15:12:39,515 p=3983 u=rob n=ansible | changed: [branch]
+2021-11-23 15:12:39,555 p=3983 u=rob n=ansible | changed: [central]
+2021-11-23 15:12:39,557 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : wait, b/c the ping often failed without a short break] ***********************************************************************************************************************************************************************************************
+2021-11-23 15:12:39,565 p=4689 u=rob n=ansible | Pausing for 30 seconds
+2021-11-23 15:12:39,565 p=4689 u=rob n=ansible | (ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
+2021-11-23 15:13:09,571 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:13:09,580 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : do ping test] ****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:09,606 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:09,617 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:14,941 p=3983 u=rob n=ansible | ok: [central] => (item=10.0.2.100)
+2021-11-23 15:13:14,960 p=3983 u=rob n=ansible | ok: [branch] => (item=10.0.1.100)
+2021-11-23 15:13:14,963 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : execute test commands] *******************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:14,986 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:14,986 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:16,263 p=3983 u=rob n=ansible | ok: [central] => (item={'desc': 'Test if IP is set to interface', 'command': "ip -4 addr show dev eth2 | grep inet | tr -s ' ' | cut -d' ' -f3 | head -n 1", 'wait_for': ['result[0] contains "10.0.1.254/24"']})
+2021-11-23 15:13:16,490 p=3983 u=rob n=ansible | ok: [branch] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.2/24 u/u VPN-to-central"']})
+2021-11-23 15:13:16,734 p=3983 u=rob n=ansible | ok: [central] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.1/24 u/u VPN-to-Branch"']})
+2021-11-23 15:13:16,739 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : register stdout commands] ****************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:16,762 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:16,763 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:18,145 p=3983 u=rob n=ansible | ok: [branch] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'})
+2021-11-23 15:13:18,146 p=3983 u=rob n=ansible | ok: [central] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'})
+2021-11-23 15:13:21,501 p=3983 u=rob n=ansible | ok: [central] => (item={'name': 'ping_branch_pc', 'command': 'ping 10.0.2.100 count 4'})
+2021-11-23 15:13:21,506 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] ***************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:21,523 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:21,530 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,390 p=3983 u=rob n=ansible | ok: [central]
+2021-11-23 15:13:22,391 p=3983 u=rob n=ansible | ok: [branch]
+2021-11-23 15:13:22,407 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : make sure tmp dir exist] *****************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,438 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,447 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,449 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,454 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:22,459 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Download upgrade_iso] ********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,476 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,483 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,483 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,488 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:22,492 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Copy iso to host] ************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,505 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,512 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,513 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,517 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:22,519 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : upgrade vyos] ****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,532 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,538 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,540 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,543 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:22,545 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Reboot vyos] *****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,558 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,564 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,566 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,569 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:22,571 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : wait while shutdown] *********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,579 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,580 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Wait for vyos nodes] *********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,593 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,600 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,600 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,604 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:22,608 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : clear tmp dir] ***************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,615 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,617 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : wait, b/c the ping often failed without a short break] ***********************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,625 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,627 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : do ping test] ****************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,639 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,645 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,652 p=3983 u=rob n=ansible | skipping: [central] => (item=10.0.2.100)
+2021-11-23 15:13:22,657 p=3983 u=rob n=ansible | skipping: [branch] => (item=10.0.1.100)
+2021-11-23 15:13:22,660 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : execute test commands] *******************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,672 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,678 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,686 p=3983 u=rob n=ansible | skipping: [central] => (item={'desc': 'Test if IP is set to interface', 'command': "ip -4 addr show dev eth2 | grep inet | tr -s ' ' | cut -d' ' -f3 | head -n 1", 'wait_for': ['result[0] contains "10.0.1.254/24"']})
+2021-11-23 15:13:22,686 p=3983 u=rob n=ansible | skipping: [central] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.1/24 u/u VPN-to-Branch"']})
+2021-11-23 15:13:22,690 p=3983 u=rob n=ansible | skipping: [branch] => (item={'desc': 'show interfaces wireguard', 'command': 'show interfaces wireguard', 'wait_for': ['result[0] contains "S - State, L - Link, u - Up, D - Down, A - Admin Down"', 'result[0] contains "Interface IP Address S/L Description"', 'result[0] contains "--------- ---------- --- -----------"', 'result[0] contains "wg01 192.168.0.2/24 u/u VPN-to-central"']})
+2021-11-23 15:13:22,694 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : register stdout commands] ****************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,709 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,714 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,722 p=3983 u=rob n=ansible | skipping: [central] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'})
+2021-11-23 15:13:22,722 p=3983 u=rob n=ansible | skipping: [central] => (item={'name': 'ping_branch_pc', 'command': 'ping 10.0.2.100 count 4'})
+2021-11-23 15:13:22,726 p=3983 u=rob n=ansible | skipping: [branch] => (item={'name': 'show_interfaces_wireguard', 'command': 'show interfaces wireguard'})
+2021-11-23 15:13:22,729 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] ***************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,743 p=3983 u=rob n=ansible | skipping: [eveng]
+2021-11-23 15:13:22,749 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,750 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,753 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:22,757 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : make sure output dir exist] **************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,778 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,779 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,783 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:22,951 p=3983 u=rob n=ansible | changed: [eveng -> localhost]
+2021-11-23 15:13:22,954 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : make sure output include dir exist] ******************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:22,977 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:22,978 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:22,982 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:23,081 p=3983 u=rob n=ansible | changed: [eveng -> localhost]
+2021-11-23 15:13:23,083 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Get timestamp from the system] ***********************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:23,102 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:23,104 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:23,108 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:23,844 p=3983 u=rob n=ansible | changed: [eveng]
+2021-11-23 15:13:23,846 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : Set variables] ***************************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:23,859 p=3983 u=rob n=ansible | ok: [eveng]
+2021-11-23 15:13:23,866 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:23,868 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:23,872 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:23,876 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : generate lab rst file] *******************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:23,908 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:23,910 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:23,910 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:24,168 p=3983 u=rob n=ansible | changed: [eveng -> localhost]
+2021-11-23 15:13:24,171 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : find all *.conf files in Lab] ************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:24,196 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:24,199 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:24,202 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:24,373 p=3983 u=rob n=ansible | ok: [eveng -> localhost]
+2021-11-23 15:13:24,382 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : copy all *.conf files] *******************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:24,408 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:24,410 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:24,415 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:24,627 p=3983 u=rob n=ansible | changed: [eveng -> localhost] => (item={'path': 'labs/Wireguard/branch.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 675, 'inode': 22590050, 'dev': 16777233, 'nlink': 1, 'atime': 1637094141.478437, 'mtime': 1637094140.231892, 'ctime': 1637094140.231892, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False})
+2021-11-23 15:13:24,863 p=3983 u=rob n=ansible | changed: [eveng -> localhost] => (item={'path': 'labs/Wireguard/central.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 668, 'inode': 22590049, 'dev': 16777233, 'nlink': 1, 'atime': 1637094137.349848, 'mtime': 1637094136.0909584, 'ctime': 1637094136.0909584, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False})
+2021-11-23 15:13:24,867 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : find all *.png files in Lab] *************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:24,891 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:24,892 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:24,896 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:25,010 p=3983 u=rob n=ansible | ok: [eveng -> localhost]
+2021-11-23 15:13:25,015 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : copy all *.png files] ********************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:25,039 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:25,040 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:25,046 p=3983 u=rob n=ansible | skipping: [branch]
+2021-11-23 15:13:25,253 p=3983 u=rob n=ansible | changed: [eveng -> localhost] => (item={'path': 'labs/Wireguard/topology.png', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 501, 'gid': 20, 'size': 158227, 'inode': 31651192, 'dev': 16777233, 'nlink': 1, 'atime': 1637092176.426343, 'mtime': 1637092135.8691404, 'ctime': 1637092174.4312608, 'gr_name': 'staff', 'pw_name': 'rob', 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False})
+2021-11-23 15:13:25,257 p=3983 u=rob n=ansible | TASK [eve-ng-lab-test : copy ansible log files] ******************************************************************************************************************************************************************************************************************************
+2021-11-23 15:13:25,281 p=3983 u=rob n=ansible | skipping: [vyos-oobm]
+2021-11-23 15:13:25,281 p=3983 u=rob n=ansible | skipping: [central]
+2021-11-23 15:13:25,286 p=3983 u=rob n=ansible | skipping: [branch]
diff --git a/docs/configexamples/autotest/Wireguard/Wireguard.rst b/docs/configexamples/autotest/Wireguard/Wireguard.rst
new file mode 100644
index 00000000..ce5a493f
--- /dev/null
+++ b/docs/configexamples/autotest/Wireguard/Wireguard.rst
@@ -0,0 +1,98 @@
+#########
+Wireguard
+#########
+
+
+| Testdate: 2021-11-23
+| Version: 1.4-rolling-202106170808
+
+
+This simple structure show how to connect two offices. One remote branch and the
+central office.
+
+********
+Topology
+********
+
+The topology have a central and a branch VyOS router and one client, to
+test, in each site.
+
+.. image:: _include/topology.png
+ :alt: Ansible Example topology image
+
+*************
+Configuration
+*************
+
+Set the local subnet on eth2 and the public ip address eth1 on each site.
+
+Central
+
+.. literalinclude:: _include/central.conf
+ :language: none
+ :lines: 1-2
+
+Branch
+
+.. literalinclude:: _include/branch.conf
+ :language: none
+ :lines: 1-2
+
+
+Next thing to do, is to create a wireguard keypair on each side.
+After this, the public key can be displayed, to save for later.
+
+.. code-block:: none
+
+ vyos@central:~$ generate wireguard default-keypair
+ vyos@central:~$ show wireguard keypairs pubkey default
+ +mLLOGxR37k3EsWba7+G7vIDq6yW4t0s549rNVShWy4=
+
+
+After you have each public key. The wireguard interfaces can be setup.
+
+
+Central
+
+.. literalinclude:: _include/central.conf
+ :language: none
+ :lines: 4-11
+
+Branch
+
+.. literalinclude:: _include/branch.conf
+ :language: none
+ :lines: 4-11
+
+
+
+*********************
+Testing and debugging
+*********************
+
+After all is done and commit, let's take a look if the Wireguard interface is
+up and running.
+
+.. code-block:: none
+
+ vyos@central:~$ show interfaces wireguard
+ Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
+ Interface IP Address S/L Description
+ --------- ---------- --- -----------
+ wg01 192.168.0.1/24 u/u VPN-to-Branch
+
+
+And ping the Branch PC from your central router to check the response.
+
+.. code-block:: none
+
+ vyos@central:~$ ping 10.0.2.100 count 4
+ PING 10.0.2.100 (10.0.2.100) 56(84) bytes of data.
+ 64 bytes from 10.0.2.100: icmp_seq=1 ttl=63 time=0.609 ms
+ 64 bytes from 10.0.2.100: icmp_seq=2 ttl=63 time=0.871 ms
+ 64 bytes from 10.0.2.100: icmp_seq=3 ttl=63 time=0.937 ms
+ 64 bytes from 10.0.2.100: icmp_seq=4 ttl=63 time=0.746 ms
+
+ --- 10.0.2.100 ping statistics ---
+ 4 packets transmitted, 4 received, 0% packet loss, time 4ms
+ rtt min/avg/max/mdev = 0.609/0.790/0.937/0.130 ms
diff --git a/docs/configexamples/autotest/Wireguard/_include/branch.conf b/docs/configexamples/autotest/Wireguard/_include/branch.conf
new file mode 100644
index 00000000..7c96df4b
--- /dev/null
+++ b/docs/configexamples/autotest/Wireguard/_include/branch.conf
@@ -0,0 +1,13 @@
+set interface ethernet eth2 address 10.0.2.254/24
+set interface ethernet eth1 address 198.51.100.2/24
+
+set interfaces wireguard wg01 address 192.168.0.2/24
+set interfaces wireguard wg01 description 'VPN-to-central'
+set interfaces wireguard wg01 peer central allowed-ips 10.0.1.0/24
+set interfaces wireguard wg01 peer central allowed-ips 192.168.0.0/24
+set interfaces wireguard wg01 peer central address 198.51.100.1
+set interfaces wireguard wg01 peer central port 51820
+set interfaces wireguard wg01 peer central pubkey "+mLLOGxR37k3EsWba7+G7vIDq6yW4t0s549rNVShWy4="
+set interfaces wireguard wg01 port 51820
+
+set protocols static route 10.0.1.0/24 interface wg01 \ No newline at end of file
diff --git a/docs/configexamples/autotest/Wireguard/_include/central.conf b/docs/configexamples/autotest/Wireguard/_include/central.conf
new file mode 100644
index 00000000..1414621b
--- /dev/null
+++ b/docs/configexamples/autotest/Wireguard/_include/central.conf
@@ -0,0 +1,13 @@
+set interface ethernet eth2 address 10.0.1.254/24
+set interface ethernet eth1 address 198.51.100.1/24
+
+set interfaces wireguard wg01 address 192.168.0.1/24
+set interfaces wireguard wg01 description 'VPN-to-Branch'
+set interfaces wireguard wg01 peer branch allowed-ips 10.0.2.0/24
+set interfaces wireguard wg01 peer branch allowed-ips 192.168.0.0/24
+set interfaces wireguard wg01 peer branch address 198.51.100.2
+set interfaces wireguard wg01 peer branch port 51820
+set interfaces wireguard wg01 peer branch pubkey "HF1LJSEgAtknAtkqK2d12DzfuPlx475Y+I4SpJiBWzs="
+set interfaces wireguard wg01 port 51820
+
+set protocols static route 10.0.2.0/24 interface wg01 \ No newline at end of file
diff --git a/docs/configexamples/autotest/Wireguard/_include/topology.png b/docs/configexamples/autotest/Wireguard/_include/topology.png
new file mode 100644
index 00000000..43c0018e
--- /dev/null
+++ b/docs/configexamples/autotest/Wireguard/_include/topology.png
Binary files differ