summaryrefslogtreecommitdiff
path: root/data/templates/conntrackd
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-06-12 17:56:52 +0300
committerNataliia Solomko <natalirs1985@gmail.com>2024-06-12 18:18:19 +0300
commit6a00d7fcaab120912963059bb36513fc82322c0a (patch)
tree5b888ec3e62eb4d685a10caac02235159a117e0b /data/templates/conntrackd
parent03d8c16a12d182a2fb2ab9f7acec5d8cb83937ba (diff)
downloadvyos-1x-6a00d7fcaab120912963059bb36513fc82322c0a.tar.gz
vyos-1x-6a00d7fcaab120912963059bb36513fc82322c0a.zip
op_mode: T6227: Rewrite show conntrack-sync cache internal to use tabulate output
Diffstat (limited to 'data/templates/conntrackd')
-rw-r--r--data/templates/conntrackd/conntrackd.op-mode.j213
1 files changed, 0 insertions, 13 deletions
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 %}