From bed2cf512af352b9aabc4480e9b5bfe1d9934b34 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 26 Jun 2021 08:39:59 +0200 Subject: op-mode: add "show version" tree (cherry picked from commit fd22f8d53720ed35df5e982acc7fd9bd9c3fe99c) --- docs/operation/information.rst | 57 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) (limited to 'docs/operation') diff --git a/docs/operation/information.rst b/docs/operation/information.rst index ec2506cb..4070bcf5 100644 --- a/docs/operation/information.rst +++ b/docs/operation/information.rst @@ -94,3 +94,60 @@ For additional details you can refer to https://phabricator.vyos.net/T2490. usb0b2.4p1.1 Quad_RS232-HS Future Technology Devices International, Ltd usb0b2.4p1.2 Quad_RS232-HS Future Technology Devices International, Ltd usb0b2.4p1.3 Quad_RS232-HS Future Technology Devices International, Ltd + +.. _information_version: + +######## +Version +######## + +.. opcmd:: show version + + Return the current running VyOS version and build information. This includes + also the name of the release train which is ``crux`` on VyOS 1.2, ``equuleus`` + on VyOS 1.3 and ``sagitta`` on VyOS 1.4. + + .. code-block:: none + + vyos@vyos:~$ show version + + Version: VyOS 1.3.0-rc4 + Release Train: equuleus + + Built by: Sentrium S.L. + Built on: Mon 19 Apr 2021 08:28 UTC + Build UUID: 8d9996d2-511e-4dea-be4f-cd4515c404f3 + Build Commit ID: 2aac286ccfe594 + + Architecture: x86_64 + Boot via: installed image + System type: VMware guest + + Hardware vendor: VMware, Inc. + Hardware model: VMware Virtual Platform + Hardware S/N: VMware-42 33 79 fe 73 64 2d 62-d5 62 ab 99 5a 3e d9 6d + Hardware UUID: fe793342-6473-622d-d562-ab995a3ed96d + + Copyright: VyOS maintainers and contributors + +.. opcmd:: show version kernel + + Return version number of the Linux Kernel used in this release. + + .. code-block:: none + + vyos@vyos:~$ show version kernel + 5.4.128-amd64-vyos + +.. opcmd:: show version frr + + Return version number of FRR (Free Range Routing - https://frrouting.org/) + used in this release. This is the routing control plane and a successor to GNU + Zebra and Quagga. + + .. code-block:: none + + vyos@vyos:~$ show version frr + FRRouting 7.5.1-20210625-00-gf07d935a2 (vyos). + Copyright 1996-2005 Kunihiro Ishiguro, et al. + -- cgit v1.2.3 From d6f43313133b5532e6da5495812bf757722343ff Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 27 Jun 2021 12:34:14 +0200 Subject: version: update "show version" numbers to match 1.4 development cycle --- docs/operation/information.rst | 40 +++++++++++++++++++--------------------- 1 file changed, 19 insertions(+), 21 deletions(-) (limited to 'docs/operation') diff --git a/docs/operation/information.rst b/docs/operation/information.rst index 4070bcf5..f9e1f7d6 100644 --- a/docs/operation/information.rst +++ b/docs/operation/information.rst @@ -109,26 +109,24 @@ Version .. code-block:: none - vyos@vyos:~$ show version - - Version: VyOS 1.3.0-rc4 - Release Train: equuleus - - Built by: Sentrium S.L. - Built on: Mon 19 Apr 2021 08:28 UTC - Build UUID: 8d9996d2-511e-4dea-be4f-cd4515c404f3 - Build Commit ID: 2aac286ccfe594 - - Architecture: x86_64 - Boot via: installed image - System type: VMware guest - - Hardware vendor: VMware, Inc. - Hardware model: VMware Virtual Platform - Hardware S/N: VMware-42 33 79 fe 73 64 2d 62-d5 62 ab 99 5a 3e d9 6d - Hardware UUID: fe793342-6473-622d-d562-ab995a3ed96d - - Copyright: VyOS maintainers and contributors + Version: VyOS 1.4-rolling-202106270801 + Release Train: sagitta + + Built by: autobuild@vyos.net + Built on: Sun 27 Jun 2021 09:50 UTC + Build UUID: ab43e735-edcb-405a-9f51-f16a1b104e52 + Build Commit ID: f544d75eab758f + + Architecture: x86_64 + Boot via: installed image + System type: KVM guest + + Hardware vendor: QEMU + Hardware model: Standard PC (i440FX + PIIX, 1996) + Hardware S/N: + Hardware UUID: Unknown + + Copyright: VyOS maintainers and contributors .. opcmd:: show version kernel @@ -137,7 +135,7 @@ Version .. code-block:: none vyos@vyos:~$ show version kernel - 5.4.128-amd64-vyos + 5.10.46-amd64-vyos .. opcmd:: show version frr -- cgit v1.2.3 From 477a4c488ccdbdb8a4e01dadf2fa0038991a6fa6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 27 Jun 2021 12:35:23 +0200 Subject: version: fix "show version" indention --- docs/operation/information.rst | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'docs/operation') diff --git a/docs/operation/information.rst b/docs/operation/information.rst index f9e1f7d6..fea85feb 100644 --- a/docs/operation/information.rst +++ b/docs/operation/information.rst @@ -108,25 +108,27 @@ Version on VyOS 1.3 and ``sagitta`` on VyOS 1.4. .. code-block:: none + + vyos@vyos:~$ show version - Version: VyOS 1.4-rolling-202106270801 - Release Train: sagitta - - Built by: autobuild@vyos.net - Built on: Sun 27 Jun 2021 09:50 UTC - Build UUID: ab43e735-edcb-405a-9f51-f16a1b104e52 - Build Commit ID: f544d75eab758f - - Architecture: x86_64 - Boot via: installed image - System type: KVM guest - - Hardware vendor: QEMU - Hardware model: Standard PC (i440FX + PIIX, 1996) - Hardware S/N: - Hardware UUID: Unknown - - Copyright: VyOS maintainers and contributors + Version: VyOS 1.4-rolling-202106270801 + Release Train: sagitta + + Built by: autobuild@vyos.net + Built on: Sun 27 Jun 2021 09:50 UTC + Build UUID: ab43e735-edcb-405a-9f51-f16a1b104e52 + Build Commit ID: f544d75eab758f + + Architecture: x86_64 + Boot via: installed image + System type: KVM guest + + Hardware vendor: QEMU + Hardware model: Standard PC (i440FX + PIIX, 1996) + Hardware S/N: + Hardware UUID: Unknown + + Copyright: VyOS maintainers and contributors .. opcmd:: show version kernel -- cgit v1.2.3