summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-23 22:13:30 +0100
committerGitHub <noreply@github.com>2021-12-23 22:13:30 +0100
commit6f637b05adf1c4c677f3b57cf52f11b52c42a366 (patch)
tree3fc9e14cb93700741c501805fa074dabd218d4d1 /op-mode-definitions
parent07ccea8c761f664ead251b14c5a448755aa836ca (diff)
parentdeda99075e86655c5e65c04c6cfe6a1715dcd90f (diff)
downloadvyos-1x-6f637b05adf1c4c677f3b57cf52f11b52c42a366.tar.gz
vyos-1x-6f637b05adf1c4c677f3b57cf52f11b52c42a366.zip
Merge pull request #1119 from sever-sever/T3854
conntrack-sync: T3854: Add missed statistics for op-mode
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/conntrack-sync.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/conntrack-sync.xml.in b/op-mode-definitions/conntrack-sync.xml.in
index 41a71b04a..3e29ecd39 100644
--- a/op-mode-definitions/conntrack-sync.xml.in
+++ b/op-mode-definitions/conntrack-sync.xml.in
@@ -87,6 +87,18 @@
</node>
</children>
</node>
+ <leafNode name="statistics">
+ <properties>
+ <help>Show connection syncing statistics</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/conntrack_sync.py --show-statistics</command>
+ </leafNode>
+ <leafNode name="status">
+ <properties>
+ <help>Show conntrack-sync status</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/conntrack_sync.py --show-status</command>
+ </leafNode>
</children>
</node>
</children>