From 6a00d7fcaab120912963059bb36513fc82322c0a Mon Sep 17 00:00:00 2001 From: Nataliia Solomko Date: Wed, 12 Jun 2024 17:56:52 +0300 Subject: op_mode: T6227: Rewrite show conntrack-sync cache internal to use tabulate output --- data/templates/conntrackd/conntrackd.op-mode.j2 | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 data/templates/conntrackd/conntrackd.op-mode.j2 (limited to 'data') diff --git a/data/templates/conntrackd/conntrackd.op-mode.j2 b/data/templates/conntrackd/conntrackd.op-mode.j2 deleted file mode 100644 index 82f7e2859..000000000 --- a/data/templates/conntrackd/conntrackd.op-mode.j2 +++ /dev/null @@ -1,13 +0,0 @@ -Source Destination Protocol -{% for parsed in data if parsed.flow.meta is vyos_defined %} -{% for key in parsed.flow.meta %} -{% if key['@direction'] == 'original' %} -{% set saddr = key.layer3.src | bracketize_ipv6 %} -{% set sport = key.layer4.sport %} -{% set daddr = key.layer3.dst | bracketize_ipv6 %} -{% set dport = key.layer4.dport %} -{% set protocol = key.layer4['@protoname'] %} -{{ "%-48s" | format(saddr ~ ':' ~ sport) }} {{ "%-48s" | format(daddr ~ ':' ~ dport) }} {{ protocol }} -{% endif %} -{% endfor %} -{% endfor %} -- cgit v1.2.3