Page MenuHomeVyOS Platform

Missing op-mode commands for conntrack-sync
Closed, ResolvedPublicBUG

Description

It seems some of the statistics and status op-mode commands haven't yet been ported with the xml/python implementation.

1.2:

vyos@crux-test:~$ show conntrack-sync
Possible completions:
  external-cache
                Show connection syncing external cache entries
  internal-cache
                Show connection syncing internal cache entries
  statistics    Show connection syncing statistics
  status        Show conntrack-sync status

1.3-rc6 / 1.4:

vyos@equu-test:~$ show conntrack-sync
Possible completions:
  cache         Show connection tracking cache entries

Details

Difficulty level
Normal (likely a few hours)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Related Objects

Mentioned In
1.3.3
1.3.1

Event Timeline

Viacheslav changed the task status from Open to In progress.Dec 23 2021, 12:27 PM
Viacheslav changed the subtype of this task from "Task" to "Bug".
Viacheslav changed Difficulty level from Unknown (require assessment) to Normal (likely a few hours).
Viacheslav changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

PR https://github.com/vyos/vyos-1x/pull/1119

vyos@r11-roll:~$ show conntrack-sync status

sync-interface        : eth0, eth1
failover-mechanism    : vrrp [sync-group SGR]
last state transition : MASTER at Thu 23 Dec 2021 06:02:00 PM EET
ExpectationSync       : ftp, nfs, sip
vyos@r11-roll:~$ 


vyos@r11-roll:~$ show conntrack-sync statistics 

Main Table Statistics:

cache internal:
current active connections:                6
connections created:                      17    failed:            0
connections updated:                       0    failed:            0
connections destroyed:                    11    failed:            0

cache external:
current active connections:                0
connections created:                       0    failed:            0
connections updated:                       0    failed:            0
connections destroyed:                     0    failed:            0

traffic processed:
                   0 Bytes                         0 Pckts