diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-12-23 17:43:01 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-12-23 17:43:01 +0000 |
commit | deda99075e86655c5e65c04c6cfe6a1715dcd90f (patch) | |
tree | 3fc9e14cb93700741c501805fa074dabd218d4d1 /op-mode-definitions | |
parent | 07ccea8c761f664ead251b14c5a448755aa836ca (diff) | |
download | vyos-1x-deda99075e86655c5e65c04c6cfe6a1715dcd90f.tar.gz vyos-1x-deda99075e86655c5e65c04c6cfe6a1715dcd90f.zip |
conntrack-sync: T3854: Add missed statistics for op-mode
After rewriting conntrack-sync to XML/python part of op-mode
parameters was missed
Add "status" and "statistics" for conntrack-sync
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> |