summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-24 19:24:01 +0200
committerGitHub <noreply@github.com>2022-08-24 19:24:01 +0200
commita87e4fcc351295fb27fb781b042fc6f798e5cd0e (patch)
tree1c28a5ddfdf09c2161b84fb9a96dafd92935b984 /op-mode-definitions
parentdd2855ceb243b78d197227cff928a6af85676dec (diff)
parent9b3cdfb96af98d479cb804c69baa68c1ad50b48f (diff)
downloadvyos-1x-a87e4fcc351295fb27fb781b042fc6f798e5cd0e.tar.gz
vyos-1x-a87e4fcc351295fb27fb781b042fc6f798e5cd0e.zip
Merge pull request #1489 from sever-sever/T4623
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>