From b1bee9e29ed8f6464e14b577d79a23b5c128ac8a Mon Sep 17 00:00:00 2001 From: bbabich Date: Sat, 4 Nov 2023 22:23:17 +1100 Subject: op-mode: T5658: add VRF support for "monitor traceroute" (cherry picked from commit 07ecc0c33fb32878cac25ec84f2f3a977588f0dd) --- op-mode-definitions/monitor-traceroute.xml.in | 30 +++++++++++++++++++++++++++ op-mode-definitions/mtr.xml.in | 23 ++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 op-mode-definitions/monitor-traceroute.xml.in create mode 100644 op-mode-definitions/mtr.xml.in (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/monitor-traceroute.xml.in b/op-mode-definitions/monitor-traceroute.xml.in new file mode 100644 index 000000000..e6263b076 --- /dev/null +++ b/op-mode-definitions/monitor-traceroute.xml.in @@ -0,0 +1,30 @@ + + + + + Monitor route with mtr + + + + + Traceroute route with mtr + + <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> + + + ${vyos_op_scripts_dir}/mtr.py ${@:2} + + + + mtr options + + + + + ${vyos_op_scripts_dir}/mtr.py ${@:2} + + + + + + diff --git a/op-mode-definitions/mtr.xml.in b/op-mode-definitions/mtr.xml.in new file mode 100644 index 000000000..acc4ee29d --- /dev/null +++ b/op-mode-definitions/mtr.xml.in @@ -0,0 +1,23 @@ + + + + + Trace network path to node with mtr + + <hostname> <x.x.x.x> <h:h:h:h:h:h:h:h> + + + ${vyos_op_scripts_dir}/mtr.py ${@:2} + + + + Traceroute options + + + + + ${vyos_op_scripts_dir}/mtr.py ${@:2} + + + + -- cgit v1.2.3