diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-24 10:17:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-24 10:17:46 +0100 |
commit | 5f1935ee2b2aa1204ca0c1d0b3670f5a6a2aa5b1 (patch) | |
tree | 5744dfef2e6c916aa173adf5c451d74cdb2abf9b /op-mode-definitions | |
parent | eacc2f5e0210525b5ccd34c936f17d3715b90cd5 (diff) | |
parent | e317ea90437434d1a5b37ad9a9e958931b5154c4 (diff) | |
download | vyos-1x-5f1935ee2b2aa1204ca0c1d0b3670f5a6a2aa5b1.tar.gz vyos-1x-5f1935ee2b2aa1204ca0c1d0b3670f5a6a2aa5b1.zip |
Merge pull request #1120 from sever-sever/T3854-eq
conntrack-sync: T3854: Add missed statistics for op-mode
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/conntrack-sync.xml.in | 12 |
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> |