From 4dc5d78eed411c7584265ee33cf1848fdf6492bc Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Fri, 22 Jul 2022 12:14:29 +0000 Subject: conntrack: T4145: Modify conntrack to format command runner Change op-mode "show conntrack table ipvX" script to work with vyos.opmode module Change name "show_conntrack.py" => "conntrack.py" Ability to get IPv6 conntrack information Ability to get raw and formatted data --- op-mode-definitions/show-conntrack.xml.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/show-conntrack.xml.in b/op-mode-definitions/show-conntrack.xml.in index 792623d7d..8d921e6a5 100644 --- a/op-mode-definitions/show-conntrack.xml.in +++ b/op-mode-definitions/show-conntrack.xml.in @@ -16,7 +16,13 @@ Show conntrack entries for IPv4 protocol - sudo ${vyos_op_scripts_dir}/show_conntrack.py + sudo ${vyos_op_scripts_dir}/conntrack.py show --family inet + + + + Show conntrack entries for IPv6 protocol + + sudo ${vyos_op_scripts_dir}/conntrack.py show --family inet6 -- cgit v1.2.3