From 4e1a5c7cf4213fd5617e387a2d4a6d1e9a475c54 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Fri, 2 Jul 2021 13:43:27 +0000 Subject: conntrack-sync: T3535: Rewrite conf and op modes to XML python style --- op-mode-definitions/conntrack-sync.xml.in | 94 +++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 op-mode-definitions/conntrack-sync.xml.in (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/conntrack-sync.xml.in b/op-mode-definitions/conntrack-sync.xml.in new file mode 100644 index 000000000..41a71b04a --- /dev/null +++ b/op-mode-definitions/conntrack-sync.xml.in @@ -0,0 +1,94 @@ + + + + + + + Reset connection syncing parameters + + + + + Reset external cache and request resync with other systems + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --reset-cache-external + + + + Reset internal cache and request resync with other systems + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --reset-cache-internal + + + + + + + + + + Restart connection tracking synchronization service + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --restart + + + + + + + + Show connection tracking synchronization information + + + + + Show connection tracking cache entries + + + + + Show external connection tracking cache entries + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --show-external; ${vyos_op_scripts_dir}/conntrack_sync.py --show-external-expect + + + + Show external main connection tracking cache entries + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --show-external + + + + Show external expect connection tracking cache entries + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --show-external-expect + + + + + + Show internal connection tracking cache entries + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --show-internal; ${vyos_op_scripts_dir}/conntrack_sync.py --show-internal-expect + + + + Show internal main connection tracking cache entries + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --show-internal + + + + Show internal expect connection tracking cache entries + + sudo ${vyos_op_scripts_dir}/conntrack_sync.py --show-internal-expect + + + + + + + + + + -- cgit v1.2.3