summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-08-23 11:33:20 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-08-23 11:33:20 +0000
commit9b3cdfb96af98d479cb804c69baa68c1ad50b48f (patch)
tree581875a836863553a9f7b8ba31a1b1da622a74fe /op-mode-definitions
parentf60d0e1ce029925b843f635b36154c90049b9577 (diff)
downloadvyos-1x-9b3cdfb96af98d479cb804c69baa68c1ad50b48f.tar.gz
vyos-1x-9b3cdfb96af98d479cb804c69baa68c1ad50b48f.zip
conntrack: T4623: Add conntrack statistics for op-mode
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-conntrack.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-conntrack.xml.in b/op-mode-definitions/show-conntrack.xml.in
index 8d921e6a5..4cdcffcdb 100644
--- a/op-mode-definitions/show-conntrack.xml.in
+++ b/op-mode-definitions/show-conntrack.xml.in
@@ -7,6 +7,12 @@
<help>Show conntrack tables entries</help>
</properties>
<children>
+ <node name="statistics">
+ <properties>
+ <help>Show conntrack statistics</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/conntrack.py show_statistics</command>
+ </node>
<node name="table">
<properties>
<help>Show conntrack entries for table</help>